_default_template_yaml 596 Bytes
Newer Older
ManuelFay's avatar
ManuelFay committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
group: belebele
dataset_path: facebook/belebele
test_split: test
fewshot_split: test
fewshot_config:
  sampler: first_n
output_type: multiple_choice
should_decontaminate: true
doc_to_decontamination_query: "{{question}}"
doc_to_text: "{{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:
  - metric: acc
    aggregation: mean
    higher_is_better: true
  - metric: acc_norm
    aggregation: mean
    higher_is_better: true