Update agieval.py
Browse files- agieval.py +13 -13
agieval.py
CHANGED
|
@@ -50,16 +50,16 @@ chinese_cloze_datasets = ["gaokao-mathcloze"]
|
|
| 50 |
all_lst = english_qa_datasets + chinese_qa_datasets + english_cloze_datasets + chinese_cloze_datasets
|
| 51 |
t = ['sat-en', 'aqua-rat']
|
| 52 |
|
| 53 |
-
_URLS = {
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
|
| 62 |
-
}
|
| 63 |
|
| 64 |
|
| 65 |
# _URLS = {
|
|
@@ -92,10 +92,10 @@ _URLS = {
|
|
| 92 |
# }
|
| 93 |
|
| 94 |
# }
|
| 95 |
-
|
| 96 |
-
|
| 97 |
-
|
| 98 |
-
|
| 99 |
# _URLS = {
|
| 100 |
# e: {
|
| 101 |
# "test": HEAD+e+'.jsonl',
|
|
|
|
| 50 |
all_lst = english_qa_datasets + chinese_qa_datasets + english_cloze_datasets + chinese_cloze_datasets
|
| 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 = {
|
|
|
|
| 92 |
# }
|
| 93 |
|
| 94 |
# }
|
| 95 |
+
_URLS = {
|
| 96 |
+
e: {
|
| 97 |
+
"test": "".join([HEAD,str(e),'.jsonl']),
|
| 98 |
+
} for e in t}
|
| 99 |
# _URLS = {
|
| 100 |
# e: {
|
| 101 |
# "test": HEAD+e+'.jsonl',
|