Felix commited on
Commit
b0d9e5e
1 Parent(s): eceb157

try more verbose dalaj-ged meta typing

Browse files
Files changed (1) hide show
  1. superlim-2.py +8 -2
superlim-2.py CHANGED
@@ -208,8 +208,14 @@ class SuperLim(datasets.GeneratorBasedBuilder):
208
  "sentence": datasets.Value("string"),
209
  "label": datasets.ClassLabel(num_classes=2, names=['correct', 'incorrect']),
210
  "meta": datasets.Features({
211
- 'error_span': datasets.Value("string"),
212
- 'confusion_pair': datasets.Value("string"),
 
 
 
 
 
 
213
  'error_label': datasets.Value("string"),
214
  'education_level': datasets.Value("string"),
215
  'l1': datasets.Value("string"),
 
208
  "sentence": datasets.Value("string"),
209
  "label": datasets.ClassLabel(num_classes=2, names=['correct', 'incorrect']),
210
  "meta": datasets.Features({
211
+ 'error_span': datasets.Features({
212
+ 'start': datasets.Value(dtype='int64'),
213
+ 'stop': datasets.Value(dtype='int64')
214
+ }),
215
+ 'confusion_pair': datasets.Features({
216
+ 'incorrect_span': datasets.Value("string"),
217
+ 'correction': datasets.Value('string')
218
+ }),
219
  'error_label': datasets.Value("string"),
220
  'education_level': datasets.Value("string"),
221
  'l1': datasets.Value("string"),