"vscode:/vscode.git/clone" did not exist on "f744bfad5af8a7833aa7a1305b6d09c87d056447"
default.yaml 736 Bytes
Newer Older
lintangsutawika's avatar
lintangsutawika committed
1
2
3
4
5
6
task: squadv2
dataset_path: squad_v2
output_type: greedy_until
training_split: train
validation_split: validation
doc_to_text: "Title: {{title}}\n\nBackground: {{context}}\n\nQuestion: {{question}}\n\n Answer:"
7
doc_to_target: "{% if answers.text| length > 0 %}{{answers.text}}{% else %}{{['']}}{% endif %}"
lintangsutawika's avatar
lintangsutawika committed
8
9
10
11
12
13
target_delimiter: ""
should_decontaminate: true
doc_to_decontamination_query: context
generation_kwargs:
  until:
    - "\n"
14
15
16
17
18
# filter_list:
#   - name: remove_whitespace
#     filter:
#       - function: remove_whitespace
#       - function: take_first
lintangsutawika's avatar
lintangsutawika committed
19
metric_list:
20
21
22
23
24
  - metric: !function utils.exact
    aggregation: mean
    higher_is_better: true
  - metric: !function utils.f1
    aggregation: mean
lintangsutawika's avatar
update  
lintangsutawika committed
25
    higher_is_better: true