baber commited on
Commit
17ecaab
·
1 Parent(s): 01034fb

Update testing.py

Browse files
Files changed (1) hide show
  1. testing.py +1 -1
testing.py CHANGED
@@ -123,7 +123,7 @@ class LogiQA2(datasets.GeneratorBasedBuilder):
123
  "answer": datasets.Value("int32"),
124
  "text": datasets.Value("string"),
125
  # "type" is a dict with arbitrary keys and values
126
- "type": datasets.Value("string"),
127
  "question": datasets.Value("string"),
128
  "options": datasets.features.Sequence(datasets.Value("string")),
129
  }
 
123
  "answer": datasets.Value("int32"),
124
  "text": datasets.Value("string"),
125
  # "type" is a dict with arbitrary keys and values
126
+ "type": dict,
127
  "question": datasets.Value("string"),
128
  "options": datasets.features.Sequence(datasets.Value("string")),
129
  }