ck37 commited on
Commit
6d19705
1 Parent(s): 350ae70

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +10 -0
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