Commit
·
7aadfcd
1
Parent(s):
ccf597b
Replace YAML keys from int to str
Browse filesReplace YAML metadata integer keys with strings, as the Hub does not support integers.
See: https://github.com/huggingface/datasets/issues/5275
README.md
CHANGED
@@ -53,34 +53,34 @@ dataset_info:
|
|
53 |
dtype:
|
54 |
class_label:
|
55 |
names:
|
56 |
-
0: QA
|
57 |
-
1: BH
|
58 |
-
2: AE
|
59 |
-
3: OM
|
60 |
-
4: SA
|
61 |
-
5: PL
|
62 |
-
6: JO
|
63 |
-
7: IQ
|
64 |
-
8: Other
|
65 |
-
9: EG
|
66 |
-
10: KW
|
67 |
-
11: SY
|
68 |
- name: topic
|
69 |
dtype:
|
70 |
class_label:
|
71 |
names:
|
72 |
-
0: Gov
|
73 |
-
1: Culture
|
74 |
-
2: Education
|
75 |
-
3: Sports
|
76 |
-
4: Travel
|
77 |
-
5: Events
|
78 |
-
6: Business
|
79 |
-
7: Science
|
80 |
-
8: Politics
|
81 |
-
9: Health
|
82 |
-
10: Governoment
|
83 |
-
11: Media
|
84 |
splits:
|
85 |
- name: test
|
86 |
num_bytes: 6036
|
|
|
53 |
dtype:
|
54 |
class_label:
|
55 |
names:
|
56 |
+
'0': QA
|
57 |
+
'1': BH
|
58 |
+
'2': AE
|
59 |
+
'3': OM
|
60 |
+
'4': SA
|
61 |
+
'5': PL
|
62 |
+
'6': JO
|
63 |
+
'7': IQ
|
64 |
+
'8': Other
|
65 |
+
'9': EG
|
66 |
+
'10': KW
|
67 |
+
'11': SY
|
68 |
- name: topic
|
69 |
dtype:
|
70 |
class_label:
|
71 |
names:
|
72 |
+
'0': Gov
|
73 |
+
'1': Culture
|
74 |
+
'2': Education
|
75 |
+
'3': Sports
|
76 |
+
'4': Travel
|
77 |
+
'5': Events
|
78 |
+
'6': Business
|
79 |
+
'7': Science
|
80 |
+
'8': Politics
|
81 |
+
'9': Health
|
82 |
+
'10': Governoment
|
83 |
+
'11': Media
|
84 |
splits:
|
85 |
- name: test
|
86 |
num_bytes: 6036
|