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
89de5103
Commit
89de5103
authored
Aug 05, 2024
by
lintangsutawika
Browse files
add process for each subtask
parent
9bee4b4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
lm_eval/tasks/mmlu_pro/_default_template_yaml
lm_eval/tasks/mmlu_pro/_default_template_yaml
+5
-5
No files found.
lm_eval/tasks/mmlu_pro/_default_template_yaml
View file @
89de5103
...
@@ -8,11 +8,11 @@ fewshot_config:
...
@@ -8,11 +8,11 @@ fewshot_config:
output_type: generate_until
output_type: generate_until
doc_to_text: !function utils.doc_to_text
doc_to_text: !function utils.doc_to_text
doc_to_target: answer
doc_to_target: answer
#
filter_list:
filter_list:
#
- name: "custom-extract"
- name: "custom-extract"
#
filter:
filter:
#
- function: !function utils.CustomRegexFilter
- function: !function utils.CustomRegexFilter
#
- function: "take_first"
- function: "take_first"
generation_kwargs:
generation_kwargs:
until:
until:
- "</s>"
- "</s>"
...
...
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