Unverified Commit 69502c06 authored by jab13x's avatar jab13x Committed by GitHub
Browse files

Fixed colon in Belebele _default_template_yaml (#2111)

parent 1adab703
...@@ -4,7 +4,7 @@ fewshot_config: ...@@ -4,7 +4,7 @@ fewshot_config:
output_type: multiple_choice output_type: multiple_choice
should_decontaminate: true should_decontaminate: true
doc_to_decontamination_query: "{{question}}" 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_choice: ["A", "B", "C", "D"]
doc_to_target: "{{['1', '2', '3', '4'].index(correct_answer_num)}}" doc_to_target: "{{['1', '2', '3', '4'].index(correct_answer_num)}}"
metric_list: metric_list:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment