fixed bug
Browse files- agieval.py +2 -3
agieval.py
CHANGED
|
@@ -80,8 +80,7 @@ _URLS = {
|
|
| 80 |
class AgiEval(datasets.GeneratorBasedBuilder):
|
| 81 |
"""TODO: Short description of my dataset."""
|
| 82 |
|
| 83 |
-
VERSION = datasets.Version("2.0.
|
| 84 |
-
# 25/08/2023: Removed row 56 of `sat_en`(label > num_of_choices).
|
| 85 |
|
| 86 |
BUILDER_CONFIGS = [
|
| 87 |
datasets.BuilderConfig(
|
|
@@ -334,7 +333,7 @@ class AgiEval(datasets.GeneratorBasedBuilder):
|
|
| 334 |
"question": data["question"],
|
| 335 |
"options": data["options"],
|
| 336 |
"label": data["label"],
|
| 337 |
-
"solution":
|
| 338 |
}
|
| 339 |
elif self.config.name in ['lsat_lr', 'lsat_rc', 'lsat_ar']:
|
| 340 |
yield key, {
|
|
|
|
| 80 |
class AgiEval(datasets.GeneratorBasedBuilder):
|
| 81 |
"""TODO: Short description of my dataset."""
|
| 82 |
|
| 83 |
+
VERSION = datasets.Version("2.0.0")
|
|
|
|
| 84 |
|
| 85 |
BUILDER_CONFIGS = [
|
| 86 |
datasets.BuilderConfig(
|
|
|
|
| 333 |
"question": data["question"],
|
| 334 |
"options": data["options"],
|
| 335 |
"label": data["label"],
|
| 336 |
+
"solution": data["other"]["solution"],
|
| 337 |
}
|
| 338 |
elif self.config.name in ['lsat_lr', 'lsat_rc', 'lsat_ar']:
|
| 339 |
yield key, {
|