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
c1dce09e
Unverified
Commit
c1dce09e
authored
Jun 21, 2023
by
Stella Biderman
Committed by
GitHub
Jun 21, 2023
Browse files
Create mmlu.yaml
Begin MMLU implementation
parent
6a000adb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
lm_eval/tasks/mmlu/mmlu.yaml
lm_eval/tasks/mmlu/mmlu.yaml
+23
-0
No files found.
lm_eval/tasks/mmlu/mmlu.yaml
0 → 100644
View file @
c1dce09e
group
:
-
multiple_choice
task
:
mmlu
dataset_path
:
cais/mmlu
dataset_name
:
null
output_type
:
multiple_choice
training_split
:
train
validation_split
:
validation
test_split
:
test
template_aliases
:
"
{%
set
answer_choices
=
[distractor1,
distractor2,
distractor3,
correct_answer]
%}{%
set
gold
=
3
%}"
# set the list of possible answer choices, and set what this doc's gold label idx is
doc_to_text
:
"
{{support.lstrip()}}
\n
Question:
{{question}}
\n
Answer:"
doc_to_target
:
"
{{correct_answer}}"
gold_alias
:
"
{{gold}}"
# this will be cast to an int.
metric_list
:
-
metric
:
acc
aggregation
:
mean
higher_is_better
:
true
-
metric
:
acc_norm
aggregation
:
mean
higher_is_better
:
true
-
metric
:
acc_mutual_info
aggregation
:
mean
higher_is_better
:
true
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