File size: 3,244 Bytes
969d0dc
 
 
 
 
 
03f2c00
 
 
 
 
 
 
 
 
 
 
 
fad9c74
03f2c00
fad9c74
 
03f2c00
969d0dc
 
350ae70
 
 
 
 
39f319d
bc4929e
f7b3dbf
bc4929e
39f319d
 
997475e
bc4929e
39f319d
bc4929e
 
 
 
 
 
 
 
 
 
 
 
 
969d0dc
bc4929e
6d19705
 
 
 
 
 
 
 
 
 
bc4929e
 
 
 
 
 
 
 
 
 
 
 
39f319d
 
 
 
bc4929e
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
---
tags:
- hate-speech
- counterspeech
- irt
- arxiv:2009.10277
annotations_creators:
- crowdsourced
languages:
- en-US
licenses: []
multilinguality:
- monolingual
pretty_name: measuring-hate-speech
source_datasets:
- original
task_categories:
- text-classification
- text-regression
task_ids:
- hate-speech
- counterspeech
- sentiment-classification
---

## Dataset Description

- **Homepage:** http://hatespeech.berkeley.edu
- **Paper:** https://arxiv.org/abs/2009.10277

# Dataset card for _Measuring Hate Speech_

This is a public release of the dataset described in Kennedy et al. (2020), 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 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 identity subgroups.

This dataset card is a work in progress and will be improved over time.

## Key dataset columns

 * hate_speech_score - continuous hate speech measure, where higher = more hateful and lower = less hateful
 * text - lightly processed text of a social media post
 * comment\_id - unique ID for each comment
 * annotator\_id - unique ID for each annotator
 * sentiment - ordinal label that is combined into the continuous score
 * respect - ordinal label that is combined into the continuous score
 * insult - ordinal label that is combined into the continuous score
 * humiliate - ordinal label that is combined into the continuous score
 * status - ordinal label that is combined into the continuous score
 * dehumanize - ordinal label that is combined into the continuous score
 * violence - ordinal label that is combined into the continuous score
 * genocide - ordinal label that is combined into the continuous score
 * attack\_defend - ordinal label that is combined into the continuous score
 * hatespeech - ordinal label that is combined into the continuous score
 * annotator_severity - annotator's estimated survey interpretation bias

## Code to download

The dataset can be downloaded using the following python code:

```python
import datasets 
dataset = datasets.load_dataset('ucberkeley-dlab/measuring-hate-speech', 'binary')   
df = dataset['train'].to_pandas()
df.describe()
```

## Citation

```
@article{kennedy2020constructing,
  title={Constructing interval variables via faceted Rasch measurement and multitask deep learning: a hate speech application},
  author={Kennedy, Chris J and Bacon, Geoff and Sahn, Alexander and von Vacano, Claudia},
  journal={arXiv preprint arXiv:2009.10277},
  year={2020}
}
```

## Contributions

Dataset curated by [@ck37](https://github.com/ck37), [@pssachdeva](https://github.com/pssachdeva), et al.

## References

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.