Update agieval.py
Browse files- agieval.py +2 -8
agieval.py
CHANGED
|
@@ -41,13 +41,7 @@ _LICENSE = (
|
|
| 41 |
"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"
|
| 42 |
)
|
| 43 |
HEAD= 'https://raw.githubusercontent.com/microsoft/AGIEval/main/data/v1/'
|
| 44 |
-
|
| 45 |
-
"sat-en-without-passage", "gaokao-english"]
|
| 46 |
-
chinese_qa_datasets = ["logiqa-zh", "jec-qa-kd", "jec-qa-ca", "gaokao-chinese", "gaokao-geography", "gaokao-history",
|
| 47 |
-
"gaokao-biology", "gaokao-chemistry", "gaokao-physics", "gaokao-mathqa"]
|
| 48 |
-
english_cloze_datasets = ["math"]
|
| 49 |
-
chinese_cloze_datasets = ["gaokao-mathcloze"]
|
| 50 |
-
all_lst = english_qa_datasets + chinese_qa_datasets + english_cloze_datasets + chinese_cloze_datasets
|
| 51 |
_URLS = {
|
| 52 |
"sat_en": {
|
| 53 |
"test": HEAD+'sat-en.jsonl',
|
|
@@ -330,4 +324,4 @@ class AgiEval(datasets.GeneratorBasedBuilder):
|
|
| 330 |
"options": data["options"],
|
| 331 |
"label": data["label"],
|
| 332 |
"solution": data["label"],
|
| 333 |
-
}
|
|
|
|
| 41 |
"Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License"
|
| 42 |
)
|
| 43 |
HEAD= 'https://raw.githubusercontent.com/microsoft/AGIEval/main/data/v1/'
|
| 44 |
+
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
_URLS = {
|
| 46 |
"sat_en": {
|
| 47 |
"test": HEAD+'sat-en.jsonl',
|
|
|
|
| 324 |
"options": data["options"],
|
| 325 |
"label": data["label"],
|
| 326 |
"solution": data["label"],
|
| 327 |
+
}
|