albertvillanova HF staff commited on
Commit
79bce98
1 Parent(s): bb653b0

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 +5 -5
README.md CHANGED
@@ -29,11 +29,11 @@ dataset_info:
29
  dtype:
30
  class_label:
31
  names:
32
- 0: Personal
33
- 1: Political
34
- 2: Religious
35
- 3: Geopolitical
36
- 4: Gender abusive
37
  splits:
38
  - name: train
39
  num_bytes: 972635
 
29
  dtype:
30
  class_label:
31
  names:
32
+ '0': Personal
33
+ '1': Political
34
+ '2': Religious
35
+ '3': Geopolitical
36
+ '4': Gender abusive
37
  splits:
38
  - name: train
39
  num_bytes: 972635