mathvista.yaml 508 Bytes
Newer Older
Baber's avatar
Baber committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dataset_path: AI4Math/MathVista
task: mathvista_mcq
test_split: testmini
output_type: "greedy_until"
process_docs: !function utils.process_docs
doc_to_image: !function utils.doc_to_image
doc_to_text: "<image> {{query}}"
#doc_to_choice: '{{ ["A", "B", "C", "D", "E", "F"][:choices.length] }}'
doc_to_target: answer
process_results: !function utils.process_results
metric_list:
  - metric: acc
    aggregation: mean
    higher_is_better: true
metadata:
  version: 1.0
dataset_kwargs:
  trust_remote_code: true