Datasets:
Update README.md
Browse files
README.md
CHANGED
@@ -52,6 +52,16 @@ This dataset card is a work in progress and will be improved over time.
|
|
52 |
* hatespeech - ordinal label that is combined into the continuous score
|
53 |
* annotator_severity - annotator's estimated survey interpretation bias
|
54 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
55 |
|
56 |
## Citation
|
57 |
|
|
|
52 |
* hatespeech - ordinal label that is combined into the continuous score
|
53 |
* annotator_severity - annotator's estimated survey interpretation bias
|
54 |
|
55 |
+
## Code to download
|
56 |
+
|
57 |
+
The dataset can be downloaded using the following python code:
|
58 |
+
|
59 |
+
```python
|
60 |
+
import datasets
|
61 |
+
dataset = datasets.load_dataset('ucberkeley-dlab/measuring-hate-speech', 'binary')
|
62 |
+
df = dataset['train'].to_pandas()
|
63 |
+
df.describe()
|
64 |
+
```
|
65 |
|
66 |
## Citation
|
67 |
|