2wikimqa_e.yaml 668 Bytes
Newer Older
Baber's avatar
Baber committed
1
2
3
4

tag:
  - longbench_e
task: longbench_2wikimqa_e
Baber's avatar
Baber committed
5
6
dataset_path: THUDM/LongBench
test_split: test
Baber's avatar
Baber committed
7
8
9
dataset_name: 2wikimqa_e
doc_to_text: 'Answer the question based on the given passages. Only give me the answer and do not output any other words.\n\nThe following are given passages.\n{{context}}\n\nAnswer the question based on the given passages. Only give me the answer and do not output any other words.\n\nQuestion: {{input}}\nAnswer:'
doc_to_target: '{{answers}}'
Baber's avatar
Baber committed
10
11
12
generation_kwargs:
  max_gen_toks: 32
  temperature: 1
Baber's avatar
Baber committed
13
  do_sample: True
Baber's avatar
Baber committed
14
15
16
metric_list:
  - metric: !function metrics.qa_f1_score
    aggregation: mean
Baber's avatar
Baber committed
17
    higher_is_better: True
Baber's avatar
Baber committed
18
19
metadata:
  version: 1.0