include: "_default_template_yaml"
tag:
  - french_bench
  - french_bench_gen
task: french_bench_trivia
dataset_path: manu/french-trivia
output_type: generate_until
validation_split: train
test_split: train
fewshot_split: train
doc_to_text: "{{Question}}\nAnswer:"
doc_to_target: "{{Answer}}"
target_delimiter: " "
should_decontaminate: true
doc_to_decontamination_query: Question
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
  - metric: !function utils.is_included
    higher_is_better: true
    aggregation: mean
