Shubhi324 ck37 commited on
Commit
7c9cf33
·
verified ·
0 Parent(s):

Duplicate from ucberkeley-dlab/measuring-hate-speech

Browse files

Co-authored-by: Chris Kennedy <ck37@users.noreply.huggingface.co>

Files changed (3) hide show
  1. .gitattributes +28 -0
  2. README.md +86 -0
  3. measuring-hate-speech.parquet +3 -0
.gitattributes ADDED
@@ -0,0 +1,28 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ *.7z filter=lfs diff=lfs merge=lfs -text
2
+ *.arrow filter=lfs diff=lfs merge=lfs -text
3
+ *.bin filter=lfs diff=lfs merge=lfs -text
4
+ *.bin.* filter=lfs diff=lfs merge=lfs -text
5
+ *.bz2 filter=lfs diff=lfs merge=lfs -text
6
+ *.ftz filter=lfs diff=lfs merge=lfs -text
7
+ *.gz filter=lfs diff=lfs merge=lfs -text
8
+ *.h5 filter=lfs diff=lfs merge=lfs -text
9
+ *.joblib filter=lfs diff=lfs merge=lfs -text
10
+ *.lfs.* filter=lfs diff=lfs merge=lfs -text
11
+ *.model filter=lfs diff=lfs merge=lfs -text
12
+ *.msgpack filter=lfs diff=lfs merge=lfs -text
13
+ *.onnx filter=lfs diff=lfs merge=lfs -text
14
+ *.ot filter=lfs diff=lfs merge=lfs -text
15
+ *.parquet filter=lfs diff=lfs merge=lfs -text
16
+ *.pb filter=lfs diff=lfs merge=lfs -text
17
+ *.pt filter=lfs diff=lfs merge=lfs -text
18
+ *.pth filter=lfs diff=lfs merge=lfs -text
19
+ *.rar filter=lfs diff=lfs merge=lfs -text
20
+ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
21
+ *.tar.* filter=lfs diff=lfs merge=lfs -text
22
+ *.tflite filter=lfs diff=lfs merge=lfs -text
23
+ *.tgz filter=lfs diff=lfs merge=lfs -text
24
+ *.xz filter=lfs diff=lfs merge=lfs -text
25
+ *.zip filter=lfs diff=lfs merge=lfs -text
26
+ *.zstandard filter=lfs diff=lfs merge=lfs -text
27
+ *tfevents* filter=lfs diff=lfs merge=lfs -text
28
+ measuring-hate-speech.csv filter=lfs diff=lfs merge=lfs -text
README.md ADDED
@@ -0,0 +1,86 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ annotations_creators:
3
+ - crowdsourced
4
+ language:
5
+ - en
6
+ license:
7
+ - cc-by-4.0
8
+ multilinguality:
9
+ - monolingual
10
+ source_datasets:
11
+ - original
12
+ task_categories:
13
+ - text-classification
14
+ task_ids:
15
+ - hate-speech-detection
16
+ - sentiment-classification
17
+ - multi-label-classification
18
+ pretty_name: measuring-hate-speech
19
+ tags:
20
+ - arxiv:2009.10277
21
+ - counterspeech
22
+ - hate-speech
23
+ - text-regression
24
+ - irt
25
+ ---
26
+
27
+ ## Dataset Description
28
+
29
+ - **Homepage:** http://hatespeech.berkeley.edu
30
+ - **Paper:** https://arxiv.org/abs/2009.10277
31
+
32
+ # Dataset card for _Measuring Hate Speech_
33
+
34
+ This is a public release of the dataset described in Kennedy et al. (2020) and Sachdeva et al. (2022), consisting of 39,565 comments annotated by 7,912 annotators, for 135,556 combined rows. The primary outcome variable is the "hate speech score" but the 10 constituent ordinal labels (sentiment, (dis)respect, insult, humiliation, inferior status, violence, dehumanization, genocide, attack/defense, hate speech benchmark) can also be treated as outcomes. Includes 8 target identity groups (race/ethnicity, religion, national origin/citizenship, gender, sexual orientation, age, disability, political ideology) and 42 target identity subgroups, as well as 6 annotator demographics and 40 subgroups. The hate speech score incorporates an IRT adjustment by estimating variation in annotator interpretation of the labeling guidelines.
35
+
36
+ This dataset card is a work in progress and will be improved over time.
37
+
38
+ ## Key dataset columns
39
+
40
+ * hate_speech_score - continuous hate speech measure, where higher = more hateful and lower = less hateful. > 0.5 is approximately hate speech, < -1 is counter or supportive speech, and -1 to +0.5 is neutral or ambiguous.
41
+ * text - lightly processed text of a social media post
42
+ * comment\_id - unique ID for each comment
43
+ * annotator\_id - unique ID for each annotator
44
+ * sentiment - ordinal label that is combined into the continuous score
45
+ * respect - ordinal label that is combined into the continuous score
46
+ * insult - ordinal label that is combined into the continuous score
47
+ * humiliate - ordinal label that is combined into the continuous score
48
+ * status - ordinal label that is combined into the continuous score
49
+ * dehumanize - ordinal label that is combined into the continuous score
50
+ * violence - ordinal label that is combined into the continuous score
51
+ * genocide - ordinal label that is combined into the continuous score
52
+ * attack\_defend - ordinal label that is combined into the continuous score
53
+ * hatespeech - ordinal label that is combined into the continuous score
54
+ * annotator_severity - annotator's estimated survey interpretation bias
55
+
56
+ ## Code to download
57
+
58
+ The dataset can be downloaded using the following python code:
59
+
60
+ ```python
61
+ import datasets
62
+ dataset = datasets.load_dataset('ucberkeley-dlab/measuring-hate-speech', 'binary')
63
+ df = dataset['train'].to_pandas()
64
+ df.describe()
65
+ ```
66
+
67
+ ## Citation
68
+
69
+ ```
70
+ @article{kennedy2020constructing,
71
+ title={Constructing interval variables via faceted Rasch measurement and multitask deep learning: a hate speech application},
72
+ author={Kennedy, Chris J and Bacon, Geoff and Sahn, Alexander and von Vacano, Claudia},
73
+ journal={arXiv preprint arXiv:2009.10277},
74
+ year={2020}
75
+ }
76
+ ```
77
+
78
+ ## Contributions
79
+
80
+ Dataset curated by [@ck37](https://github.com/ck37), [@pssachdeva](https://github.com/pssachdeva), et al.
81
+
82
+ ## References
83
+
84
+ Kennedy, C. J., Bacon, G., Sahn, A., & von Vacano, C. (2020). [Constructing interval variables via faceted Rasch measurement and multitask deep learning: a hate speech application](https://arxiv.org/abs/2009.10277). arXiv preprint arXiv:2009.10277.
85
+
86
+ Pratik Sachdeva, Renata Barreto, Geoff Bacon, Alexander Sahn, Claudia von Vacano, and Chris Kennedy. 2022. [The Measuring Hate Speech Corpus: Leveraging Rasch Measurement Theory for Data Perspectivism](https://aclanthology.org/2022.nlperspectives-1.11/). In *Proceedings of the 1st Workshop on Perspectivist Approaches to NLP @LREC2022*, pages 83–94, Marseille, France. European Language Resources Association.
measuring-hate-speech.parquet ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6819525ce61bc24344df9fc3f7bf48270b31038273cc27c67fc225b51433b0e1
3
+ size 14123673