albertvillanova HF staff commited on
Commit
c979236
1 Parent(s): 46ac3fc

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
@@ -13,7 +13,6 @@ license:
13
  - cc0-1.0
14
  multilinguality:
15
  - multilingual
16
- pretty_name: British Library Books Genre
17
  size_categories:
18
  - 10K<n<100K
19
  - 1K<n<10K
@@ -28,6 +27,7 @@ task_ids:
28
  - multi-label-classification
29
  - language-modeling
30
  - masked-language-modeling
 
31
  configs:
32
  - annotated_raw
33
  - raw
@@ -43,8 +43,8 @@ dataset_info:
43
  dtype:
44
  class_label:
45
  names:
46
- 0: Fiction
47
- 1: Non-fiction
48
  splits:
49
  - name: train
50
  num_bytes: 187600
@@ -143,18 +143,18 @@ dataset_info:
143
  dtype:
144
  class_label:
145
  names:
146
- 0: Monograph
147
- 1: Serial
148
  - name: created_at
149
  dtype: timestamp[s]
150
  - name: annotator_genre
151
  dtype:
152
  class_label:
153
  names:
154
- 0: Fiction
155
- 1: Can't tell
156
- 2: Non-fiction
157
- 3: The book contains both Fiction and Non-Fiction
158
  splits:
159
  - name: train
160
  num_bytes: 3583138
@@ -253,9 +253,9 @@ dataset_info:
253
  dtype:
254
  class_label:
255
  names:
256
- 0: Monograph
257
- 1: Serial
258
- 2: Monographic component part
259
  - name: created_at
260
  dtype: string
261
  - name: annotator_genre
 
13
  - cc0-1.0
14
  multilinguality:
15
  - multilingual
 
16
  size_categories:
17
  - 10K<n<100K
18
  - 1K<n<10K
 
27
  - multi-label-classification
28
  - language-modeling
29
  - masked-language-modeling
30
+ pretty_name: British Library Books Genre
31
  configs:
32
  - annotated_raw
33
  - raw
 
43
  dtype:
44
  class_label:
45
  names:
46
+ '0': Fiction
47
+ '1': Non-fiction
48
  splits:
49
  - name: train
50
  num_bytes: 187600
 
143
  dtype:
144
  class_label:
145
  names:
146
+ '0': Monograph
147
+ '1': Serial
148
  - name: created_at
149
  dtype: timestamp[s]
150
  - name: annotator_genre
151
  dtype:
152
  class_label:
153
  names:
154
+ '0': Fiction
155
+ '1': Can't tell
156
+ '2': Non-fiction
157
+ '3': The book contains both Fiction and Non-Fiction
158
  splits:
159
  - name: train
160
  num_bytes: 3583138
 
253
  dtype:
254
  class_label:
255
  names:
256
+ '0': Monograph
257
+ '1': Serial
258
+ '2': Monographic component part
259
  - name: created_at
260
  dtype: string
261
  - name: annotator_genre