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
24ecd386
Commit
24ecd386
authored
Oct 05, 2023
by
ManuelFay
Browse files
change : to . in the prompt
parent
47a7d41c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
lm_eval/tasks/belebele/_default_template_yaml
lm_eval/tasks/belebele/_default_template_yaml
+1
-2
No files found.
lm_eval/tasks/belebele/_default_template_yaml
View file @
24ecd386
group: belebele
dataset_path: facebook/belebele
description: "Choose the best answer to the question.\n"
test_split: test
fewshot_split: test
fewshot_config:
...
...
@@ -8,7 +7,7 @@ fewshot_config:
output_type: multiple_choice
should_decontaminate: true
doc_to_decontamination_query: "{{question}}"
doc_to_text: "P: {{flores_passage}}\nQ: {{question.strip()}}\nA
.
{{mc_answer1}}\nB
.
{{mc_answer2}}\nC
.
{{mc_answer3}}\nD
.
{{mc_answer4}}\nAnswer:"
doc_to_text: "P: {{flores_passage}}\nQ: {{question.strip()}}\nA
:
{{mc_answer1}}\nB
:
{{mc_answer2}}\nC
:
{{mc_answer3}}\nD
:
{{mc_answer4}}\nAnswer:"
doc_to_choice: ["A", "B", "C", "D"]
doc_to_target: "{{['1', '2', '3', '4'].index(correct_answer_num)}}"
metric_list:
...
...
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