anand-s commited on
Commit
2eff796
1 Parent(s): e1bb4f0

Update test_repo.py

Browse files
Files changed (1) hide show
  1. test_repo.py +3 -2
test_repo.py CHANGED
@@ -178,6 +178,8 @@ class TestRepo(datasets.GeneratorBasedBuilder):
178
  "options": item["options"],
179
  } for item in data["few_shot_prompt"]]
180
  }
 
 
181
  elif split == "train_context_mcqa":
182
  yield key_idx, {
183
  "prompt": data["prompt"],
@@ -204,6 +206,5 @@ class TestRepo(datasets.GeneratorBasedBuilder):
204
  "answer": item["answer"],
205
  "options": item["options"],
206
  } for item in data["few_shot_prompt"]]
207
- }
208
-
209
  key_idx +=1
 
178
  "options": item["options"],
179
  } for item in data["few_shot_prompt"]]
180
  }
181
+ key_idx +=1
182
+
183
  elif split == "train_context_mcqa":
184
  yield key_idx, {
185
  "prompt": data["prompt"],
 
206
  "answer": item["answer"],
207
  "options": item["options"],
208
  } for item in data["few_shot_prompt"]]
209
+ }
 
210
  key_idx +=1