Spaces:
Running
Running
Commit
·
4ffd7e0
1
Parent(s):
bf69cf6
Worse Prompts are broken too now
Browse files- model/analyzer.py +30 -14
model/analyzer.py
CHANGED
@@ -28,68 +28,84 @@ class ContentAnalyzer:
|
|
28 |
"mapped_name": "Violence",
|
29 |
"description": (
|
30 |
"Any act involving physical force or aggression intended to cause harm, injury, or death to a person, animal, or object. "
|
31 |
-
"Includes direct physical confrontations
|
|
|
32 |
)
|
33 |
},
|
34 |
"Death": {
|
35 |
"mapped_name": "Death References",
|
36 |
"description": (
|
37 |
-
|
38 |
-
"or abstract references to mortality. This covers depictions of funerals, mourning,
|
|
|
39 |
)
|
40 |
},
|
41 |
"Substance Use": {
|
42 |
"mapped_name": "Substance Use",
|
43 |
"description": (
|
44 |
"Any explicit or implied reference to the consumption, misuse, or abuse of drugs, alcohol, or other intoxicating substances. "
|
45 |
-
"Includes scenes of drinking, smoking, drug use, withdrawal symptoms,
|
|
|
46 |
)
|
47 |
},
|
48 |
"Gore": {
|
49 |
"mapped_name": "Gore",
|
50 |
"description": (
|
51 |
-
"Extremely detailed and graphic depictions of severe physical injuries, mutilation, or extreme bodily harm,
|
52 |
-
"
|
53 |
)
|
54 |
},
|
55 |
"Vomit": {
|
56 |
"mapped_name": "Vomit",
|
57 |
-
"description":
|
58 |
-
|
|
|
|
|
|
|
59 |
"Sexual Content": {
|
60 |
"mapped_name": "Sexual Content",
|
61 |
"description": (
|
62 |
-
"Any depiction or mention of sexual activity, intimacy, or sexual behavior, from implied scenes to explicit descriptions."
|
|
|
63 |
)
|
64 |
},
|
65 |
"Sexual Abuse": {
|
66 |
"mapped_name": "Sexual Abuse",
|
67 |
"description": (
|
68 |
-
"Any form of non-consensual sexual act, behavior, or interaction, involving coercion, manipulation, or physical force."
|
|
|
|
|
|
|
|
|
69 |
)
|
70 |
},
|
71 |
"Self-Harm": {
|
72 |
"mapped_name": "Self-Harm",
|
73 |
"description": (
|
74 |
-
|
|
|
75 |
)
|
76 |
},
|
77 |
"Gun Use": {
|
78 |
"mapped_name": "Gun Use",
|
79 |
"description": (
|
80 |
-
"Any explicit or implied mention of firearms being handled, fired, or used in a threatening manner."
|
|
|
81 |
)
|
82 |
},
|
83 |
"Animal Cruelty": {
|
84 |
"mapped_name": "Animal Cruelty",
|
85 |
"description": (
|
86 |
-
"Any act of harm, abuse, or neglect toward animals, whether intentional or accidental."
|
|
|
87 |
)
|
88 |
},
|
89 |
"Mental Health Issues": {
|
90 |
"mapped_name": "Mental Health Issues",
|
91 |
"description": (
|
92 |
-
"Any reference to mental health struggles, disorders, or psychological distress,
|
|
|
|
|
93 |
)
|
94 |
}
|
95 |
}
|
|
|
28 |
"mapped_name": "Violence",
|
29 |
"description": (
|
30 |
"Any act involving physical force or aggression intended to cause harm, injury, or death to a person, animal, or object. "
|
31 |
+
"Includes direct physical confrontations (e.g., fights, beatings, or assaults), implied violence (e.g., very graphical threats or descriptions of injuries), "
|
32 |
+
"or large-scale events like wars, riots, or violent protests."
|
33 |
)
|
34 |
},
|
35 |
"Death": {
|
36 |
"mapped_name": "Death References",
|
37 |
"description": (
|
38 |
+
"Any mention, implication, or depiction of the loss of life, including direct deaths of characters, including mentions of deceased individuals, "
|
39 |
+
"or abstract references to mortality (e.g., 'facing the end' or 'gone forever'). This also covers depictions of funerals, mourning, "
|
40 |
+
"grieving, or any dialogue that centers around death, do not take metaphors into context that don't actually lead to death."
|
41 |
)
|
42 |
},
|
43 |
"Substance Use": {
|
44 |
"mapped_name": "Substance Use",
|
45 |
"description": (
|
46 |
"Any explicit or implied reference to the consumption, misuse, or abuse of drugs, alcohol, or other intoxicating substances. "
|
47 |
+
"Includes scenes of drinking, smoking, or drug use, whether recreational or addictive. May also cover references to withdrawal symptoms, "
|
48 |
+
"rehabilitation, or substance-related paraphernalia (e.g., needles, bottles, pipes)."
|
49 |
)
|
50 |
},
|
51 |
"Gore": {
|
52 |
"mapped_name": "Gore",
|
53 |
"description": (
|
54 |
+
"Extremely detailed and graphic depictions of highly severe physical injuries, mutilation, or extreme bodily harm, often accompanied by descriptions of heavy blood, exposed organs, "
|
55 |
+
"or dismemberment. This includes war scenes with severe casualties, horror scenarios involving grotesque creatures, or medical procedures depicted with excessive detail."
|
56 |
)
|
57 |
},
|
58 |
"Vomit": {
|
59 |
"mapped_name": "Vomit",
|
60 |
+
"description": (
|
61 |
+
"Any reference to the act of vomiting, whether directly described, implied, or depicted in detail. This includes sounds or visual descriptions of the act, "
|
62 |
+
"mentions of nausea leading to vomiting, or its aftermath (e.g., the presence of vomit, cleaning it up, or characters reacting to it)."
|
63 |
+
)
|
64 |
+
},
|
65 |
"Sexual Content": {
|
66 |
"mapped_name": "Sexual Content",
|
67 |
"description": (
|
68 |
+
"Any depiction or mention of sexual activity, intimacy, or sexual behavior, ranging from implied scenes to explicit descriptions. "
|
69 |
+
"This includes romantic encounters, physical descriptions of characters in a sexual context, sexual dialogue, or references to sexual themes (e.g., harassment, innuendos)."
|
70 |
)
|
71 |
},
|
72 |
"Sexual Abuse": {
|
73 |
"mapped_name": "Sexual Abuse",
|
74 |
"description": (
|
75 |
+
"Any form of non-consensual sexual act, behavior, or interaction, involving coercion, manipulation, or physical force. "
|
76 |
+
"This includes incidents of sexual assault, molestation, exploitation, harassment, and any acts where an individual is subjected to sexual acts against their will or without their consent. "
|
77 |
+
"It also covers discussions or depictions of the aftermath of such abuse, such as trauma, emotional distress, legal proceedings, or therapy. "
|
78 |
+
"References to inappropriate sexual advances, groping, or any other form of sexual misconduct are also included, as well as the psychological and emotional impact on survivors. "
|
79 |
+
"Scenes where individuals are placed in sexually compromising situations, even if not directly acted upon, may also fall under this category."
|
80 |
)
|
81 |
},
|
82 |
"Self-Harm": {
|
83 |
"mapped_name": "Self-Harm",
|
84 |
"description": (
|
85 |
+
"Any mention or depiction of behaviors where an individual intentionally causes harm to themselves. This includes cutting, burning, or other forms of physical injury, "
|
86 |
+
"as well as suicidal ideation, suicide attempts, or discussions of self-destructive thoughts and actions. References to scars, bruises, or other lasting signs of self-harm are also included."
|
87 |
)
|
88 |
},
|
89 |
"Gun Use": {
|
90 |
"mapped_name": "Gun Use",
|
91 |
"description": (
|
92 |
+
"Any explicit or implied mention of firearms being handled, fired, or used in a threatening manner. This includes scenes of gun violence, references to shootings, "
|
93 |
+
"gun-related accidents, or the presence of firearms in a tense or dangerous context (e.g., holstered weapons during an argument)."
|
94 |
)
|
95 |
},
|
96 |
"Animal Cruelty": {
|
97 |
"mapped_name": "Animal Cruelty",
|
98 |
"description": (
|
99 |
+
"Any act of harm, abuse, or neglect toward animals, whether intentional or accidental. This includes physical abuse (e.g., hitting, injuring, or killing animals), "
|
100 |
+
"mental or emotional mistreatment (e.g., starvation, isolation), and scenes where animals are subjected to pain or suffering for human entertainment or experimentation."
|
101 |
)
|
102 |
},
|
103 |
"Mental Health Issues": {
|
104 |
"mapped_name": "Mental Health Issues",
|
105 |
"description": (
|
106 |
+
"Any reference to mental health struggles, disorders, or psychological distress. This includes mentions of depression, anxiety, PTSD, bipolar disorder, schizophrenia, "
|
107 |
+
"or other conditions. Scenes depicting therapy sessions, psychiatric treatment, or coping mechanisms (e.g., medication, journaling) are also included. May cover subtle hints "
|
108 |
+
"like a character expressing feelings of worthlessness, hopelessness, or detachment from reality."
|
109 |
)
|
110 |
}
|
111 |
}
|