Update agieval.py
Browse files- agieval.py +3 -3
agieval.py
CHANGED
|
@@ -38,7 +38,7 @@ _HOMEPAGE = "https://github.com/csitfun/LogiQA2.0/tree/main"
|
|
| 38 |
_LICENSE = (
|
| 39 |
"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"
|
| 40 |
)
|
| 41 |
-
HEAD='https://raw.githubusercontent.com/microsoft/AGIEval/main/data/v1/'
|
| 42 |
|
| 43 |
_URLS = {
|
| 44 |
"sat_en": {
|
|
@@ -212,7 +212,7 @@ class LogiQA2(datasets.GeneratorBasedBuilder):
|
|
| 212 |
yield key, {
|
| 213 |
"question": data["question"],
|
| 214 |
"answer": data["answer"],
|
| 215 |
-
"solution": data["solution"],
|
| 216 |
"level": data["level"],
|
| 217 |
"type": data["type"]
|
| 218 |
}
|
|
@@ -230,4 +230,4 @@ class LogiQA2(datasets.GeneratorBasedBuilder):
|
|
| 230 |
"question": data["question"],
|
| 231 |
"options": data["options"],
|
| 232 |
"label": data["label"],
|
| 233 |
-
}
|
|
|
|
| 38 |
_LICENSE = (
|
| 39 |
"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"
|
| 40 |
)
|
| 41 |
+
HEAD= 'https://raw.githubusercontent.com/microsoft/AGIEval/main/data/v1/'
|
| 42 |
|
| 43 |
_URLS = {
|
| 44 |
"sat_en": {
|
|
|
|
| 212 |
yield key, {
|
| 213 |
"question": data["question"],
|
| 214 |
"answer": data["answer"],
|
| 215 |
+
"solution": data["other"]["solution"],
|
| 216 |
"level": data["level"],
|
| 217 |
"type": data["type"]
|
| 218 |
}
|
|
|
|
| 230 |
"question": data["question"],
|
| 231 |
"options": data["options"],
|
| 232 |
"label": data["label"],
|
| 233 |
+
}
|