dataset_name: "MC"
task: "worldqa_mc"
test_split: test
output_type: generate_until
doc_to_visual: !function utils.worldqa_doc_to_visual
doc_to_text: !function utils.worldqa_doc_to_text
doc_to_target: !function utils.worldqa_doc_to_answer_mc
process_results: !function utils.worldqa_process_results_mc
metric_list:
  - metric: gpt_eval
    aggregation: !function utils.worldqa_aggregate_mc_eval
    higher_is_better: true
lmms_eval_specific_kwargs:
  default:
    pre_prompt: ""
    post_prompt: "\nAnswer with the option's letter from the given choices directly."
filter_list:
  - name: "flexible-extract"
    filter:
      - function: !function utils.MultiChoiceRegexFilter
        group_select: 0
        ignore_case: true
        ignore_punctuation: true
        regex_pattern: "(\\([A-Z]\\))"

include: _default_template_yaml
