Update agieval.py
Browse files- agieval.py +36 -31
agieval.py
CHANGED
|
@@ -51,42 +51,47 @@ all_lst = english_qa_datasets + chinese_qa_datasets + english_cloze_datasets + c
|
|
| 51 |
t = ['sat-en', 'aqua-rat']
|
| 52 |
|
| 53 |
_URLS = {
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
_URLS = {
|
| 61 |
-
"sat_en": {
|
| 62 |
-
"test": HEAD+'sat-en.jsonl',
|
| 63 |
-
},
|
| 64 |
-
"sat_math": {
|
| 65 |
-
"test": HEAD+'sat-math.jsonl'
|
| 66 |
-
},
|
| 67 |
-
"lsat_ar": {
|
| 68 |
-
"test": HEAD+'lsat-ar.jsonl'
|
| 69 |
-
},
|
| 70 |
-
"lsat_lr": {
|
| 71 |
-
"test": HEAD+'lsat-lr.jsonl'
|
| 72 |
-
},
|
| 73 |
-
"lsat_rc": {
|
| 74 |
-
"test": HEAD+'lsat-rc.jsonl'
|
| 75 |
-
},
|
| 76 |
-
"logiqa": {
|
| 77 |
-
"test": HEAD+'logiqa-en.jsonl'
|
| 78 |
-
},
|
| 79 |
-
"aqua_rat": {
|
| 80 |
-
"test": HEAD+'aqua-rat.jsonl'
|
| 81 |
-
},
|
| 82 |
-
'math_agieval': {
|
| 83 |
-
"test": HEAD+'math.jsonl'
|
| 84 |
-
},
|
| 85 |
'few_shot': {
|
| 86 |
'few_shot':'https://raw.githubusercontent.com/microsoft/AGIEval/main/data/few_shot_prompts.csv'
|
| 87 |
}
|
| 88 |
|
| 89 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 90 |
# _URLS = {
|
| 91 |
# e: {
|
| 92 |
# "test": "".join([HEAD,str(e),'.jsonl']),
|
|
|
|
| 51 |
t = ['sat-en', 'aqua-rat']
|
| 52 |
|
| 53 |
_URLS = {
|
| 54 |
+
"sat_en": {
|
| 55 |
+
"test": HEAD+'sat-en.jsonl',
|
| 56 |
+
},
|
| 57 |
+
"aqua_rat": {"test": HEAD+'aqua-rat.jsonl'},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 58 |
'few_shot': {
|
| 59 |
'few_shot':'https://raw.githubusercontent.com/microsoft/AGIEval/main/data/few_shot_prompts.csv'
|
| 60 |
}
|
| 61 |
|
| 62 |
}
|
| 63 |
+
|
| 64 |
+
|
| 65 |
+
# _URLS = {
|
| 66 |
+
# "sat_en": {
|
| 67 |
+
# "test": HEAD+'sat-en.jsonl',
|
| 68 |
+
# },
|
| 69 |
+
# "sat_math": {
|
| 70 |
+
# "test": HEAD+'sat-math.jsonl'
|
| 71 |
+
# },
|
| 72 |
+
# "lsat_ar": {
|
| 73 |
+
# "test": HEAD+'lsat-ar.jsonl'
|
| 74 |
+
# },
|
| 75 |
+
# "lsat_lr": {
|
| 76 |
+
# "test": HEAD+'lsat-lr.jsonl'
|
| 77 |
+
# },
|
| 78 |
+
# "lsat_rc": {
|
| 79 |
+
# "test": HEAD+'lsat-rc.jsonl'
|
| 80 |
+
# },
|
| 81 |
+
# "logiqa": {
|
| 82 |
+
# "test": HEAD+'logiqa-en.jsonl'
|
| 83 |
+
# },
|
| 84 |
+
# "aqua_rat": {
|
| 85 |
+
# "test": HEAD+'aqua-rat.jsonl'
|
| 86 |
+
# },
|
| 87 |
+
# 'math_agieval': {
|
| 88 |
+
# "test": HEAD+'math.jsonl'
|
| 89 |
+
# },
|
| 90 |
+
# 'few_shot': {
|
| 91 |
+
# 'few_shot':'https://raw.githubusercontent.com/microsoft/AGIEval/main/data/few_shot_prompts.csv'
|
| 92 |
+
# }
|
| 93 |
+
|
| 94 |
+
}
|
| 95 |
# _URLS = {
|
| 96 |
# e: {
|
| 97 |
# "test": "".join([HEAD,str(e),'.jsonl']),
|