include: "_default_template_yaml"
tag:
  - french_bench
  - french_bench_mc
# description: "Répond au mieux en complétant la question avec une des réponses proposées."
dataset_path: manu/french-bench-grammar-vocab-reading
output_type: multiple_choice
validation_split: Vocabulary
fewshot_split: Vocabulary
test_split: Vocabulary
# doc_to_text: "Question: {{question.strip()}}\nA: {{answerA}}\nB: {{answerB}}\nC: {{answerC}}\nD: {{answerD}}\nRéponse："
# doc_to_choice: ["A", "B", "C", "D"]
doc_to_text: "La phrase suivante est logique sémantiquement:\n"
doc_to_choice: "{{[question.replace('<...>', answerA), question.replace('<...>', answerB), question.replace('<...>', answerC), question.replace('<...>', answerD)]}}"
doc_to_target: '{{["answerA", "answerB", "answerC", "answerD"].index("answer" + answer)}}'
task: french_bench_vocab
metric_list:
  - metric: acc
    aggregation: mean
    higher_is_better: true
