Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
gaoqiong
lm-evaluation-harness
Commits
6dfe848e
"tests/test_models/vscode:/vscode.git/clone" did not exist on "d490f024607cd368399c3557a2cbc6767c5194d0"
Commit
6dfe848e
authored
Nov 02, 2023
by
lintangsutawika
Browse files
added group and task alias
parent
d1e7a30a
Changes
59
Hide whitespace changes
Inline
Side-by-side
Showing
20 changed files
with
78 additions
and
19 deletions
+78
-19
lm_eval/tasks/mmlu/_generate_configs.py
lm_eval/tasks/mmlu/_generate_configs.py
+2
-0
lm_eval/tasks/mmlu/default/mmlu_abstract_algebra.yaml
lm_eval/tasks/mmlu/default/mmlu_abstract_algebra.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_anatomy.yaml
lm_eval/tasks/mmlu/default/mmlu_anatomy.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_astronomy.yaml
lm_eval/tasks/mmlu/default/mmlu_astronomy.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_business_ethics.yaml
lm_eval/tasks/mmlu/default/mmlu_business_ethics.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_clinical_knowledge.yaml
lm_eval/tasks/mmlu/default/mmlu_clinical_knowledge.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_college_biology.yaml
lm_eval/tasks/mmlu/default/mmlu_college_biology.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_college_chemistry.yaml
lm_eval/tasks/mmlu/default/mmlu_college_chemistry.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_college_computer_science.yaml
...val/tasks/mmlu/default/mmlu_college_computer_science.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_college_mathematics.yaml
lm_eval/tasks/mmlu/default/mmlu_college_mathematics.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_college_medicine.yaml
lm_eval/tasks/mmlu/default/mmlu_college_medicine.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_college_physics.yaml
lm_eval/tasks/mmlu/default/mmlu_college_physics.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_computer_security.yaml
lm_eval/tasks/mmlu/default/mmlu_computer_security.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_conceptual_physics.yaml
lm_eval/tasks/mmlu/default/mmlu_conceptual_physics.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_econometrics.yaml
lm_eval/tasks/mmlu/default/mmlu_econometrics.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_electrical_engineering.yaml
lm_eval/tasks/mmlu/default/mmlu_electrical_engineering.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_elementary_mathematics.yaml
lm_eval/tasks/mmlu/default/mmlu_elementary_mathematics.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_formal_logic.yaml
lm_eval/tasks/mmlu/default/mmlu_formal_logic.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_global_facts.yaml
lm_eval/tasks/mmlu/default/mmlu_global_facts.yaml
+4
-1
lm_eval/tasks/mmlu/default/mmlu_high_school_biology.yaml
lm_eval/tasks/mmlu/default/mmlu_high_school_biology.yaml
+4
-1
No files found.
lm_eval/tasks/mmlu/_generate_configs.py
View file @
6dfe848e
...
...
@@ -112,9 +112,11 @@ if __name__ == "__main__":
"group"
:
f
"mmlu_
{
args
.
task_prefix
}
_
{
category
}
"
if
args
.
task_prefix
!=
""
else
f
"mmlu_
{
category
}
"
,
"group_alias"
:
category
.
replace
(
"_"
,
" "
),
"task"
:
f
"mmlu_
{
args
.
task_prefix
}
_
{
subject
}
"
if
args
.
task_prefix
!=
""
else
f
"mmlu_
{
subject
}
"
,
"task_alias"
:
subject
.
replace
(
"_"
,
" "
),
"dataset_name"
:
subject
,
"description"
:
description
,
}
...
...
lm_eval/tasks/mmlu/default/mmlu_abstract_algebra.yaml
View file @
6dfe848e
"
dataset_name"
:
"
abstract_algebra"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
abstract
algebra.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
abstract
\
\
algebra.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_abstract_algebra"
"
task_alias"
:
"
abstract_algebra"
lm_eval/tasks/mmlu/default/mmlu_anatomy.yaml
View file @
6dfe848e
"
dataset_name"
:
"
anatomy"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
anatomy.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
anatomy.
\n\
\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_anatomy"
"
task_alias"
:
"
anatomy"
lm_eval/tasks/mmlu/default/mmlu_astronomy.yaml
View file @
6dfe848e
"
dataset_name"
:
"
astronomy"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
astronomy.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
astronomy.
\n\
\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_astronomy"
"
task_alias"
:
"
astronomy"
lm_eval/tasks/mmlu/default/mmlu_business_ethics.yaml
View file @
6dfe848e
"
dataset_name"
:
"
business_ethics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
business
ethics.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
business
\
\
ethics.
\n\n
"
"
group"
:
"
mmlu_other"
"
group_alias"
:
"
other"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_business_ethics"
"
task_alias"
:
"
business_ethics"
lm_eval/tasks/mmlu/default/mmlu_clinical_knowledge.yaml
View file @
6dfe848e
"
dataset_name"
:
"
clinical_knowledge"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
clinical
knowledge.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
clinical
\
\
knowledge.
\n\n
"
"
group"
:
"
mmlu_other"
"
group_alias"
:
"
other"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_clinical_knowledge"
"
task_alias"
:
"
clinical_knowledge"
lm_eval/tasks/mmlu/default/mmlu_college_biology.yaml
View file @
6dfe848e
"
dataset_name"
:
"
college_biology"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
biology.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
\
\
biology.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_college_biology"
"
task_alias"
:
"
college_biology"
lm_eval/tasks/mmlu/default/mmlu_college_chemistry.yaml
View file @
6dfe848e
"
dataset_name"
:
"
college_chemistry"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
chemistry.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
\
\
chemistry.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_college_chemistry"
"
task_alias"
:
"
college_chemistry"
lm_eval/tasks/mmlu/default/mmlu_college_computer_science.yaml
View file @
6dfe848e
"
dataset_name"
:
"
college_computer_science"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
computer
science.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
\
\
computer
science.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_college_computer_science"
"
task_alias"
:
"
college_computer_science"
lm_eval/tasks/mmlu/default/mmlu_college_mathematics.yaml
View file @
6dfe848e
"
dataset_name"
:
"
college_mathematics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
mathematics.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
\
\
mathematics.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_college_mathematics"
"
task_alias"
:
"
college_mathematics"
lm_eval/tasks/mmlu/default/mmlu_college_medicine.yaml
View file @
6dfe848e
"
dataset_name"
:
"
college_medicine"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
medicine.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
\
\
medicine.
\n\n
"
"
group"
:
"
mmlu_other"
"
group_alias"
:
"
other"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_college_medicine"
"
task_alias"
:
"
college_medicine"
lm_eval/tasks/mmlu/default/mmlu_college_physics.yaml
View file @
6dfe848e
"
dataset_name"
:
"
college_physics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
physics.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
college
\
\
physics.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_college_physics"
"
task_alias"
:
"
college_physics"
lm_eval/tasks/mmlu/default/mmlu_computer_security.yaml
View file @
6dfe848e
"
dataset_name"
:
"
computer_security"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
computer
security.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
computer
\
\
security.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_computer_security"
"
task_alias"
:
"
computer_security"
lm_eval/tasks/mmlu/default/mmlu_conceptual_physics.yaml
View file @
6dfe848e
"
dataset_name"
:
"
conceptual_physics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
conceptual
physics.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
conceptual
\
\
physics.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_conceptual_physics"
"
task_alias"
:
"
conceptual_physics"
lm_eval/tasks/mmlu/default/mmlu_econometrics.yaml
View file @
6dfe848e
"
dataset_name"
:
"
econometrics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
econometrics.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
econometrics.
\n\
\n
"
"
group"
:
"
mmlu_social_sciences"
"
group_alias"
:
"
social_sciences"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_econometrics"
"
task_alias"
:
"
econometrics"
lm_eval/tasks/mmlu/default/mmlu_electrical_engineering.yaml
View file @
6dfe848e
"
dataset_name"
:
"
electrical_engineering"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
electrical
engineering.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
electrical
\
\
engineering.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_electrical_engineering"
"
task_alias"
:
"
electrical_engineering"
lm_eval/tasks/mmlu/default/mmlu_elementary_mathematics.yaml
View file @
6dfe848e
"
dataset_name"
:
"
elementary_mathematics"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
elementary
mathematics.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
elementary
\
\
mathematics.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_elementary_mathematics"
"
task_alias"
:
"
elementary_mathematics"
lm_eval/tasks/mmlu/default/mmlu_formal_logic.yaml
View file @
6dfe848e
"
dataset_name"
:
"
formal_logic"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
formal
logic.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
formal
\
\
logic.
\n\n
"
"
group"
:
"
mmlu_humanities"
"
group_alias"
:
"
humanities"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_formal_logic"
"
task_alias"
:
"
formal_logic"
lm_eval/tasks/mmlu/default/mmlu_global_facts.yaml
View file @
6dfe848e
"
dataset_name"
:
"
global_facts"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
global
facts.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
global
\
\
facts.
\n\n
"
"
group"
:
"
mmlu_other"
"
group_alias"
:
"
other"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_global_facts"
"
task_alias"
:
"
global_facts"
lm_eval/tasks/mmlu/default/mmlu_high_school_biology.yaml
View file @
6dfe848e
"
dataset_name"
:
"
high_school_biology"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
high
school
biology.
\n\n
"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
high
\
\
school
biology.
\n\n
"
"
group"
:
"
mmlu_stem"
"
group_alias"
:
"
stem"
"
include"
:
"
_default_template_yaml"
"
task"
:
"
mmlu_high_school_biology"
"
task_alias"
:
"
high_school_biology"
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment