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
04b69f5c
Commit
04b69f5c
authored
Nov 14, 2023
by
lintangsutawika
Browse files
Merge branch 'big-refactor' of
https://github.com/EleutherAI/lm-evaluation-harness
into alt_worlds
parents
f8740ff4
e35b0667
Changes
64
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
6 deletions
+10
-6
lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_us_foreign_policy.yaml
...mlu/flan_n_shot/loglikelihood/mmlu_us_foreign_policy.yaml
+2
-2
lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_virology.yaml
...l/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_virology.yaml
+2
-2
lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_world_religions.yaml
.../mmlu/flan_n_shot/loglikelihood/mmlu_world_religions.yaml
+2
-2
lm_eval/utils.py
lm_eval/utils.py
+4
-0
No files found.
lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_us_foreign_policy.yaml
View file @
04b69f5c
"
dataset_name"
:
"
us_foreign_policy"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
us
\
\
foreign
policy.
\n\n
"
"
group"
:
"
mmlu_flan_n_shot_
generative
_social_sciences"
"
group"
:
"
mmlu_flan_n_shot_
loglikelihood
_social_sciences"
"
include"
:
"
_mmlu_flan_loglikelihood_template_yaml"
"
task"
:
"
mmlu_flan_n_shot_
generative
_us_foreign_policy"
"
task"
:
"
mmlu_flan_n_shot_
loglikelihood
_us_foreign_policy"
lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_virology.yaml
View file @
04b69f5c
"
dataset_name"
:
"
virology"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
virology.
\n\
\n
"
"
group"
:
"
mmlu_flan_n_shot_
generative
_other"
"
group"
:
"
mmlu_flan_n_shot_
loglikelihood
_other"
"
include"
:
"
_mmlu_flan_loglikelihood_template_yaml"
"
task"
:
"
mmlu_flan_n_shot_
generative
_virology"
"
task"
:
"
mmlu_flan_n_shot_
loglikelihood
_virology"
lm_eval/tasks/mmlu/flan_n_shot/loglikelihood/mmlu_world_religions.yaml
View file @
04b69f5c
"
dataset_name"
:
"
world_religions"
"
description"
:
"
The
following
are
multiple
choice
questions
(with
answers)
about
world
\
\
religions.
\n\n
"
"
group"
:
"
mmlu_flan_n_shot_
generative
_humanities"
"
group"
:
"
mmlu_flan_n_shot_
loglikelihood
_humanities"
"
include"
:
"
_mmlu_flan_loglikelihood_template_yaml"
"
task"
:
"
mmlu_flan_n_shot_
generative
_world_religions"
"
task"
:
"
mmlu_flan_n_shot_
loglikelihood
_world_religions"
lm_eval/utils.py
View file @
04b69f5c
...
...
@@ -312,6 +312,10 @@ def make_table(result_dict, column: str = "results"):
for
k
,
dic
in
result_dict
[
column
].
items
():
version
=
result_dict
[
"versions"
][
k
]
if
"alias"
in
dic
:
k
=
dic
.
pop
(
"alias"
)
for
(
mf
),
v
in
dic
.
items
():
m
,
_
,
f
=
mf
.
partition
(
","
)
if
m
.
endswith
(
"_stderr"
):
...
...
Prev
1
2
3
4
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