nq_open.yaml 720 Bytes
Newer Older
haileyschoelkopf's avatar
haileyschoelkopf committed
1
2
task: nq_open
dataset_path: nq_open
3
output_type: generate_until
haileyschoelkopf's avatar
haileyschoelkopf committed
4
5
training_split: train
validation_split: validation
6
description: "Answer these questions:\n\n"
haileyschoelkopf's avatar
haileyschoelkopf committed
7
8
doc_to_text: "Q: {{question}}?\nA:"
doc_to_target: "{{answer}}" # TODO: should be multi-target
baberabb's avatar
baberabb committed
9
fewshot_delimiter: "\n"
haileyschoelkopf's avatar
haileyschoelkopf committed
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
generation_kwargs:
  until:
    - "\n"
    - "."
    - ","
  do_sample: false
  temperature: 0.0
filter_list:
  - name: remove_whitespace
    filter:
      - function: remove_whitespace
      - function: take_first
target_delimiter: " "
metric_list:
  - metric: exact_match
    aggregation: mean
    higher_is_better: true
    ignore_case: true
    ignore_punctuation: true
    regexes_to_ignore:
    - "\ban|a|the\b"
lintangsutawika's avatar
lintangsutawika committed
31
metadata:
32
  version: 2.0