albertvillanova HF staff commited on
Commit
1b62edf
1 Parent(s): dc0d2a2

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 +286 -286
README.md CHANGED
@@ -11,8 +11,6 @@ license:
11
  - cc-by-nc-nd-4.0
12
  multilinguality:
13
  - multilingual
14
- paperswithcode_id: ontonotes-5-0
15
- pretty_name: CoNLL2012 shared task data based on OntoNotes 5.0
16
  size_categories:
17
  - 10K<n<100K
18
  source_datasets:
@@ -26,6 +24,8 @@ task_ids:
26
  - parsing
27
  - lemmatization
28
  - word-sense-disambiguation
 
 
29
  tags:
30
  - semantic-role-labeling
31
  dataset_info:
@@ -43,55 +43,55 @@ dataset_info:
43
  sequence:
44
  class_label:
45
  names:
46
- 0: XX
47
- 1: '``'
48
- 2: $
49
- 3: ''''''
50
- 4: ','
51
- 5: -LRB-
52
- 6: -RRB-
53
- 7: .
54
- 8: ':'
55
- 9: ADD
56
- 10: AFX
57
- 11: CC
58
- 12: CD
59
- 13: DT
60
- 14: EX
61
- 15: FW
62
- 16: HYPH
63
- 17: IN
64
- 18: JJ
65
- 19: JJR
66
- 20: JJS
67
- 21: LS
68
- 22: MD
69
- 23: NFP
70
- 24: NN
71
- 25: NNP
72
- 26: NNPS
73
- 27: NNS
74
- 28: PDT
75
- 29: POS
76
- 30: PRP
77
- 31: PRP$
78
- 32: RB
79
- 33: RBR
80
- 34: RBS
81
- 35: RP
82
- 36: SYM
83
- 37: TO
84
- 38: UH
85
- 39: VB
86
- 40: VBD
87
- 41: VBG
88
- 42: VBN
89
- 43: VBP
90
- 44: VBZ
91
- 45: WDT
92
- 46: WP
93
- 47: WP$
94
- 48: WRB
95
  - name: parse_tree
96
  dtype: string
97
  - name: predicate_lemmas
@@ -106,43 +106,43 @@ dataset_info:
106
  sequence:
107
  class_label:
108
  names:
109
- 0: O
110
- 1: B-PERSON
111
- 2: I-PERSON
112
- 3: B-NORP
113
- 4: I-NORP
114
- 5: B-FAC
115
- 6: I-FAC
116
- 7: B-ORG
117
- 8: I-ORG
118
- 9: B-GPE
119
- 10: I-GPE
120
- 11: B-LOC
121
- 12: I-LOC
122
- 13: B-PRODUCT
123
- 14: I-PRODUCT
124
- 15: B-DATE
125
- 16: I-DATE
126
- 17: B-TIME
127
- 18: I-TIME
128
- 19: B-PERCENT
129
- 20: I-PERCENT
130
- 21: B-MONEY
131
- 22: I-MONEY
132
- 23: B-QUANTITY
133
- 24: I-QUANTITY
134
- 25: B-ORDINAL
135
- 26: I-ORDINAL
136
- 27: B-CARDINAL
137
- 28: I-CARDINAL
138
- 29: B-EVENT
139
- 30: I-EVENT
140
- 31: B-WORK_OF_ART
141
- 32: I-WORK_OF_ART
142
- 33: B-LAW
143
- 34: I-LAW
144
- 35: B-LANGUAGE
145
- 36: I-LANGUAGE
146
  - name: srl_frames
147
  list:
148
  - name: verb
@@ -179,42 +179,42 @@ dataset_info:
179
  sequence:
180
  class_label:
181
  names:
182
- 0: X
183
- 1: AD
184
- 2: AS
185
- 3: BA
186
- 4: CC
187
- 5: CD
188
- 6: CS
189
- 7: DEC
190
- 8: DEG
191
- 9: DER
192
- 10: DEV
193
- 11: DT
194
- 12: ETC
195
- 13: FW
196
- 14: IJ
197
- 15: INF
198
- 16: JJ
199
- 17: LB
200
- 18: LC
201
- 19: M
202
- 20: MSP
203
- 21: NN
204
- 22: NR
205
- 23: NT
206
- 24: OD
207
- 25: 'ON'
208
- 26: P
209
- 27: PN
210
- 28: PU
211
- 29: SB
212
- 30: SP
213
- 31: URL
214
- 32: VA
215
- 33: VC
216
- 34: VE
217
- 35: VV
218
  - name: parse_tree
219
  dtype: string
220
  - name: predicate_lemmas
@@ -229,43 +229,43 @@ dataset_info:
229
  sequence:
230
  class_label:
231
  names:
232
- 0: O
233
- 1: B-PERSON
234
- 2: I-PERSON
235
- 3: B-NORP
236
- 4: I-NORP
237
- 5: B-FAC
238
- 6: I-FAC
239
- 7: B-ORG
240
- 8: I-ORG
241
- 9: B-GPE
242
- 10: I-GPE
243
- 11: B-LOC
244
- 12: I-LOC
245
- 13: B-PRODUCT
246
- 14: I-PRODUCT
247
- 15: B-DATE
248
- 16: I-DATE
249
- 17: B-TIME
250
- 18: I-TIME
251
- 19: B-PERCENT
252
- 20: I-PERCENT
253
- 21: B-MONEY
254
- 22: I-MONEY
255
- 23: B-QUANTITY
256
- 24: I-QUANTITY
257
- 25: B-ORDINAL
258
- 26: I-ORDINAL
259
- 27: B-CARDINAL
260
- 28: I-CARDINAL
261
- 29: B-EVENT
262
- 30: I-EVENT
263
- 31: B-WORK_OF_ART
264
- 32: I-WORK_OF_ART
265
- 33: B-LAW
266
- 34: I-LAW
267
- 35: B-LANGUAGE
268
- 36: I-LANGUAGE
269
  - name: srl_frames
270
  list:
271
  - name: verb
@@ -314,43 +314,43 @@ dataset_info:
314
  sequence:
315
  class_label:
316
  names:
317
- 0: O
318
- 1: B-PERSON
319
- 2: I-PERSON
320
- 3: B-NORP
321
- 4: I-NORP
322
- 5: B-FAC
323
- 6: I-FAC
324
- 7: B-ORG
325
- 8: I-ORG
326
- 9: B-GPE
327
- 10: I-GPE
328
- 11: B-LOC
329
- 12: I-LOC
330
- 13: B-PRODUCT
331
- 14: I-PRODUCT
332
- 15: B-DATE
333
- 16: I-DATE
334
- 17: B-TIME
335
- 18: I-TIME
336
- 19: B-PERCENT
337
- 20: I-PERCENT
338
- 21: B-MONEY
339
- 22: I-MONEY
340
- 23: B-QUANTITY
341
- 24: I-QUANTITY
342
- 25: B-ORDINAL
343
- 26: I-ORDINAL
344
- 27: B-CARDINAL
345
- 28: I-CARDINAL
346
- 29: B-EVENT
347
- 30: I-EVENT
348
- 31: B-WORK_OF_ART
349
- 32: I-WORK_OF_ART
350
- 33: B-LAW
351
- 34: I-LAW
352
- 35: B-LANGUAGE
353
- 36: I-LANGUAGE
354
  - name: srl_frames
355
  list:
356
  - name: verb
@@ -387,57 +387,57 @@ dataset_info:
387
  sequence:
388
  class_label:
389
  names:
390
- 0: XX
391
- 1: '``'
392
- 2: $
393
- 3: ''''''
394
- 4: '*'
395
- 5: ','
396
- 6: -LRB-
397
- 7: -RRB-
398
- 8: .
399
- 9: ':'
400
- 10: ADD
401
- 11: AFX
402
- 12: CC
403
- 13: CD
404
- 14: DT
405
- 15: EX
406
- 16: FW
407
- 17: HYPH
408
- 18: IN
409
- 19: JJ
410
- 20: JJR
411
- 21: JJS
412
- 22: LS
413
- 23: MD
414
- 24: NFP
415
- 25: NN
416
- 26: NNP
417
- 27: NNPS
418
- 28: NNS
419
- 29: PDT
420
- 30: POS
421
- 31: PRP
422
- 32: PRP$
423
- 33: RB
424
- 34: RBR
425
- 35: RBS
426
- 36: RP
427
- 37: SYM
428
- 38: TO
429
- 39: UH
430
- 40: VB
431
- 41: VBD
432
- 42: VBG
433
- 43: VBN
434
- 44: VBP
435
- 45: VBZ
436
- 46: VERB
437
- 47: WDT
438
- 48: WP
439
- 49: WP$
440
- 50: WRB
441
  - name: parse_tree
442
  dtype: string
443
  - name: predicate_lemmas
@@ -452,43 +452,43 @@ dataset_info:
452
  sequence:
453
  class_label:
454
  names:
455
- 0: O
456
- 1: B-PERSON
457
- 2: I-PERSON
458
- 3: B-NORP
459
- 4: I-NORP
460
- 5: B-FAC
461
- 6: I-FAC
462
- 7: B-ORG
463
- 8: I-ORG
464
- 9: B-GPE
465
- 10: I-GPE
466
- 11: B-LOC
467
- 12: I-LOC
468
- 13: B-PRODUCT
469
- 14: I-PRODUCT
470
- 15: B-DATE
471
- 16: I-DATE
472
- 17: B-TIME
473
- 18: I-TIME
474
- 19: B-PERCENT
475
- 20: I-PERCENT
476
- 21: B-MONEY
477
- 22: I-MONEY
478
- 23: B-QUANTITY
479
- 24: I-QUANTITY
480
- 25: B-ORDINAL
481
- 26: I-ORDINAL
482
- 27: B-CARDINAL
483
- 28: I-CARDINAL
484
- 29: B-EVENT
485
- 30: I-EVENT
486
- 31: B-WORK_OF_ART
487
- 32: I-WORK_OF_ART
488
- 33: B-LAW
489
- 34: I-LAW
490
- 35: B-LANGUAGE
491
- 36: I-LANGUAGE
492
  - name: srl_frames
493
  list:
494
  - name: verb
 
11
  - cc-by-nc-nd-4.0
12
  multilinguality:
13
  - multilingual
 
 
14
  size_categories:
15
  - 10K<n<100K
16
  source_datasets:
 
24
  - parsing
25
  - lemmatization
26
  - word-sense-disambiguation
27
+ paperswithcode_id: ontonotes-5-0
28
+ pretty_name: CoNLL2012 shared task data based on OntoNotes 5.0
29
  tags:
30
  - semantic-role-labeling
31
  dataset_info:
 
43
  sequence:
44
  class_label:
45
  names:
46
+ '0': XX
47
+ '1': '``'
48
+ '2': $
49
+ '3': ''''''
50
+ '4': ','
51
+ '5': -LRB-
52
+ '6': -RRB-
53
+ '7': .
54
+ '8': ':'
55
+ '9': ADD
56
+ '10': AFX
57
+ '11': CC
58
+ '12': CD
59
+ '13': DT
60
+ '14': EX
61
+ '15': FW
62
+ '16': HYPH
63
+ '17': IN
64
+ '18': JJ
65
+ '19': JJR
66
+ '20': JJS
67
+ '21': LS
68
+ '22': MD
69
+ '23': NFP
70
+ '24': NN
71
+ '25': NNP
72
+ '26': NNPS
73
+ '27': NNS
74
+ '28': PDT
75
+ '29': POS
76
+ '30': PRP
77
+ '31': PRP$
78
+ '32': RB
79
+ '33': RBR
80
+ '34': RBS
81
+ '35': RP
82
+ '36': SYM
83
+ '37': TO
84
+ '38': UH
85
+ '39': VB
86
+ '40': VBD
87
+ '41': VBG
88
+ '42': VBN
89
+ '43': VBP
90
+ '44': VBZ
91
+ '45': WDT
92
+ '46': WP
93
+ '47': WP$
94
+ '48': WRB
95
  - name: parse_tree
96
  dtype: string
97
  - name: predicate_lemmas
 
106
  sequence:
107
  class_label:
108
  names:
109
+ '0': O
110
+ '1': B-PERSON
111
+ '2': I-PERSON
112
+ '3': B-NORP
113
+ '4': I-NORP
114
+ '5': B-FAC
115
+ '6': I-FAC
116
+ '7': B-ORG
117
+ '8': I-ORG
118
+ '9': B-GPE
119
+ '10': I-GPE
120
+ '11': B-LOC
121
+ '12': I-LOC
122
+ '13': B-PRODUCT
123
+ '14': I-PRODUCT
124
+ '15': B-DATE
125
+ '16': I-DATE
126
+ '17': B-TIME
127
+ '18': I-TIME
128
+ '19': B-PERCENT
129
+ '20': I-PERCENT
130
+ '21': B-MONEY
131
+ '22': I-MONEY
132
+ '23': B-QUANTITY
133
+ '24': I-QUANTITY
134
+ '25': B-ORDINAL
135
+ '26': I-ORDINAL
136
+ '27': B-CARDINAL
137
+ '28': I-CARDINAL
138
+ '29': B-EVENT
139
+ '30': I-EVENT
140
+ '31': B-WORK_OF_ART
141
+ '32': I-WORK_OF_ART
142
+ '33': B-LAW
143
+ '34': I-LAW
144
+ '35': B-LANGUAGE
145
+ '36': I-LANGUAGE
146
  - name: srl_frames
147
  list:
148
  - name: verb
 
179
  sequence:
180
  class_label:
181
  names:
182
+ '0': X
183
+ '1': AD
184
+ '2': AS
185
+ '3': BA
186
+ '4': CC
187
+ '5': CD
188
+ '6': CS
189
+ '7': DEC
190
+ '8': DEG
191
+ '9': DER
192
+ '10': DEV
193
+ '11': DT
194
+ '12': ETC
195
+ '13': FW
196
+ '14': IJ
197
+ '15': INF
198
+ '16': JJ
199
+ '17': LB
200
+ '18': LC
201
+ '19': M
202
+ '20': MSP
203
+ '21': NN
204
+ '22': NR
205
+ '23': NT
206
+ '24': OD
207
+ '25': 'ON'
208
+ '26': P
209
+ '27': PN
210
+ '28': PU
211
+ '29': SB
212
+ '30': SP
213
+ '31': URL
214
+ '32': VA
215
+ '33': VC
216
+ '34': VE
217
+ '35': VV
218
  - name: parse_tree
219
  dtype: string
220
  - name: predicate_lemmas
 
229
  sequence:
230
  class_label:
231
  names:
232
+ '0': O
233
+ '1': B-PERSON
234
+ '2': I-PERSON
235
+ '3': B-NORP
236
+ '4': I-NORP
237
+ '5': B-FAC
238
+ '6': I-FAC
239
+ '7': B-ORG
240
+ '8': I-ORG
241
+ '9': B-GPE
242
+ '10': I-GPE
243
+ '11': B-LOC
244
+ '12': I-LOC
245
+ '13': B-PRODUCT
246
+ '14': I-PRODUCT
247
+ '15': B-DATE
248
+ '16': I-DATE
249
+ '17': B-TIME
250
+ '18': I-TIME
251
+ '19': B-PERCENT
252
+ '20': I-PERCENT
253
+ '21': B-MONEY
254
+ '22': I-MONEY
255
+ '23': B-QUANTITY
256
+ '24': I-QUANTITY
257
+ '25': B-ORDINAL
258
+ '26': I-ORDINAL
259
+ '27': B-CARDINAL
260
+ '28': I-CARDINAL
261
+ '29': B-EVENT
262
+ '30': I-EVENT
263
+ '31': B-WORK_OF_ART
264
+ '32': I-WORK_OF_ART
265
+ '33': B-LAW
266
+ '34': I-LAW
267
+ '35': B-LANGUAGE
268
+ '36': I-LANGUAGE
269
  - name: srl_frames
270
  list:
271
  - name: verb
 
314
  sequence:
315
  class_label:
316
  names:
317
+ '0': O
318
+ '1': B-PERSON
319
+ '2': I-PERSON
320
+ '3': B-NORP
321
+ '4': I-NORP
322
+ '5': B-FAC
323
+ '6': I-FAC
324
+ '7': B-ORG
325
+ '8': I-ORG
326
+ '9': B-GPE
327
+ '10': I-GPE
328
+ '11': B-LOC
329
+ '12': I-LOC
330
+ '13': B-PRODUCT
331
+ '14': I-PRODUCT
332
+ '15': B-DATE
333
+ '16': I-DATE
334
+ '17': B-TIME
335
+ '18': I-TIME
336
+ '19': B-PERCENT
337
+ '20': I-PERCENT
338
+ '21': B-MONEY
339
+ '22': I-MONEY
340
+ '23': B-QUANTITY
341
+ '24': I-QUANTITY
342
+ '25': B-ORDINAL
343
+ '26': I-ORDINAL
344
+ '27': B-CARDINAL
345
+ '28': I-CARDINAL
346
+ '29': B-EVENT
347
+ '30': I-EVENT
348
+ '31': B-WORK_OF_ART
349
+ '32': I-WORK_OF_ART
350
+ '33': B-LAW
351
+ '34': I-LAW
352
+ '35': B-LANGUAGE
353
+ '36': I-LANGUAGE
354
  - name: srl_frames
355
  list:
356
  - name: verb
 
387
  sequence:
388
  class_label:
389
  names:
390
+ '0': XX
391
+ '1': '``'
392
+ '2': $
393
+ '3': ''''''
394
+ '4': '*'
395
+ '5': ','
396
+ '6': -LRB-
397
+ '7': -RRB-
398
+ '8': .
399
+ '9': ':'
400
+ '10': ADD
401
+ '11': AFX
402
+ '12': CC
403
+ '13': CD
404
+ '14': DT
405
+ '15': EX
406
+ '16': FW
407
+ '17': HYPH
408
+ '18': IN
409
+ '19': JJ
410
+ '20': JJR
411
+ '21': JJS
412
+ '22': LS
413
+ '23': MD
414
+ '24': NFP
415
+ '25': NN
416
+ '26': NNP
417
+ '27': NNPS
418
+ '28': NNS
419
+ '29': PDT
420
+ '30': POS
421
+ '31': PRP
422
+ '32': PRP$
423
+ '33': RB
424
+ '34': RBR
425
+ '35': RBS
426
+ '36': RP
427
+ '37': SYM
428
+ '38': TO
429
+ '39': UH
430
+ '40': VB
431
+ '41': VBD
432
+ '42': VBG
433
+ '43': VBN
434
+ '44': VBP
435
+ '45': VBZ
436
+ '46': VERB
437
+ '47': WDT
438
+ '48': WP
439
+ '49': WP$
440
+ '50': WRB
441
  - name: parse_tree
442
  dtype: string
443
  - name: predicate_lemmas
 
452
  sequence:
453
  class_label:
454
  names:
455
+ '0': O
456
+ '1': B-PERSON
457
+ '2': I-PERSON
458
+ '3': B-NORP
459
+ '4': I-NORP
460
+ '5': B-FAC
461
+ '6': I-FAC
462
+ '7': B-ORG
463
+ '8': I-ORG
464
+ '9': B-GPE
465
+ '10': I-GPE
466
+ '11': B-LOC
467
+ '12': I-LOC
468
+ '13': B-PRODUCT
469
+ '14': I-PRODUCT
470
+ '15': B-DATE
471
+ '16': I-DATE
472
+ '17': B-TIME
473
+ '18': I-TIME
474
+ '19': B-PERCENT
475
+ '20': I-PERCENT
476
+ '21': B-MONEY
477
+ '22': I-MONEY
478
+ '23': B-QUANTITY
479
+ '24': I-QUANTITY
480
+ '25': B-ORDINAL
481
+ '26': I-ORDINAL
482
+ '27': B-CARDINAL
483
+ '28': I-CARDINAL
484
+ '29': B-EVENT
485
+ '30': I-EVENT
486
+ '31': B-WORK_OF_ART
487
+ '32': I-WORK_OF_ART
488
+ '33': B-LAW
489
+ '34': I-LAW
490
+ '35': B-LANGUAGE
491
+ '36': I-LANGUAGE
492
  - name: srl_frames
493
  list:
494
  - name: verb