albertvillanova HF staff commited on
Commit
10b0efc
1 Parent(s): 45b775a

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 +102 -103
README.md CHANGED
@@ -17,7 +17,6 @@ task_categories:
17
  - token-classification
18
  task_ids:
19
  - named-entity-recognition
20
- paperswithcode_id: null
21
  pretty_name: Norwegian NER
22
  dataset_info:
23
  - config_name: bokmaal
@@ -34,44 +33,44 @@ dataset_info:
34
  sequence:
35
  class_label:
36
  names:
37
- 0: NOUN
38
- 1: PUNCT
39
- 2: ADP
40
- 3: NUM
41
- 4: SYM
42
- 5: SCONJ
43
- 6: ADJ
44
- 7: PART
45
- 8: DET
46
- 9: CCONJ
47
- 10: PROPN
48
- 11: PRON
49
- 12: X
50
- 13: ADV
51
- 14: INTJ
52
- 15: VERB
53
- 16: AUX
54
  - name: ner_tags
55
  sequence:
56
  class_label:
57
  names:
58
- 0: O
59
- 1: B-OTH
60
- 2: I-OTH
61
- 3: E-OTH
62
- 4: S-OTH
63
- 5: B-ORG
64
- 6: I-ORG
65
- 7: E-ORG
66
- 8: S-ORG
67
- 9: B-PRS
68
- 10: I-PRS
69
- 11: E-PRS
70
- 12: S-PRS
71
- 13: B-GEO
72
- 14: I-GEO
73
- 15: E-GEO
74
- 16: S-GEO
75
  splits:
76
  - name: train
77
  num_bytes: 9859760
@@ -98,44 +97,44 @@ dataset_info:
98
  sequence:
99
  class_label:
100
  names:
101
- 0: NOUN
102
- 1: PUNCT
103
- 2: ADP
104
- 3: NUM
105
- 4: SYM
106
- 5: SCONJ
107
- 6: ADJ
108
- 7: PART
109
- 8: DET
110
- 9: CCONJ
111
- 10: PROPN
112
- 11: PRON
113
- 12: X
114
- 13: ADV
115
- 14: INTJ
116
- 15: VERB
117
- 16: AUX
118
  - name: ner_tags
119
  sequence:
120
  class_label:
121
  names:
122
- 0: O
123
- 1: B-OTH
124
- 2: I-OTH
125
- 3: E-OTH
126
- 4: S-OTH
127
- 5: B-ORG
128
- 6: I-ORG
129
- 7: E-ORG
130
- 8: S-ORG
131
- 9: B-PRS
132
- 10: I-PRS
133
- 11: E-PRS
134
- 12: S-PRS
135
- 13: B-GEO
136
- 14: I-GEO
137
- 15: E-GEO
138
- 16: S-GEO
139
  splits:
140
  - name: train
141
  num_bytes: 9916338
@@ -162,44 +161,44 @@ dataset_info:
162
  sequence:
163
  class_label:
164
  names:
165
- 0: NOUN
166
- 1: PUNCT
167
- 2: ADP
168
- 3: NUM
169
- 4: SYM
170
- 5: SCONJ
171
- 6: ADJ
172
- 7: PART
173
- 8: DET
174
- 9: CCONJ
175
- 10: PROPN
176
- 11: PRON
177
- 12: X
178
- 13: ADV
179
- 14: INTJ
180
- 15: VERB
181
- 16: AUX
182
  - name: ner_tags
183
  sequence:
184
  class_label:
185
  names:
186
- 0: O
187
- 1: B-OTH
188
- 2: I-OTH
189
- 3: E-OTH
190
- 4: S-OTH
191
- 5: B-ORG
192
- 6: I-ORG
193
- 7: E-ORG
194
- 8: S-ORG
195
- 9: B-PRS
196
- 10: I-PRS
197
- 11: E-PRS
198
- 12: S-PRS
199
- 13: B-GEO
200
- 14: I-GEO
201
- 15: E-GEO
202
- 16: S-GEO
203
  splits:
204
  - name: train
205
  num_bytes: 22508485
 
17
  - token-classification
18
  task_ids:
19
  - named-entity-recognition
 
20
  pretty_name: Norwegian NER
21
  dataset_info:
22
  - config_name: bokmaal
 
33
  sequence:
34
  class_label:
35
  names:
36
+ '0': NOUN
37
+ '1': PUNCT
38
+ '2': ADP
39
+ '3': NUM
40
+ '4': SYM
41
+ '5': SCONJ
42
+ '6': ADJ
43
+ '7': PART
44
+ '8': DET
45
+ '9': CCONJ
46
+ '10': PROPN
47
+ '11': PRON
48
+ '12': X
49
+ '13': ADV
50
+ '14': INTJ
51
+ '15': VERB
52
+ '16': AUX
53
  - name: ner_tags
54
  sequence:
55
  class_label:
56
  names:
57
+ '0': O
58
+ '1': B-OTH
59
+ '2': I-OTH
60
+ '3': E-OTH
61
+ '4': S-OTH
62
+ '5': B-ORG
63
+ '6': I-ORG
64
+ '7': E-ORG
65
+ '8': S-ORG
66
+ '9': B-PRS
67
+ '10': I-PRS
68
+ '11': E-PRS
69
+ '12': S-PRS
70
+ '13': B-GEO
71
+ '14': I-GEO
72
+ '15': E-GEO
73
+ '16': S-GEO
74
  splits:
75
  - name: train
76
  num_bytes: 9859760
 
97
  sequence:
98
  class_label:
99
  names:
100
+ '0': NOUN
101
+ '1': PUNCT
102
+ '2': ADP
103
+ '3': NUM
104
+ '4': SYM
105
+ '5': SCONJ
106
+ '6': ADJ
107
+ '7': PART
108
+ '8': DET
109
+ '9': CCONJ
110
+ '10': PROPN
111
+ '11': PRON
112
+ '12': X
113
+ '13': ADV
114
+ '14': INTJ
115
+ '15': VERB
116
+ '16': AUX
117
  - name: ner_tags
118
  sequence:
119
  class_label:
120
  names:
121
+ '0': O
122
+ '1': B-OTH
123
+ '2': I-OTH
124
+ '3': E-OTH
125
+ '4': S-OTH
126
+ '5': B-ORG
127
+ '6': I-ORG
128
+ '7': E-ORG
129
+ '8': S-ORG
130
+ '9': B-PRS
131
+ '10': I-PRS
132
+ '11': E-PRS
133
+ '12': S-PRS
134
+ '13': B-GEO
135
+ '14': I-GEO
136
+ '15': E-GEO
137
+ '16': S-GEO
138
  splits:
139
  - name: train
140
  num_bytes: 9916338
 
161
  sequence:
162
  class_label:
163
  names:
164
+ '0': NOUN
165
+ '1': PUNCT
166
+ '2': ADP
167
+ '3': NUM
168
+ '4': SYM
169
+ '5': SCONJ
170
+ '6': ADJ
171
+ '7': PART
172
+ '8': DET
173
+ '9': CCONJ
174
+ '10': PROPN
175
+ '11': PRON
176
+ '12': X
177
+ '13': ADV
178
+ '14': INTJ
179
+ '15': VERB
180
+ '16': AUX
181
  - name: ner_tags
182
  sequence:
183
  class_label:
184
  names:
185
+ '0': O
186
+ '1': B-OTH
187
+ '2': I-OTH
188
+ '3': E-OTH
189
+ '4': S-OTH
190
+ '5': B-ORG
191
+ '6': I-ORG
192
+ '7': E-ORG
193
+ '8': S-ORG
194
+ '9': B-PRS
195
+ '10': I-PRS
196
+ '11': E-PRS
197
+ '12': S-PRS
198
+ '13': B-GEO
199
+ '14': I-GEO
200
+ '15': E-GEO
201
+ '16': S-GEO
202
  splits:
203
  - name: train
204
  num_bytes: 22508485