qa4mre_2012.yaml 707 Bytes
Newer Older
FarzanehNakhaee's avatar
FarzanehNakhaee committed
1
2
3
4
5
6
7
8
group:
  - multiple_choice
task: qa4mre_2012
dataset_path: qa4mre
dataset_name: 2012.main.EN
output_type: multiple_choice
test_split: train
template_aliases: "{% set answer_choices = answer_options['answer_str'] %}"
haileyschoelkopf's avatar
haileyschoelkopf committed
9
10
11
doc_to_text: "{{document_str.strip()}}\nQuestion: {{question_str}}\nChoices:\n- {{answer_choices|join('\n- ')}}\nAnswer:"
doc_to_target: !function preprocess_qa4mre.doc_to_target
gold_alias: !function preprocess_qa4mre.qa4mre_process
FarzanehNakhaee's avatar
FarzanehNakhaee committed
12
13
14
15
16
17
18
19
should_decontaminate: true
doc_to_decontamination_query: "{{document_str.strip()}} + ' ' + {{question_str}}"
metric_list:
  - metric: acc
    aggregation: mean
    higher_is_better: true
  - metric: acc_norm
    aggregation: mean
FarzanehNakhaee's avatar
FarzanehNakhaee committed
20
    higher_is_better: true