Quote class label ids in YAML
Browse filesWe fixed a bug recently where datasets wouldn't use quote for class label ids. Now it does, in order to let the Hugging face Hub parse the YAML correctly.
README.md
CHANGED
@@ -11,11 +11,11 @@ dataset_info:
|
|
11 |
sequence:
|
12 |
class_label:
|
13 |
names:
|
14 |
-
0: O
|
15 |
-
1: LOC
|
16 |
-
2: PER
|
17 |
-
3: MISC
|
18 |
-
4: ORG
|
19 |
splits:
|
20 |
- name: test
|
21 |
num_bytes: 5954708
|
|
|
11 |
sequence:
|
12 |
class_label:
|
13 |
names:
|
14 |
+
'0': O
|
15 |
+
'1': LOC
|
16 |
+
'2': PER
|
17 |
+
'3': MISC
|
18 |
+
'4': ORG
|
19 |
splits:
|
20 |
- name: test
|
21 |
num_bytes: 5954708
|