task: xquad_es
dataset_path: xquad
dataset_name: xquad.es
output_type: generate_until
doc_to_text: "Contexto: {{context}}\n\nPregunta: {{question}}\n\nRespuesta:"
doc_to_target: '{{answers["text"][0]}}'
validation_split: validation
target_delimiter: ' '
process_results: !function utils.process_results_qa
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
