albertvillanova HF staff commited on
Commit
bd18417
1 Parent(s): 7d0e6db

Replace YAML keys from int to str

Browse files

Replace YAML metadata integer keys with strings, as the Hub does not support integers.
See: https://github.com/huggingface/datasets/issues/5275

Files changed (1) hide show
  1. README.md +24 -24
README.md CHANGED
@@ -19,6 +19,30 @@ task_ids:
19
  - intent-classification
20
  paperswithcode_id: hate-speech
21
  pretty_name: Hate Speech
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  train-eval-index:
23
  - config: default
24
  task: text-classification
@@ -67,30 +91,6 @@ train-eval-index:
67
  name: Recall weighted
68
  args:
69
  average: weighted
70
- dataset_info:
71
- features:
72
- - name: text
73
- dtype: string
74
- - name: user_id
75
- dtype: int64
76
- - name: subforum_id
77
- dtype: int64
78
- - name: num_contexts
79
- dtype: int64
80
- - name: label
81
- dtype:
82
- class_label:
83
- names:
84
- 0: noHate
85
- 1: hate
86
- 2: idk/skip
87
- 3: relation
88
- splits:
89
- - name: train
90
- num_bytes: 1375340
91
- num_examples: 10944
92
- download_size: 3664530
93
- dataset_size: 1375340
94
  ---
95
 
96
  # Dataset Card for [Dataset Name]
 
19
  - intent-classification
20
  paperswithcode_id: hate-speech
21
  pretty_name: Hate Speech
22
+ dataset_info:
23
+ features:
24
+ - name: text
25
+ dtype: string
26
+ - name: user_id
27
+ dtype: int64
28
+ - name: subforum_id
29
+ dtype: int64
30
+ - name: num_contexts
31
+ dtype: int64
32
+ - name: label
33
+ dtype:
34
+ class_label:
35
+ names:
36
+ '0': noHate
37
+ '1': hate
38
+ '2': idk/skip
39
+ '3': relation
40
+ splits:
41
+ - name: train
42
+ num_bytes: 1375340
43
+ num_examples: 10944
44
+ download_size: 3664530
45
+ dataset_size: 1375340
46
  train-eval-index:
47
  - config: default
48
  task: text-classification
 
91
  name: Recall weighted
92
  args:
93
  average: weighted
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  ---
95
 
96
  # Dataset Card for [Dataset Name]