albertvillanova HF staff commited on
Commit
9bc166e
1 Parent(s): b8e850a

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 +92 -93
README.md CHANGED
@@ -22,7 +22,6 @@ task_ids:
22
  - named-entity-recognition
23
  - slot-filling
24
  - topic-classification
25
- paperswithcode_id: null
26
  pretty_name: SofcMaterialsArticles
27
  dataset_info:
28
  features:
@@ -54,69 +53,69 @@ dataset_info:
54
  sequence:
55
  class_label:
56
  names:
57
- 0: B-DEVICE
58
- 1: B-EXPERIMENT
59
- 2: B-MATERIAL
60
- 3: B-VALUE
61
- 4: I-DEVICE
62
- 5: I-EXPERIMENT
63
- 6: I-MATERIAL
64
- 7: I-VALUE
65
- 8: O
66
  - name: slot_labels
67
  sequence:
68
  sequence:
69
  class_label:
70
  names:
71
- 0: B-anode_material
72
- 1: B-cathode_material
73
- 2: B-conductivity
74
- 3: B-current_density
75
- 4: B-degradation_rate
76
- 5: B-device
77
- 6: B-electrolyte_material
78
- 7: B-experiment_evoking_word
79
- 8: B-fuel_used
80
- 9: B-interlayer_material
81
- 10: B-interconnect_material
82
- 11: B-open_circuit_voltage
83
- 12: B-power_density
84
- 13: B-resistance
85
- 14: B-support_material
86
- 15: B-thickness
87
- 16: B-time_of_operation
88
- 17: B-voltage
89
- 18: B-working_temperature
90
- 19: I-anode_material
91
- 20: I-cathode_material
92
- 21: I-conductivity
93
- 22: I-current_density
94
- 23: I-degradation_rate
95
- 24: I-device
96
- 25: I-electrolyte_material
97
- 26: I-experiment_evoking_word
98
- 27: I-fuel_used
99
- 28: I-interlayer_material
100
- 29: I-interconnect_material
101
- 30: I-open_circuit_voltage
102
- 31: I-power_density
103
- 32: I-resistance
104
- 33: I-support_material
105
- 34: I-thickness
106
- 35: I-time_of_operation
107
- 36: I-voltage
108
- 37: I-working_temperature
109
- 38: O
110
  - name: links
111
  sequence:
112
  - name: relation_label
113
  dtype:
114
  class_label:
115
  names:
116
- 0: coreference
117
- 1: experiment_variation
118
- 2: same_experiment
119
- 3: thickness
120
  - name: start_span_id
121
  dtype: int64
122
  - name: end_span_id
@@ -127,21 +126,21 @@ dataset_info:
127
  dtype:
128
  class_label:
129
  names:
130
- 0: anode_material
131
- 1: cathode_material
132
- 2: current_density
133
- 3: degradation_rate
134
- 4: device
135
- 5: electrolyte_material
136
- 6: fuel_used
137
- 7: interlayer_material
138
- 8: open_circuit_voltage
139
- 9: power_density
140
- 10: resistance
141
- 11: support_material
142
- 12: time_of_operation
143
- 13: voltage
144
- 14: working_temperature
145
  - name: slot_id
146
  dtype: int64
147
  - name: spans
@@ -152,21 +151,21 @@ dataset_info:
152
  dtype:
153
  class_label:
154
  names:
155
- 0: ''
156
- 1: DEVICE
157
- 2: MATERIAL
158
- 3: VALUE
159
  - name: sentence_id
160
  dtype: int64
161
  - name: experiment_mention_type
162
  dtype:
163
  class_label:
164
  names:
165
- 0: ''
166
- 1: current_exp
167
- 2: future_work
168
- 3: general_info
169
- 4: previous_work
170
  - name: begin_char_offset
171
  dtype: int64
172
  - name: end_char_offset
@@ -183,22 +182,22 @@ dataset_info:
183
  dtype:
184
  class_label:
185
  names:
186
- 0: anode_material
187
- 1: cathode_material
188
- 2: current_density
189
- 3: degradation_rate
190
- 4: conductivity
191
- 5: device
192
- 6: electrolyte_material
193
- 7: fuel_used
194
- 8: interlayer_material
195
- 9: open_circuit_voltage
196
- 10: power_density
197
- 11: resistance
198
- 12: support_material
199
- 13: time_of_operation
200
- 14: voltage
201
- 15: working_temperature
202
  - name: slot_id
203
  dtype: int64
204
  splits:
 
22
  - named-entity-recognition
23
  - slot-filling
24
  - topic-classification
 
25
  pretty_name: SofcMaterialsArticles
26
  dataset_info:
27
  features:
 
53
  sequence:
54
  class_label:
55
  names:
56
+ '0': B-DEVICE
57
+ '1': B-EXPERIMENT
58
+ '2': B-MATERIAL
59
+ '3': B-VALUE
60
+ '4': I-DEVICE
61
+ '5': I-EXPERIMENT
62
+ '6': I-MATERIAL
63
+ '7': I-VALUE
64
+ '8': O
65
  - name: slot_labels
66
  sequence:
67
  sequence:
68
  class_label:
69
  names:
70
+ '0': B-anode_material
71
+ '1': B-cathode_material
72
+ '2': B-conductivity
73
+ '3': B-current_density
74
+ '4': B-degradation_rate
75
+ '5': B-device
76
+ '6': B-electrolyte_material
77
+ '7': B-experiment_evoking_word
78
+ '8': B-fuel_used
79
+ '9': B-interlayer_material
80
+ '10': B-interconnect_material
81
+ '11': B-open_circuit_voltage
82
+ '12': B-power_density
83
+ '13': B-resistance
84
+ '14': B-support_material
85
+ '15': B-thickness
86
+ '16': B-time_of_operation
87
+ '17': B-voltage
88
+ '18': B-working_temperature
89
+ '19': I-anode_material
90
+ '20': I-cathode_material
91
+ '21': I-conductivity
92
+ '22': I-current_density
93
+ '23': I-degradation_rate
94
+ '24': I-device
95
+ '25': I-electrolyte_material
96
+ '26': I-experiment_evoking_word
97
+ '27': I-fuel_used
98
+ '28': I-interlayer_material
99
+ '29': I-interconnect_material
100
+ '30': I-open_circuit_voltage
101
+ '31': I-power_density
102
+ '32': I-resistance
103
+ '33': I-support_material
104
+ '34': I-thickness
105
+ '35': I-time_of_operation
106
+ '36': I-voltage
107
+ '37': I-working_temperature
108
+ '38': O
109
  - name: links
110
  sequence:
111
  - name: relation_label
112
  dtype:
113
  class_label:
114
  names:
115
+ '0': coreference
116
+ '1': experiment_variation
117
+ '2': same_experiment
118
+ '3': thickness
119
  - name: start_span_id
120
  dtype: int64
121
  - name: end_span_id
 
126
  dtype:
127
  class_label:
128
  names:
129
+ '0': anode_material
130
+ '1': cathode_material
131
+ '2': current_density
132
+ '3': degradation_rate
133
+ '4': device
134
+ '5': electrolyte_material
135
+ '6': fuel_used
136
+ '7': interlayer_material
137
+ '8': open_circuit_voltage
138
+ '9': power_density
139
+ '10': resistance
140
+ '11': support_material
141
+ '12': time_of_operation
142
+ '13': voltage
143
+ '14': working_temperature
144
  - name: slot_id
145
  dtype: int64
146
  - name: spans
 
151
  dtype:
152
  class_label:
153
  names:
154
+ '0': ''
155
+ '1': DEVICE
156
+ '2': MATERIAL
157
+ '3': VALUE
158
  - name: sentence_id
159
  dtype: int64
160
  - name: experiment_mention_type
161
  dtype:
162
  class_label:
163
  names:
164
+ '0': ''
165
+ '1': current_exp
166
+ '2': future_work
167
+ '3': general_info
168
+ '4': previous_work
169
  - name: begin_char_offset
170
  dtype: int64
171
  - name: end_char_offset
 
182
  dtype:
183
  class_label:
184
  names:
185
+ '0': anode_material
186
+ '1': cathode_material
187
+ '2': current_density
188
+ '3': degradation_rate
189
+ '4': conductivity
190
+ '5': device
191
+ '6': electrolyte_material
192
+ '7': fuel_used
193
+ '8': interlayer_material
194
+ '9': open_circuit_voltage
195
+ '10': power_density
196
+ '11': resistance
197
+ '12': support_material
198
+ '13': time_of_operation
199
+ '14': voltage
200
+ '15': working_temperature
201
  - name: slot_id
202
  dtype: int64
203
  splits: