Felix commited on
Commit
a81208c
1 Parent(s): b318dab

add proper typing to swesat.candidate_answers

Browse files
Files changed (1) hide show
  1. superlim-2.py +4 -1
superlim-2.py CHANGED
@@ -286,7 +286,10 @@ class SuperLim(datasets.GeneratorBasedBuilder):
286
  {
287
  "id": datasets.Value("string"),
288
  "item": datasets.Value("string"),
289
- "candidate_answers": datasets.Value("string"),
 
 
 
290
  "label": datasets.Value("string"),
291
  "meta": datasets.Value("string")
292
  }
 
286
  {
287
  "id": datasets.Value("string"),
288
  "item": datasets.Value("string"),
289
+ "candidate_answers": datasets.Sequence(
290
+ datasets.Value("string"),
291
+ length=5)
292
+ ,
293
  "label": datasets.Value("string"),
294
  "meta": datasets.Value("string")
295
  }