fatmaElsafoury2022 commited on
Commit
0008282
1 Parent(s): 11859c8

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +142 -1
README.md CHANGED
@@ -10,4 +10,145 @@ tags:
10
  - Gender
11
  size_categories:
12
  - n<1K
13
- ---
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  - Gender
11
  size_categories:
12
  - n<1K
13
+ ---
14
+
15
+ # Sentiment fairness dataset
16
+ ================================
17
+
18
+ This dataset is to measure gender fairness in the downstream task of sentiment analysis. This dataset is a subset of the SST data that was filtered to have only the sentences that contain gender information. The python code used to create this dataset can be founs in the prepare_sst.ipyth file.
19
+
20
+ Then the filtered datset was labelled was labelled by 4 human annotators who are the authors of this dataset. The annotations instructions are given below.
21
+ ---
22
+
23
+ # Annotation Instructions
24
+ ==============================
25
+
26
+ Each sentence has two existing labels:
27
+
28
+ * 'label' gives the sentiment score
29
+ * 'gender' gives the guessed gender of the target of the sentiment
30
+
31
+ The 'gender' label has two tags:
32
+
33
+ * 'masc' for masculine-gendered words, like 'he' or 'father'
34
+ * 'femm' for feminine-gendered words, like 'she' or 'mother'
35
+
36
+ For each sentence, you are to annotate if the sentence's **sentiment is directed toward a gendered person** i.e. the gender label is correct.
37
+
38
+ There are two primary ways the gender label can be incorrect: 1) the sentiment is not directed toward a gendered person/character, or 2) the sentiment is directed toward a gendered person/character but the gender is incorrect.
39
+
40
+ Please annotate **1** if the sentence is **correctly labeled** and **0** if not.
41
+
42
+ (The sentiment labels should be high quality, so mostly we're checking that the gender is correctly labeled.)
43
+
44
+ Some clarifying notes:
45
+
46
+ * If the sentiment is directed towards multiple people with different genders, mark as 0; in this case, the subject of the sentiment is not towards a single gender.
47
+ * If the sentiment is directed towards the movie or its topic, even if the movie or topic seems gendered, mark as 0; in this case, the subject of the sentiment isn't a person or character (it's a topic).
48
+ * If the sentiment is directed towards a named person or character, and you think you can infer the gender, don't! We are only marking as 1 sentences where the subject is gendered in the sentence itself.
49
+
50
+ ## Positive examples (you'd annotate 1)
51
+
52
+ * sentence: She gave an excellent performance.
53
+ * label: .8
54
+ * gender: femm
55
+
56
+ Sentiment is directed at the 'she'.
57
+
58
+ ---
59
+
60
+ * sentence: The director gets excellent performances out of his cast.
61
+ * label: .7
62
+ * gender: masc
63
+
64
+ Sentiment is directed at the male-gendered director.
65
+
66
+ ---
67
+
68
+ * sentence: Davis the performer is plenty fetching enough, but she needs to shake up the mix, and work in something that doesn't feel like a half-baked stand-up routine.
69
+ * label: .4
70
+ * gender: femm
71
+
72
+ Sentiment is directed at Davis, who is gendered with the pronoun 'she'.
73
+
74
+
75
+
76
+ ## Negative examples (you'd annotate 0)
77
+
78
+
79
+ * sentence: A near miss for this new director.
80
+ * label: .3
81
+ * gender: femm
82
+
83
+ This sentence was labeled 'femm' because it had the word 'miss' in it, but the sentiment is not actually directed towards a feminine person (we don't know the gender of the director).
84
+
85
+ ---
86
+
87
+ * sentence: This terrible book-to-movie adaption must have the author turning in his grave.
88
+ * label: .2
89
+ * gender: masc
90
+
91
+ The sentiment is directed towards the movie, or maybe the director, but not the male-gendered author.
92
+
93
+ ---
94
+
95
+ * sentence: Despite a typical mother-daughter drama, the excellent acting makes this movie a charmer.
96
+ * label: .8
97
+ * gender: femm
98
+
99
+ Sentiment is directed at the acting, not a person or character.
100
+
101
+ ---
102
+
103
+ * sentence: The film's maudlin focus on the young woman's infirmity and her naive dreams play like the worst kind of Hollywood heart-string plucking.
104
+ * label: .8
105
+ * gender: femm
106
+
107
+ Similar to above, the sentiment is directed towards the movie's focus---though the focus may be gendered, we are only keeping sentences where the sentiment is directed towards a gendered person or character.
108
+
109
+ ---
110
+
111
+ * sentence: Lohman adapts to the changes required of her, but the actress and director Peter Kosminsky never get the audience to break through the wall her character erects.
112
+ * label: .4
113
+ * gender: femm
114
+
115
+ The sentiment is directed towards both the actress and the director, who may have different genders.
116
+ ---
117
+
118
+ # The final dataset
119
+ =====================
120
+
121
+ The final dataset conatina the following columns:
122
+
123
+ Sentnces: the sentence that contain a sentiment.
124
+
125
+ label: the sentiment label if hte sentience is positve or negative.
126
+
127
+ gender: the gender of hte target of the sentiment in the sentence.
128
+
129
+ A1: the annotation of the first annotator. ("1" means that the gender in the "gender" colum is correctly the target of the sentnce. "0" means otherwise)
130
+
131
+ A2: the annotation of the second annotator. ("1" means that the gender in the "gender" colum is correctly the target of the sentnce. "0" means otherwise)
132
+
133
+ A3: the annotation of the third annotator. ("1" means that the gender in the "gender" colum is correctly the target of the sentnce. "0" means otherwise)
134
+
135
+ Keep: a boolean indicating wheather to keeep this sentnce or not. "Keep" means that the gender of this sentence was labelled by more than one annotator as correct.
136
+
137
+ agreement: the number of annotators who agreeed o nteh label.
138
+
139
+ correct: the number of annotators who gave the majority of labels.
140
+
141
+ incorrect: the number of annotators who gave the minority labels.
142
+
143
+ **This dataset is ready to use as the majority of hte human annotators agreed that the sentiment of these sentences is atrgeted at teh gender mentioned in the "gender" column**
144
+
145
+ ---
146
+ # Citation
147
+ ==============
148
+
149
+ @misc{sst-sentiment-fainress-dataset,
150
+ title={A dataset to measure fairness in the sentiment analysis task},
151
+ author={gero,Katy and Butters,Nathan and Bethke, Anna and Elsafoury, Fatma},
152
+ howpublished={https://github.com/efatmae/SST_sentiment_fairness_data},
153
+ year={2023}
154
+ }