Commit e4db76cb authored by haileyschoelkopf's avatar haileyschoelkopf
Browse files

Merge branch 'main' into multimodal-prototyping

parents 6cc6e9cd ad80f555
group:
- agieval
- agieval_en
task: agieval_math task: agieval_math
dataset_path: hails/agieval-math dataset_path: hails/agieval-math
dataset_name: null dataset_name: null
......
include: aqua-rat.yaml include: aqua-rat.yaml
group:
- agieval
- agieval_nous
- agieval_en
task: agieval_sat_en_without_passage task: agieval_sat_en_without_passage
dataset_path: hails/agieval-sat-en-without-passage dataset_path: hails/agieval-sat-en-without-passage
include: aqua-rat.yaml include: aqua-rat.yaml
group:
- agieval
- agieval_nous
- agieval_en
task: agieval_sat_en task: agieval_sat_en
dataset_path: hails/agieval-sat-en dataset_path: hails/agieval-sat-en
include: aqua-rat.yaml include: aqua-rat.yaml
group:
- agieval
- agieval_nous
- agieval_en
task: agieval_sat_math task: agieval_sat_math
dataset_path: hails/agieval-sat-math dataset_path: hails/agieval-sat-math
group: tag:
- anli - anli
task: anli_r1 task: anli_r1
dataset_path: anli dataset_path: anli
......
...@@ -5,3 +5,8 @@ task: ...@@ -5,3 +5,8 @@ task:
- arabicmmlu_humanities - arabicmmlu_humanities
- arabicmmlu_stem - arabicmmlu_stem
- arabicmmlu_language - arabicmmlu_language
aggregate_metric_list:
- metric: acc
weight_by_size: True
metadata:
version: 0
group: arabicmmlu_humanities
group_alias: Humanities
task:
- arabicmmlu_humanities_tasks
aggregate_metric_list:
- metric: acc
weight_by_size: True
metadata:
version: 0
group: arabicmmlu_language
group_alias: Language
task:
- arabicmmlu_language_tasks
aggregate_metric_list:
- metric: acc
weight_by_size: True
metadata:
version: 0
group: arabicmmlu_other
group_alias: Other
task:
- arabicmmlu_other_tasks
aggregate_metric_list:
- metric: acc
weight_by_size: True
metadata:
version: 0
group: arabicmmlu_social_science
group_alias: Social Science
task:
- arabicmmlu_social_science_tasks
aggregate_metric_list:
- metric: acc
weight_by_size: True
metadata:
version: 0
group: arabicmmlu_stem
group_alias: STEM
task:
- arabicmmlu_stem_tasks
aggregate_metric_list:
- metric: acc
weight_by_size: True
metadata:
version: 0
...@@ -11,3 +11,5 @@ metric_list: ...@@ -11,3 +11,5 @@ metric_list:
- metric: acc - metric: acc
aggregation: mean aggregation: mean
higher_is_better: true higher_is_better: true
metadata:
version: 0.0
...@@ -59,7 +59,7 @@ SUBJECTS = { ...@@ -59,7 +59,7 @@ SUBJECTS = {
def parse_args(): def parse_args():
parser = argparse.ArgumentParser() parser = argparse.ArgumentParser()
parser.add_argument("--base_yaml_path", default="_default_template_yaml") parser.add_argument("--base_yaml_path", default="_default_arabicmmlu_template_yaml")
parser.add_argument("--save_prefix_path", default="arabicmmlu") parser.add_argument("--save_prefix_path", default="arabicmmlu")
return parser.parse_args() return parser.parse_args()
...@@ -81,8 +81,7 @@ if __name__ == "__main__": ...@@ -81,8 +81,7 @@ if __name__ == "__main__":
yaml_dict = { yaml_dict = {
"include": base_yaml_name, "include": base_yaml_name,
"group": f"arabicmmlu_{category}", "tag": f"arabicmmlu_{category}",
"group_alias": category.replace("_", " "),
"task": f"arabicmmlu_{subject.lower().replace(' ', '_')}", "task": f"arabicmmlu_{subject.lower().replace(' ', '_')}",
"task_alias": subject, "task_alias": subject,
"dataset_name": subject, "dataset_name": subject,
......
"dataset_name": "Arabic Language (General)" "dataset_name": "Arabic Language (General)"
"group": "arabicmmlu_language" "tag": "arabicmmlu_language_tasks"
"group_alias": "language" "include": "_default_arabicmmlu_template_yaml"
"include": "_default_template_yaml"
"task": "arabicmmlu_arabic_language_(general)" "task": "arabicmmlu_arabic_language_(general)"
"task_alias": "Arabic Language (General)" "task_alias": "Arabic Language (General)"
"dataset_name": "Arabic Language (Grammar)" "dataset_name": "Arabic Language (Grammar)"
"group": "arabicmmlu_language" "tag": "arabicmmlu_language_tasks"
"group_alias": "language" "include": "_default_arabicmmlu_template_yaml"
"include": "_default_template_yaml"
"task": "arabicmmlu_arabic_language_(grammar)" "task": "arabicmmlu_arabic_language_(grammar)"
"task_alias": "Arabic Language (Grammar)" "task_alias": "Arabic Language (Grammar)"
"dataset_name": "Driving Test" "dataset_name": "Driving Test"
"group": "arabicmmlu_other" "tag": "arabicmmlu_other_tasks"
"group_alias": "other" "include": "_default_arabicmmlu_template_yaml"
"include": "_default_template_yaml"
"task": "arabicmmlu_driving_test" "task": "arabicmmlu_driving_test"
"task_alias": "Driving Test" "task_alias": "Driving Test"
"dataset_name": "General Knowledge" "dataset_name": "General Knowledge"
"group": "arabicmmlu_other" "tag": "arabicmmlu_other_tasks"
"group_alias": "other" "include": "_default_arabicmmlu_template_yaml"
"include": "_default_template_yaml"
"task": "arabicmmlu_general_knowledge" "task": "arabicmmlu_general_knowledge"
"task_alias": "General Knowledge" "task_alias": "General Knowledge"
"dataset_name": "High Arabic Language" "dataset_name": "High Arabic Language"
"group": "arabicmmlu_language" "tag": "arabicmmlu_language_tasks"
"group_alias": "language" "include": "_default_arabicmmlu_template_yaml"
"include": "_default_template_yaml"
"task": "arabicmmlu_high_arabic_language" "task": "arabicmmlu_high_arabic_language"
"task_alias": "High Arabic Language" "task_alias": "High Arabic Language"
"dataset_name": "High Biology" "dataset_name": "High Biology"
"group": "arabicmmlu_stem" "tag": "arabicmmlu_stem_tasks"
"group_alias": "stem" "include": "_default_arabicmmlu_template_yaml"
"include": "_default_template_yaml"
"task": "arabicmmlu_high_biology" "task": "arabicmmlu_high_biology"
"task_alias": "High Biology" "task_alias": "High Biology"
"dataset_name": "High Civics" "dataset_name": "High Civics"
"group": "arabicmmlu_social_science" "tag": "arabicmmlu_social_science_tasks"
"group_alias": "social science" "include": "_default_arabicmmlu_template_yaml"
"include": "_default_template_yaml"
"task": "arabicmmlu_high_civics" "task": "arabicmmlu_high_civics"
"task_alias": "High Civics" "task_alias": "High Civics"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment