Commit c1e63555 authored by Yu Shi Jie's avatar Yu Shi Jie
Browse files

Merge branch 'upstream' into 'mmlu-pro'

add tokenizer logs info (#1731)

See merge request shijie.yu/lm-evaluation-harness!4
parents e361687c 42dc2448
...@@ -57,6 +57,6 @@ fewshot_config: ...@@ -57,6 +57,6 @@ fewshot_config:
target: 'Let''s think step by step. We refer to Wikipedia articles on moral scenarios target: 'Let''s think step by step. We refer to Wikipedia articles on moral scenarios
for help. Loving someone is not wrong. However, exposing something that someone for help. Loving someone is not wrong. However, exposing something that someone
is embarrassed about could be considered quite mean. The answer is (C).' is embarrassed about could be considered quite mean. The answer is (C).'
group: mmlu_flan_cot_fewshot_humanities tag: mmlu_flan_cot_fewshot_humanities
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_moral_scenarios task: mmlu_flan_cot_fewshot_moral_scenarios
...@@ -58,6 +58,6 @@ fewshot_config: ...@@ -58,6 +58,6 @@ fewshot_config:
target: 'Let''s think step by step. We refer to Wikipedia articles on nutrition target: 'Let''s think step by step. We refer to Wikipedia articles on nutrition
for help. The risk ratio is not sufficiently reduced that it could not be explained for help. The risk ratio is not sufficiently reduced that it could not be explained
by random chance given the studies sample size. The answer is (C).' by random chance given the studies sample size. The answer is (C).'
group: mmlu_flan_cot_fewshot_other tag: mmlu_flan_cot_fewshot_other
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_nutrition task: mmlu_flan_cot_fewshot_nutrition
...@@ -39,6 +39,6 @@ fewshot_config: ...@@ -39,6 +39,6 @@ fewshot_config:
for help. Psychological egoism suggests that one behaves based on what makes for help. Psychological egoism suggests that one behaves based on what makes
one feels good, hence it is a claim about human nature and how humans are capable one feels good, hence it is a claim about human nature and how humans are capable
of behaving. The answer is (C).' of behaving. The answer is (C).'
group: mmlu_flan_cot_fewshot_humanities tag: mmlu_flan_cot_fewshot_humanities
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_philosophy task: mmlu_flan_cot_fewshot_philosophy
...@@ -54,6 +54,6 @@ fewshot_config: ...@@ -54,6 +54,6 @@ fewshot_config:
target: 'Let''s think step by step. We refer to Wikipedia articles on prehistory target: 'Let''s think step by step. We refer to Wikipedia articles on prehistory
for help. Pacal built the temples as the funerary monument to legitimize his for help. Pacal built the temples as the funerary monument to legitimize his
kingship. The answer is (D).' kingship. The answer is (D).'
group: mmlu_flan_cot_fewshot_humanities tag: mmlu_flan_cot_fewshot_humanities
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_prehistory task: mmlu_flan_cot_fewshot_prehistory
...@@ -58,6 +58,6 @@ fewshot_config: ...@@ -58,6 +58,6 @@ fewshot_config:
for help. Among the four transactions, only Proceeds from long-term debt belongs for help. Among the four transactions, only Proceeds from long-term debt belongs
to the financing activities section of cashflow, hence the amount reported should to the financing activities section of cashflow, hence the amount reported should
be $100000. The answer is (D).' be $100000. The answer is (D).'
group: mmlu_flan_cot_fewshot_other tag: mmlu_flan_cot_fewshot_other
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_professional_accounting task: mmlu_flan_cot_fewshot_professional_accounting
...@@ -117,6 +117,6 @@ fewshot_config: ...@@ -117,6 +117,6 @@ fewshot_config:
a due process clause. Hence the strongest argument should be the statute is a due process clause. Hence the strongest argument should be the statute is
overbroad and consequently invalid under the First and Fourteenth Amendments. overbroad and consequently invalid under the First and Fourteenth Amendments.
The answer is (D).' The answer is (D).'
group: mmlu_flan_cot_fewshot_humanities tag: mmlu_flan_cot_fewshot_humanities
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_professional_law task: mmlu_flan_cot_fewshot_professional_law
...@@ -77,6 +77,6 @@ fewshot_config: ...@@ -77,6 +77,6 @@ fewshot_config:
for help. The symptoms and the adrenal mass suggested pheochromocytoma, and for help. The symptoms and the adrenal mass suggested pheochromocytoma, and
the blood pressure indicates hypertension. Phenoxybenzamine is used to treat the blood pressure indicates hypertension. Phenoxybenzamine is used to treat
hypertension caused by pheochromocytoma. The answer is (D).' hypertension caused by pheochromocytoma. The answer is (D).'
group: mmlu_flan_cot_fewshot_other tag: mmlu_flan_cot_fewshot_other
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_professional_medicine task: mmlu_flan_cot_fewshot_professional_medicine
...@@ -57,6 +57,6 @@ fewshot_config: ...@@ -57,6 +57,6 @@ fewshot_config:
for help. Based on the circumstances, you should tell your client about the for help. Based on the circumstances, you should tell your client about the
pros and cons of each program, but it would be inappropriate to receive the pros and cons of each program, but it would be inappropriate to receive the
bonus, so you should not claim the $50 bonus. The answer is (D).' bonus, so you should not claim the $50 bonus. The answer is (D).'
group: mmlu_flan_cot_fewshot_social_sciences tag: mmlu_flan_cot_fewshot_social_sciences
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_professional_psychology task: mmlu_flan_cot_fewshot_professional_psychology
...@@ -50,6 +50,6 @@ fewshot_config: ...@@ -50,6 +50,6 @@ fewshot_config:
for help. If a public relations media practitioner does not know the answer for help. If a public relations media practitioner does not know the answer
to a reporter''s question, they should say ''I don''t know'' and offer to provide to a reporter''s question, they should say ''I don''t know'' and offer to provide
the information later. The answer is (C).' the information later. The answer is (C).'
group: mmlu_flan_cot_fewshot_social_sciences tag: mmlu_flan_cot_fewshot_social_sciences
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_public_relations task: mmlu_flan_cot_fewshot_public_relations
...@@ -99,6 +99,6 @@ fewshot_config: ...@@ -99,6 +99,6 @@ fewshot_config:
target: 'Let''s think step by step. We refer to Wikipedia articles on security target: 'Let''s think step by step. We refer to Wikipedia articles on security
studies for help. Coercive diplomacy uses the threat of force to induce the studies for help. Coercive diplomacy uses the threat of force to induce the
opponent to comply with demands. The answer is (B).' opponent to comply with demands. The answer is (B).'
group: mmlu_flan_cot_fewshot_social_sciences tag: mmlu_flan_cot_fewshot_social_sciences
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_security_studies task: mmlu_flan_cot_fewshot_security_studies
...@@ -53,6 +53,6 @@ fewshot_config: ...@@ -53,6 +53,6 @@ fewshot_config:
for help. The post-war welfare state of 1948 aimed to provide free healthcare for help. The post-war welfare state of 1948 aimed to provide free healthcare
and education, full employment, and universal welfare. But it did not aim to and education, full employment, and universal welfare. But it did not aim to
provide a minimum wage. The answer is (B).' provide a minimum wage. The answer is (B).'
group: mmlu_flan_cot_fewshot_social_sciences tag: mmlu_flan_cot_fewshot_social_sciences
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_sociology task: mmlu_flan_cot_fewshot_sociology
...@@ -51,6 +51,6 @@ fewshot_config: ...@@ -51,6 +51,6 @@ fewshot_config:
target: 'Let''s think step by step. We refer to Wikipedia articles on us foreign target: 'Let''s think step by step. We refer to Wikipedia articles on us foreign
policy for help. The 2008 financial crisis damanged the international reputation policy for help. The 2008 financial crisis damanged the international reputation
of the American model of political economy and capitalism. The answer is (A).' of the American model of political economy and capitalism. The answer is (A).'
group: mmlu_flan_cot_fewshot_social_sciences tag: mmlu_flan_cot_fewshot_social_sciences
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_us_foreign_policy task: mmlu_flan_cot_fewshot_us_foreign_policy
...@@ -40,6 +40,6 @@ fewshot_config: ...@@ -40,6 +40,6 @@ fewshot_config:
target: 'Let''s think step by step. We refer to Wikipedia articles on virology target: 'Let''s think step by step. We refer to Wikipedia articles on virology
for help. Paroviruses are highly impactful because they do not have nucleic for help. Paroviruses are highly impactful because they do not have nucleic
acid. The answer is (A).' acid. The answer is (A).'
group: mmlu_flan_cot_fewshot_other tag: mmlu_flan_cot_fewshot_other
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_virology task: mmlu_flan_cot_fewshot_virology
...@@ -37,6 +37,6 @@ fewshot_config: ...@@ -37,6 +37,6 @@ fewshot_config:
target: 'Let''s think step by step. We refer to Wikipedia articles on world religions target: 'Let''s think step by step. We refer to Wikipedia articles on world religions
for help. In Judaism, the most distinctive sign of the covenant is circumcision for help. In Judaism, the most distinctive sign of the covenant is circumcision
(brit milah). The answer is (B).' (brit milah). The answer is (B).'
group: mmlu_flan_cot_fewshot_humanities tag: mmlu_flan_cot_fewshot_humanities
include: _mmlu_flan_cot_fewshot_template_yaml include: _mmlu_flan_cot_fewshot_template_yaml
task: mmlu_flan_cot_fewshot_world_religions task: mmlu_flan_cot_fewshot_world_religions
group: mmlu_flan_cot_zeroshot group: mmlu_flan_cot_zeroshot
group_alias: mmlu (flan style, zeroshot cot)
task: task:
- mmlu_flan_cot_zeroshot_stem - group: stem
- mmlu_flan_cot_zeroshot_other task:
- mmlu_flan_cot_zeroshot_social_sciences - mmlu_flan_cot_zeroshot_stem
- mmlu_flan_cot_zeroshot_humanities aggregate_metric_list:
- metric: acc
weight_by_size: True
- group: other
task:
- mmlu_flan_cot_zeroshot_other
aggregate_metric_list:
- metric: acc
weight_by_size: True
- group: social sciences
task:
- mmlu_flan_cot_zeroshot_social_sciences
aggregate_metric_list:
- metric: acc
weight_by_size: True
- group: humanities
task:
- mmlu_flan_cot_zeroshot_humanities
aggregate_metric_list:
- metric: acc
weight_by_size: True
aggregate_metric_list:
- metric: acc
weight_by_size: True
metadata:
version: 1
...@@ -34,3 +34,5 @@ metric_list: ...@@ -34,3 +34,5 @@ metric_list:
ignore_punctuation: true ignore_punctuation: true
metadata: metadata:
version: 2.0 version: 2.0
dataset_kwargs:
trust_remote_code: true
"dataset_name": "abstract_algebra" "dataset_name": "abstract_algebra"
"description": "The following are multiple choice questions (with answers) about abstract\ "description": "The following are multiple choice questions (with answers) about abstract\
\ algebra.\n\n" \ algebra.\n\n"
"group": "mmlu_flan_cot_zeroshot_stem" "tag": "mmlu_flan_cot_zeroshot_stem"
"include": "_mmlu_flan_cot_zeroshot_template_yaml" "include": "_mmlu_flan_cot_zeroshot_template_yaml"
"task": "mmlu_flan_cot_zeroshot_abstract_algebra" "task": "mmlu_flan_cot_zeroshot_abstract_algebra"
"dataset_name": "anatomy" "dataset_name": "anatomy"
"description": "The following are multiple choice questions (with answers) about anatomy.\n\ "description": "The following are multiple choice questions (with answers) about anatomy.\n\
\n" \n"
"group": "mmlu_flan_cot_zeroshot_stem" "tag": "mmlu_flan_cot_zeroshot_stem"
"include": "_mmlu_flan_cot_zeroshot_template_yaml" "include": "_mmlu_flan_cot_zeroshot_template_yaml"
"task": "mmlu_flan_cot_zeroshot_anatomy" "task": "mmlu_flan_cot_zeroshot_anatomy"
"dataset_name": "astronomy" "dataset_name": "astronomy"
"description": "The following are multiple choice questions (with answers) about astronomy.\n\ "description": "The following are multiple choice questions (with answers) about astronomy.\n\
\n" \n"
"group": "mmlu_flan_cot_zeroshot_stem" "tag": "mmlu_flan_cot_zeroshot_stem"
"include": "_mmlu_flan_cot_zeroshot_template_yaml" "include": "_mmlu_flan_cot_zeroshot_template_yaml"
"task": "mmlu_flan_cot_zeroshot_astronomy" "task": "mmlu_flan_cot_zeroshot_astronomy"
"dataset_name": "business_ethics" "dataset_name": "business_ethics"
"description": "The following are multiple choice questions (with answers) about business\ "description": "The following are multiple choice questions (with answers) about business\
\ ethics.\n\n" \ ethics.\n\n"
"group": "mmlu_flan_cot_zeroshot_other" "tag": "mmlu_flan_cot_zeroshot_other"
"include": "_mmlu_flan_cot_zeroshot_template_yaml" "include": "_mmlu_flan_cot_zeroshot_template_yaml"
"task": "mmlu_flan_cot_zeroshot_business_ethics" "task": "mmlu_flan_cot_zeroshot_business_ethics"
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