albertvillanova HF staff commited on
Commit
37191ce
1 Parent(s): 412b747

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 +3 -3
README.md CHANGED
@@ -35,9 +35,9 @@ dataset_info:
35
  dtype:
36
  class_label:
37
  names:
38
- 0: hate-speech
39
- 1: offensive-language
40
- 2: neither
41
  - name: tweet
42
  dtype: string
43
  splits:
 
35
  dtype:
36
  class_label:
37
  names:
38
+ '0': hate-speech
39
+ '1': offensive-language
40
+ '2': neither
41
  - name: tweet
42
  dtype: string
43
  splits: