albertvillanova HF staff commited on
Commit
e62234e
1 Parent(s): 2ca19bc

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 +19 -19
README.md CHANGED
@@ -16,7 +16,6 @@ license:
16
  - cc0-1.0
17
  multilinguality:
18
  - multilingual
19
- pretty_name: BnL Historical Newspapers
20
  size_categories:
21
  - 100K<n<1M
22
  source_datasets:
@@ -27,6 +26,7 @@ task_categories:
27
  task_ids:
28
  - language-modeling
29
  - masked-language-modeling
 
30
  dataset_info:
31
  features:
32
  - name: id
@@ -51,24 +51,24 @@ dataset_info:
51
  dtype:
52
  class_label:
53
  names:
54
- 0: ADVERTISEMENT_SECTION
55
- 1: BIBLIOGRAPHY
56
- 2: CHAPTER
57
- 3: INDEX
58
- 4: CONTRIBUTION
59
- 5: TABLE_OF_CONTENTS
60
- 6: WEATHER
61
- 7: SHIPPING
62
- 8: SECTION
63
- 9: ARTICLE
64
- 10: TITLE_SECTION
65
- 11: DEATH_NOTICE
66
- 12: SUPPLEMENT
67
- 13: TABLE
68
- 14: ADVERTISEMENT
69
- 15: CHART_DIAGRAM
70
- 16: ILLUSTRATION
71
- 17: ISSUE
72
  - name: extent
73
  dtype: int32
74
  config_name: processed
 
16
  - cc0-1.0
17
  multilinguality:
18
  - multilingual
 
19
  size_categories:
20
  - 100K<n<1M
21
  source_datasets:
 
26
  task_ids:
27
  - language-modeling
28
  - masked-language-modeling
29
+ pretty_name: BnL Historical Newspapers
30
  dataset_info:
31
  features:
32
  - name: id
 
51
  dtype:
52
  class_label:
53
  names:
54
+ '0': ADVERTISEMENT_SECTION
55
+ '1': BIBLIOGRAPHY
56
+ '2': CHAPTER
57
+ '3': INDEX
58
+ '4': CONTRIBUTION
59
+ '5': TABLE_OF_CONTENTS
60
+ '6': WEATHER
61
+ '7': SHIPPING
62
+ '8': SECTION
63
+ '9': ARTICLE
64
+ '10': TITLE_SECTION
65
+ '11': DEATH_NOTICE
66
+ '12': SUPPLEMENT
67
+ '13': TABLE
68
+ '14': ADVERTISEMENT
69
+ '15': CHART_DIAGRAM
70
+ '16': ILLUSTRATION
71
+ '17': ISSUE
72
  - name: extent
73
  dtype: int32
74
  config_name: processed