group: - multiple_choice task: headqa_en dataset_path: EleutherAI/headqa dataset_name: en output_type: multiple_choice training_split: train validation_split: validation test_split: test template_aliases: "{% set answer_choices = answers|map(attribute='atext')|list %}{% set gold = ra - 1 %}" # set the list of possible answer choices, and set what this doc's gold label idx is doc_to_text: "Question: {{qtext}}\nAnswer:" doc_to_target: "{{answer_choices[gold]}}" gold_alias: "{{gold}}" # this will be cast to an int. metric_list: - metric: acc aggregation: mean higher_is_better: true - metric: acc_norm aggregation: mean higher_is_better: true