french_bench_multifquad.yaml 1 KB
Newer Older
Manuel Faysse's avatar
Manuel Faysse committed
1
include: "_default_template_yaml"
2
tag:
Manuel Faysse's avatar
Manuel Faysse committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  - french_bench
  - french_bench_gen
description: "D'après l'information dans le contexte donné, donne la réponse à la question en citant quelques extraits du contexte."
task: french_bench_multifquad
dataset_path: manu/multifquad_test
output_type: generate_until
validation_split: valid
test_split: test
fewshot_split: valid
doc_to_text: "\nContexte: {{context}}\n\nQuestion: {{question}}\n\nRéponse:"
doc_to_target: "{{', '.join(answers.text)}}"
target_delimiter: " "
should_decontaminate: true
doc_to_decontamination_query: context
generation_kwargs:
  until:
    - "\n"
# filter_list:
#   - name: remove_whitespace
#     filter:
#       - function: remove_whitespace
#       - function: take_first
metric_list:
  - metric: !function utils.exact
    aggregation: mean
    higher_is_better: true
  - metric: !function utils.f1
    aggregation: mean
    higher_is_better: true
  - metric: !function utils.rouge1
    higher_is_better: true
    aggregation:  !function utils.rouge1_agg