mlqa_common_yaml 522 Bytes
Newer Older
Shivansh Pachnanda's avatar
Shivansh Pachnanda committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
dataset_path: facebook/mlqa
dataset_kwargs:
  trust_remote_code: true
test_split: test
validation_split: validation
output_type: generate_until
doc_to_text: "Context: {{context}}\n\nQuestion: {{question}}\n\nAnswer:"
doc_to_target: "{{answers}}"
process_docs: !function utils.process_docs
metric_list:
  - metric: exact_match
    aggregation: mean
    higher_is_better: true
  - metric: f1
    aggregation: mean
    higher_is_better: true
generation_kwargs:
  until:
    - "\n"
  do_sample: false
metadata:
  version: 0.0