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
3d2ee4d4
Unverified
Commit
3d2ee4d4
authored
Sep 26, 2023
by
Hailey Schoelkopf
Committed by
GitHub
Sep 26, 2023
Browse files
Update _default_template_yaml
parent
6ae9e9e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
lm_eval/tasks/mmlu/default/_default_template_yaml
lm_eval/tasks/mmlu/default/_default_template_yaml
+2
-0
No files found.
lm_eval/tasks/mmlu/default/_default_template_yaml
View file @
3d2ee4d4
...
@@ -2,6 +2,8 @@ group: mmlu
...
@@ -2,6 +2,8 @@ group: mmlu
dataset_path: cais/mmlu
dataset_path: cais/mmlu
test_split: test
test_split: test
fewshot_split: dev
fewshot_split: dev
fewshot_config:
sampler: first_n
output_type: multiple_choice
output_type: multiple_choice
doc_to_text: "{{question.strip()}}\nA. {{choices[0]}}\nB. {{choices[1]}}\nC. {{choices[2]}}\nD. {{choices[3]}}\nAnswer:"
doc_to_text: "{{question.strip()}}\nA. {{choices[0]}}\nB. {{choices[1]}}\nC. {{choices[2]}}\nD. {{choices[3]}}\nAnswer:"
doc_to_choice: ["A", "B", "C", "D"]
doc_to_choice: ["A", "B", "C", "D"]
...
...
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