-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
separate category for
global_mmlu
(#2652)
* separate category * set version 0.0 * apply precommit
- Loading branch information
Showing
193 changed files
with
1,092 additions
and
146 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
3 changes: 1 addition & 2 deletions
3
...l/tasks/global_mmlu/default/_default_yaml → .../global_mmlu/default/ar/_ar_template_yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
group: global_mmlu_ar | ||
task: | ||
- global_mmlu_ar_business | ||
- global_mmlu_ar_humanities | ||
- global_mmlu_ar_medical | ||
- global_mmlu_ar_other | ||
- global_mmlu_ar_stem | ||
- global_mmlu_ar_social_sciences | ||
aggregate_metric_list: | ||
- metric: acc | ||
weight_by_size: True | ||
metadata: | ||
version: 0.0 |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/ar/global_mmlu_ar_business.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _ar_template_yaml | ||
process_docs: !function utils.process_business | ||
task: global_mmlu_ar_business |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/ar/global_mmlu_ar_humanities.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _ar_template_yaml | ||
process_docs: !function utils.process_humanities | ||
task: global_mmlu_ar_humanities |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/ar/global_mmlu_ar_medical.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _ar_template_yaml | ||
process_docs: !function utils.process_medical | ||
task: global_mmlu_ar_medical |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/ar/global_mmlu_ar_other.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _ar_template_yaml | ||
process_docs: !function utils.process_other | ||
task: global_mmlu_ar_other |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/ar/global_mmlu_ar_social_sciences.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _ar_template_yaml | ||
process_docs: !function utils.process_social_sciences | ||
task: global_mmlu_ar_social_sciences |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/ar/global_mmlu_ar_stem.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _ar_template_yaml | ||
process_docs: !function utils.process_stem | ||
task: global_mmlu_ar_stem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from functools import partial | ||
|
||
|
||
CATEGORIES = ["Business", "Humanities", "Medical", "Other", "STEM", "Social Sciences"] | ||
|
||
|
||
def process_docs(dataset, category): | ||
return dataset.filter(lambda x: x["subject_category"] == category) | ||
|
||
|
||
process_functions = { | ||
f"process_{category.lower().replace(' ', '_')}": partial( | ||
process_docs, category=category | ||
) | ||
for category in CATEGORIES | ||
} | ||
|
||
globals().update(process_functions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
dataset_path: CohereForAI/Global-MMLU-Lite | ||
dataset_name: bn | ||
test_split: test | ||
fewshot_split: dev | ||
fewshot_config: | ||
sampler: default | ||
output_type: multiple_choice | ||
doc_to_text: "{{question.strip()}}\nA. {{option_a}}\nB. {{option_b}}\nC. {{option_c}}\nD. {{option_d}}\nAnswer:" | ||
doc_to_choice: ["A", "B", "C", "D"] | ||
doc_to_target: answer | ||
metric_list: | ||
- metric: acc | ||
aggregation: mean | ||
higher_is_better: true | ||
metadata: | ||
version: 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
group: global_mmlu_bn | ||
task: | ||
- global_mmlu_bn_business | ||
- global_mmlu_bn_humanities | ||
- global_mmlu_bn_medical | ||
- global_mmlu_bn_other | ||
- global_mmlu_bn_stem | ||
- global_mmlu_bn_social_sciences | ||
aggregate_metric_list: | ||
- metric: acc | ||
weight_by_size: True | ||
metadata: | ||
version: 0.0 |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/bn/global_mmlu_bn_business.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _bn_template_yaml | ||
process_docs: !function utils.process_business | ||
task: global_mmlu_bn_business |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/bn/global_mmlu_bn_humanities.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _bn_template_yaml | ||
process_docs: !function utils.process_humanities | ||
task: global_mmlu_bn_humanities |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/bn/global_mmlu_bn_medical.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _bn_template_yaml | ||
process_docs: !function utils.process_medical | ||
task: global_mmlu_bn_medical |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/bn/global_mmlu_bn_other.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _bn_template_yaml | ||
process_docs: !function utils.process_other | ||
task: global_mmlu_bn_other |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/bn/global_mmlu_bn_social_sciences.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _bn_template_yaml | ||
process_docs: !function utils.process_social_sciences | ||
task: global_mmlu_bn_social_sciences |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/bn/global_mmlu_bn_stem.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _bn_template_yaml | ||
process_docs: !function utils.process_stem | ||
task: global_mmlu_bn_stem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from functools import partial | ||
|
||
|
||
CATEGORIES = ["Business", "Humanities", "Medical", "Other", "STEM", "Social Sciences"] | ||
|
||
|
||
def process_docs(dataset, category): | ||
return dataset.filter(lambda x: x["subject_category"] == category) | ||
|
||
|
||
process_functions = { | ||
f"process_{category.lower().replace(' ', '_')}": partial( | ||
process_docs, category=category | ||
) | ||
for category in CATEGORIES | ||
} | ||
|
||
globals().update(process_functions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
dataset_path: CohereForAI/Global-MMLU-Lite | ||
dataset_name: de | ||
test_split: test | ||
fewshot_split: dev | ||
fewshot_config: | ||
sampler: default | ||
output_type: multiple_choice | ||
doc_to_text: "{{question.strip()}}\nA. {{option_a}}\nB. {{option_b}}\nC. {{option_c}}\nD. {{option_d}}\nAnswer:" | ||
doc_to_choice: ["A", "B", "C", "D"] | ||
doc_to_target: answer | ||
metric_list: | ||
- metric: acc | ||
aggregation: mean | ||
higher_is_better: true | ||
metadata: | ||
version: 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
group: global_mmlu_de | ||
task: | ||
- global_mmlu_de_business | ||
- global_mmlu_de_humanities | ||
- global_mmlu_de_medical | ||
- global_mmlu_de_other | ||
- global_mmlu_de_stem | ||
- global_mmlu_de_social_sciences | ||
aggregate_metric_list: | ||
- metric: acc | ||
weight_by_size: True | ||
metadata: | ||
version: 0.0 |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/de/global_mmlu_de_business.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _de_template_yaml | ||
process_docs: !function utils.process_business | ||
task: global_mmlu_de_business |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/de/global_mmlu_de_humanities.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _de_template_yaml | ||
process_docs: !function utils.process_humanities | ||
task: global_mmlu_de_humanities |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/de/global_mmlu_de_medical.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _de_template_yaml | ||
process_docs: !function utils.process_medical | ||
task: global_mmlu_de_medical |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/de/global_mmlu_de_other.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _de_template_yaml | ||
process_docs: !function utils.process_other | ||
task: global_mmlu_de_other |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/de/global_mmlu_de_social_sciences.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _de_template_yaml | ||
process_docs: !function utils.process_social_sciences | ||
task: global_mmlu_de_social_sciences |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/de/global_mmlu_de_stem.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _de_template_yaml | ||
process_docs: !function utils.process_stem | ||
task: global_mmlu_de_stem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from functools import partial | ||
|
||
|
||
CATEGORIES = ["Business", "Humanities", "Medical", "Other", "STEM", "Social Sciences"] | ||
|
||
|
||
def process_docs(dataset, category): | ||
return dataset.filter(lambda x: x["subject_category"] == category) | ||
|
||
|
||
process_functions = { | ||
f"process_{category.lower().replace(' ', '_')}": partial( | ||
process_docs, category=category | ||
) | ||
for category in CATEGORIES | ||
} | ||
|
||
globals().update(process_functions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
dataset_path: CohereForAI/Global-MMLU-Lite | ||
dataset_name: en | ||
test_split: test | ||
fewshot_split: dev | ||
fewshot_config: | ||
sampler: default | ||
output_type: multiple_choice | ||
doc_to_text: "{{question.strip()}}\nA. {{option_a}}\nB. {{option_b}}\nC. {{option_c}}\nD. {{option_d}}\nAnswer:" | ||
doc_to_choice: ["A", "B", "C", "D"] | ||
doc_to_target: answer | ||
metric_list: | ||
- metric: acc | ||
aggregation: mean | ||
higher_is_better: true | ||
metadata: | ||
version: 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
group: global_mmlu_en | ||
task: | ||
- global_mmlu_en_business | ||
- global_mmlu_en_humanities | ||
- global_mmlu_en_medical | ||
- global_mmlu_en_other | ||
- global_mmlu_en_stem | ||
- global_mmlu_en_social_sciences | ||
aggregate_metric_list: | ||
- metric: acc | ||
weight_by_size: True | ||
metadata: | ||
version: 0.0 |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/en/global_mmlu_en_business.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _en_template_yaml | ||
process_docs: !function utils.process_business | ||
task: global_mmlu_en_business |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/en/global_mmlu_en_humanities.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _en_template_yaml | ||
process_docs: !function utils.process_humanities | ||
task: global_mmlu_en_humanities |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/en/global_mmlu_en_medical.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _en_template_yaml | ||
process_docs: !function utils.process_medical | ||
task: global_mmlu_en_medical |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/en/global_mmlu_en_other.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _en_template_yaml | ||
process_docs: !function utils.process_other | ||
task: global_mmlu_en_other |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/en/global_mmlu_en_social_sciences.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _en_template_yaml | ||
process_docs: !function utils.process_social_sciences | ||
task: global_mmlu_en_social_sciences |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/en/global_mmlu_en_stem.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _en_template_yaml | ||
process_docs: !function utils.process_stem | ||
task: global_mmlu_en_stem |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
from functools import partial | ||
|
||
|
||
CATEGORIES = ["Business", "Humanities", "Medical", "Other", "STEM", "Social Sciences"] | ||
|
||
|
||
def process_docs(dataset, category): | ||
return dataset.filter(lambda x: x["subject_category"] == category) | ||
|
||
|
||
process_functions = { | ||
f"process_{category.lower().replace(' ', '_')}": partial( | ||
process_docs, category=category | ||
) | ||
for category in CATEGORIES | ||
} | ||
|
||
globals().update(process_functions) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
dataset_path: CohereForAI/Global-MMLU-Lite | ||
dataset_name: es | ||
test_split: test | ||
fewshot_split: dev | ||
fewshot_config: | ||
sampler: default | ||
output_type: multiple_choice | ||
doc_to_text: "{{question.strip()}}\nA. {{option_a}}\nB. {{option_b}}\nC. {{option_c}}\nD. {{option_d}}\nAnswer:" | ||
doc_to_choice: ["A", "B", "C", "D"] | ||
doc_to_target: answer | ||
metric_list: | ||
- metric: acc | ||
aggregation: mean | ||
higher_is_better: true | ||
metadata: | ||
version: 0.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
group: global_mmlu_es | ||
task: | ||
- global_mmlu_es_business | ||
- global_mmlu_es_humanities | ||
- global_mmlu_es_medical | ||
- global_mmlu_es_other | ||
- global_mmlu_es_stem | ||
- global_mmlu_es_social_sciences | ||
aggregate_metric_list: | ||
- metric: acc | ||
weight_by_size: True | ||
metadata: | ||
version: 0.0 |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/es/global_mmlu_es_business.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _es_template_yaml | ||
process_docs: !function utils.process_business | ||
task: global_mmlu_es_business |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/es/global_mmlu_es_humanities.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _es_template_yaml | ||
process_docs: !function utils.process_humanities | ||
task: global_mmlu_es_humanities |
4 changes: 4 additions & 0 deletions
4
lm_eval/tasks/global_mmlu/default/es/global_mmlu_es_medical.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Generated by _generate_configs.py | ||
include: _es_template_yaml | ||
process_docs: !function utils.process_medical | ||
task: global_mmlu_es_medical |
Oops, something went wrong.