visualjoyce
commited on
Commit
•
15cb60b
1
Parent(s):
5cef1d2
fix download
Browse files
ipquiz.py
CHANGED
@@ -141,8 +141,8 @@ class IPQuizDataset(datasets.GeneratorBasedBuilder):
|
|
141 |
"language": row["language"],
|
142 |
"problem": row["problem"],
|
143 |
"candidates": {
|
144 |
-
"options": [k for k, v in row["candidates"].items()],
|
145 |
"texts": [v for k, v in row["candidates"].items()],
|
|
|
146 |
},
|
147 |
#"candidates": str(row["candidates"]),
|
148 |
"answer": row['answer'],
|
|
|
141 |
"language": row["language"],
|
142 |
"problem": row["problem"],
|
143 |
"candidates": {
|
|
|
144 |
"texts": [v for k, v in row["candidates"].items()],
|
145 |
+
"options": [k for k, v in row["candidates"].items()],
|
146 |
},
|
147 |
#"candidates": str(row["candidates"]),
|
148 |
"answer": row['answer'],
|