albertvillanova HF staff commited on
Commit
f5d76bf
1 Parent(s): 4ec3d91

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 +12 -12
README.md CHANGED
@@ -29,28 +29,28 @@ dataset_info:
29
  dtype:
30
  class_label:
31
  names:
32
- 0: jordan
33
- 1: lebanon
34
- 2: syria
35
- 3: palestine
36
  - name: Topic
37
  dtype: string
38
  - name: Sentiment
39
  dtype:
40
  class_label:
41
  names:
42
- 0: negative
43
- 1: neutral
44
- 2: positive
45
- 3: very_negative
46
- 4: very_positive
47
  - name: Sentiment_Expression
48
  dtype:
49
  class_label:
50
  names:
51
- 0: explicit
52
- 1: implicit
53
- 2: none
54
  - name: Sentiment_Target
55
  dtype: string
56
  splits:
 
29
  dtype:
30
  class_label:
31
  names:
32
+ '0': jordan
33
+ '1': lebanon
34
+ '2': syria
35
+ '3': palestine
36
  - name: Topic
37
  dtype: string
38
  - name: Sentiment
39
  dtype:
40
  class_label:
41
  names:
42
+ '0': negative
43
+ '1': neutral
44
+ '2': positive
45
+ '3': very_negative
46
+ '4': very_positive
47
  - name: Sentiment_Expression
48
  dtype:
49
  class_label:
50
  names:
51
+ '0': explicit
52
+ '1': implicit
53
+ '2': none
54
  - name: Sentiment_Target
55
  dtype: string
56
  splits: