-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.py
More file actions
15 lines (14 loc) · 1.61 KB
/
config.py
File metadata and controls
15 lines (14 loc) · 1.61 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
idx_label = {
"sexist": {0: 'not sexist', 1: 'sexist'},
"category": {0: '1. threats, plans to harm and incitement',
1: '2. derogation', 2: '3. animosity', 3: '4. prejudiced discussions', 4: 'none'},
"vector": {0: '1.1 threats of harm', 1: '1.2 incitement and encouragement of harm', 2: '2.1 descriptive attacks', 3: '2.2 aggressive and emotive attacks', 4: '2.3 dehumanising attacks & overt sexual objectification', 5: '3.1 casual use of gendered slurs, profanities, and insults',
6: '3.2 immutable gender differences and gender stereotypes', 7: '3.3 backhanded gendered compliments', 8: '3.4 condescending explanations or unwelcome advice', 9: '4.1 supporting mistreatment of individual women', 10: '4.2 supporting systemic discrimination against women as a group', 11: 'none'}
}
label_idx = {
"sexist": {'not sexist': 0, 'sexist': 1},
"category": {'1. threats, plans to harm and incitement': 0,
'2. derogation': 1, '3. animosity': 2, '4. prejudiced discussions': 3, 'none': 4},
"vector": {'1.1 threats of harm': 0, '1.2 incitement and encouragement of harm': 1, '2.1 descriptive attacks': 2, '2.2 aggressive and emotive attacks': 3, '2.3 dehumanising attacks & overt sexual objectification': 4, '3.1 casual use of gendered slurs, profanities, and insults': 5,
'3.2 immutable gender differences and gender stereotypes': 6, '3.3 backhanded gendered compliments': 7, '3.4 condescending explanations or unwelcome advice': 8, '4.1 supporting mistreatment of individual women': 9, '4.2 supporting systemic discrimination against women as a group': 10, 'none': 11}
}