# Copyright 2025 Xiaomi Corporation.

dataset_path: lscpku/OlympiadBench-image
dataset_kwargs:
  token: True
dataset_name: physics_en
task : "olympiadbench_image_physics_en"
test_split: test
output_type: generate_until
doc_to_visual: !function utils.olympiadbench_doc_to_visual
doc_to_text: !function utils.olympiadbench_doc_to_text
doc_to_target: "answer"
generation_kwargs:
  max_new_tokens: 16384
  temperature: 0
  top_p: 1.0
  num_beams: 1
  do_sample: false
process_results: !function utils.olympiadbench_process_results
metric_list:
  - metric: exact_match
    aggregation: mean
    higher_is_better: true