albertvillanova HF staff commited on
Commit
cbeb119
1 Parent(s): 0b43e4e

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 +6 -6
README.md CHANGED
@@ -28,9 +28,9 @@ dataset_info:
28
  dtype:
29
  class_label:
30
  names:
31
- 0: pos
32
- 1: neg
33
- 2: off-topic
34
  splits:
35
  - name: train
36
  num_bytes: 2159738
@@ -48,9 +48,9 @@ dataset_info:
48
  dtype:
49
  class_label:
50
  names:
51
- 0: pos
52
- 1: neg
53
- 2: off-topic
54
  splits:
55
  - name: train
56
  num_bytes: 2258128
 
28
  dtype:
29
  class_label:
30
  names:
31
+ '0': pos
32
+ '1': neg
33
+ '2': off-topic
34
  splits:
35
  - name: train
36
  num_bytes: 2159738
 
48
  dtype:
49
  class_label:
50
  names:
51
+ '0': pos
52
+ '1': neg
53
+ '2': off-topic
54
  splits:
55
  - name: train
56
  num_bytes: 2258128