Jun-Yang commited on
Commit
97c888b
·
verified ·
1 Parent(s): ef6e7d1

Upload dataset/MathVision/eval.yaml with huggingface_hub

Browse files
Files changed (1) hide show
  1. dataset/MathVision/eval.yaml +61 -0
dataset/MathVision/eval.yaml ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ name: MATH-Vision
2
+ description: >
3
+ MATH-Vision (MATH-V) is a meticulously curated collection of 3,040
4
+ high-quality mathematical problems with visual contexts sourced from real
5
+ math competitions. Spanning 16 distinct mathematical disciplines and graded
6
+ across 5 levels of difficulty, it evaluates the multimodal mathematical
7
+ reasoning abilities of Large Multimodal Models (LMMs).
8
+ evaluation_framework: "inspect-ai"
9
+
10
+ tasks:
11
+ - id: mathvision
12
+ config: default
13
+ split: test
14
+
15
+ field_spec:
16
+ input: question
17
+ input_image: decoded_image
18
+ target: answer
19
+ choices: options
20
+
21
+ solvers:
22
+ - name: system_message
23
+ args:
24
+ template: |
25
+ Solve the following mathematics problem, analyzing the accompanying
26
+ image. If answer options are provided, choose the single best one.
27
+ Reason step by step, then on the final line output ONLY your answer
28
+ in the form:
29
+ ANSWER: <your final answer>
30
+ - name: generate
31
+
32
+ scorers:
33
+ - name: match
34
+ args:
35
+ location: end
36
+
37
+ - id: mathvision_testmini
38
+ config: default
39
+ split: testmini
40
+
41
+ field_spec:
42
+ input: question
43
+ input_image: decoded_image
44
+ target: answer
45
+ choices: options
46
+
47
+ solvers:
48
+ - name: system_message
49
+ args:
50
+ template: |
51
+ Solve the following mathematics problem, analyzing the accompanying
52
+ image. If answer options are provided, choose the single best one.
53
+ Reason step by step, then on the final line output ONLY your answer
54
+ in the form:
55
+ ANSWER: <your final answer>
56
+ - name: generate
57
+
58
+ scorers:
59
+ - name: match
60
+ args:
61
+ location: end