_default_template_yaml 679 Bytes
Newer Older
ManuelFay's avatar
ManuelFay committed
1
2
group: belebele
dataset_path: facebook/belebele
3
description: "Choose the best answer to the question.\n"
ManuelFay's avatar
ManuelFay committed
4
5
6
7
8
9
10
test_split: test
fewshot_split: test
fewshot_config:
  sampler: first_n
output_type: multiple_choice
should_decontaminate: true
doc_to_decontamination_query: "{{question}}"
11
doc_to_text: "P: {{flores_passage}}\nQ: {{question.strip()}}\nA. {{mc_answer1}}\nB. {{mc_answer2}}\nC. {{mc_answer3}}\nD. {{mc_answer4}}\nAnswer:"
ManuelFay's avatar
ManuelFay committed
12
13
14
15
16
17
18
19
20
doc_to_choice: ["A", "B", "C", "D"]
doc_to_target: "{{['1', '2', '3', '4'].index(correct_answer_num)}}"
metric_list:
  - metric: acc
    aggregation: mean
    higher_is_better: true
  - metric: acc_norm
    aggregation: mean
    higher_is_better: true