Update agieval.py
Browse files- agieval.py +1 -1
agieval.py
CHANGED
|
@@ -289,7 +289,7 @@ class AgiEval(datasets.GeneratorBasedBuilder):
|
|
| 289 |
"question": data["question"],
|
| 290 |
"options": data["options"],
|
| 291 |
"label": data["label"],
|
| 292 |
-
"solution": data["other"]["solution"],
|
| 293 |
}
|
| 294 |
elif self.config.name == "math":
|
| 295 |
if not data.get("level"):
|
|
|
|
| 289 |
"question": data["question"],
|
| 290 |
"options": data["options"],
|
| 291 |
"label": data["label"],
|
| 292 |
+
"solution": data["other"]["solution"] if data["other"] is not None else data["label"],
|
| 293 |
}
|
| 294 |
elif self.config.name == "math":
|
| 295 |
if not data.get("level"):
|