xquad_common_yaml 681 Bytes
Newer Older
zxcvuser's avatar
zxcvuser committed
1
2
3
4
5
# This file will be included in the generated language-specific task configs.
# It doesn't have a yaml file extension as it is not meant to be imported directly
# by the harness.
tag: xquad
task: null
6
dataset_path: xquad
zxcvuser's avatar
zxcvuser committed
7
dataset_name: null
8
9
output_type: generate_until
validation_split: validation
zxcvuser's avatar
zxcvuser committed
10
11
doc_to_text: null
doc_to_target: '{{answers["text"][0]}}'
12
process_results: !function utils.process_results_qa
zxcvuser's avatar
zxcvuser committed
13
target_delimiter: ' '
14
15
16
17
18
19
20
21
22
23
24
25
26
27
generation_kwargs:
  until:
    - "\n"
  do_sample: false
  temperature: 0.0
metric_list:
  - metric: exact_match
    aggregation: mean
    higher_is_better: true
  - metric: f1
    aggregation: mean
    higher_is_better: true
metadata:
  version: 1.0