albertvillanova HF staff commited on
Commit
fbdf1ba
1 Parent(s): 087f81e

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 +9 -9
README.md CHANGED
@@ -38,9 +38,9 @@ dataset_info:
38
  dtype:
39
  class_label:
40
  names:
41
- 0: Hope_speech
42
- 1: Non_hope_speech
43
- 2: not-English
44
  splits:
45
  - name: train
46
  num_bytes: 2306656
@@ -58,9 +58,9 @@ dataset_info:
58
  dtype:
59
  class_label:
60
  names:
61
- 0: Hope_speech
62
- 1: Non_hope_speech
63
- 2: not-Tamil
64
  splits:
65
  - name: train
66
  num_bytes: 1531013
@@ -78,9 +78,9 @@ dataset_info:
78
  dtype:
79
  class_label:
80
  names:
81
- 0: Hope_speech
82
- 1: Non_hope_speech
83
- 2: not-malayalam
84
  splits:
85
  - name: train
86
  num_bytes: 1492031
 
38
  dtype:
39
  class_label:
40
  names:
41
+ '0': Hope_speech
42
+ '1': Non_hope_speech
43
+ '2': not-English
44
  splits:
45
  - name: train
46
  num_bytes: 2306656
 
58
  dtype:
59
  class_label:
60
  names:
61
+ '0': Hope_speech
62
+ '1': Non_hope_speech
63
+ '2': not-Tamil
64
  splits:
65
  - name: train
66
  num_bytes: 1531013
 
78
  dtype:
79
  class_label:
80
  names:
81
+ '0': Hope_speech
82
+ '1': Non_hope_speech
83
+ '2': not-malayalam
84
  splits:
85
  - name: train
86
  num_bytes: 1492031