baber commited on
Commit
82e713d
1 Parent(s): 3659aa8

Update testing.py

Browse files
Files changed (1) hide show
  1. testing.py +3 -3
testing.py CHANGED
@@ -198,8 +198,8 @@ class LogiQA2(datasets.GeneratorBasedBuilder):
198
  yield key, {
199
  "id": data["id"],
200
  "answer": data["answer"],
201
- "text": data["text"],
202
  "type": data["type"],
203
- "question": data["question"],
204
- "options": data["options"],
205
  }
 
198
  yield key, {
199
  "id": data["id"],
200
  "answer": data["answer"],
201
+ "text": data["text"].strip(),
202
  "type": data["type"],
203
+ "question": data["question"].strip(),
204
+ "options": [x.strip() for x in data["options"]],
205
  }