ZTWHHH commited on
Commit
1d8886b
·
verified ·
1 Parent(s): 94fd703

Add manifest (metadata.json)

Browse files
Files changed (1) hide show
  1. metadata.json +61 -61
metadata.json CHANGED
@@ -1,64 +1,64 @@
1
  {
2
- "name": "MathVision",
3
- "release_date": "2026-07-07",
4
- "subsets": {
5
- "main": {
6
- "language": [
7
- "en"
8
- ],
9
- "modalities": [
10
- "single_image_start"
11
- ],
12
- "task_type": "multiple_choice",
13
- "score_type": "rule",
14
- "score_protocol": {
15
- "reference": "official mathllm/MATH-V@evaluation/evaluate.py — purely rule-based: boxed/'the answer is' extraction, find_math_answer, is_equal (latex2sympy symbolic compare), no LLM call; identical logic vendored at lmms-eval@lmms_eval/tasks/mathvision/utils.py:79-137 (mathvision_standard_eval) + eval_utils.py.",
16
- "note": "Official is_equal does latex2sympy symbolic equivalence and also accepts the option TEXT for MCQ rows (gt letter or option value); the scorer's exact/template chain reproduces letter/number matches but not symbolic LaTeX equivalence. VLMEvalKit disagrees with the official protocol (utils/mathv.py:116-160: rule prefetch then GPT answer extraction = llm_extract); official rule protocol preferred. The prompt is the official MATH-V boxed prompt (models/GPT4V.py process_example_mergedimg), so boxed template extraction applies. Rows whose options are the placeholder list ['A','B','C','D','E'] have the option contents printed inside the image; the official prompt suppresses the options block for them and the options dict {A:'A',...,E:'E'} is carried verbatim from the source."
17
- },
18
- "prompt_template": "Please solve the problem and put your answer in one \"\\boxed{}\". If it is a multiple choice question, only one letter is allowed in the \"\\boxed{}\".\n<image>{{ question }}\n{% if options and options.values()|join('') != 'ABCDE' %}{% for k, v in options.items() %}({{ k }}) {{ v }}\n{% endfor %}{% endif %}",
19
- "prompt_template_source": {
20
- "origin": "official",
21
- "reference": "https://github.com/mathllm/MATH-V/blob/main/models/GPT4V.py#L109-L117 (process_example_mergedimg, the __main__ inference path: boxed instruction + question + '(A) ...' options block only when options are non-empty and not the in-image placeholder list ABCDE; same suppression in geninput L22-L30)",
22
- "notes": "Tier 1: official MATH-V inference code. Byte-identical to the official prompt except a single <image> placeholder inserted before the question (the HF dataset ships one merged image per row; the official code attaches it separately). lmms-eval (lmms_eval/tasks/mathvision/utils.py L33-L48) equivalently emits a 'Choices:' block only when options are present."
23
- },
24
- "mapping_from_source": {
25
- "source": {
26
- "format": "huggingface",
27
- "url": {
28
- "test": "https://huggingface.co/datasets/MathLLMs/MathVision",
29
- "testmini": "https://huggingface.co/datasets/MathLLMs/MathVision"
30
- }
31
- },
32
- "id": {
33
- "from": "id"
34
- },
35
- "question": {
36
- "from": "question"
37
- },
38
- "options": {
39
- "from": "options",
40
- "optional": true,
41
- "note": "list source values are normalized to {A,B,...} dict; empty list stays {}. 384/3040 test (73/304 testmini) MCQ rows carry the placeholder list ['A','B','C','D','E'] meaning the option contents are printed inside the image; the prompt template suppresses the options block for exactly those rows, mirroring official handling."
42
- },
43
- "answer": {
44
- "from": "answer",
45
- "optional": true
46
- },
47
- "media": {
48
- "from": "decoded_image",
49
- "type": "list",
50
- "min_items": 1,
51
- "max_items": 1
52
- },
53
- "extra": {
54
- "level": {
55
- "from": "level"
56
- },
57
- "subject": {
58
- "from": "subject"
59
- }
60
- }
61
- }
62
  }
 
63
  }
64
- }
 
 
1
  {
2
+ "name": "MathVision",
3
+ "release_date": "2026-07-07",
4
+ "subsets": {
5
+ "main": {
6
+ "language": [
7
+ "en"
8
+ ],
9
+ "modalities": [
10
+ "single_image_start"
11
+ ],
12
+ "task_type": "multiple_choice_qa",
13
+ "score_type": "rule",
14
+ "score_protocol": {
15
+ "reference": "official mathllm/MATH-V@evaluation/evaluate.py — purely rule-based: boxed/'the answer is' extraction, find_math_answer, is_equal (latex2sympy symbolic compare), no LLM call; identical logic vendored at lmms-eval@lmms_eval/tasks/mathvision/utils.py:79-137 (mathvision_standard_eval) + eval_utils.py.",
16
+ "note": "Official is_equal does latex2sympy symbolic equivalence and also accepts the option TEXT for MCQ rows (gt letter or option value); the scorer's exact/template chain reproduces letter/number matches but not symbolic LaTeX equivalence. VLMEvalKit disagrees with the official protocol (utils/mathv.py:116-160: rule prefetch then GPT answer extraction = llm_extract); official rule protocol preferred. The prompt is the official MATH-V boxed prompt (models/GPT4V.py process_example_mergedimg), so boxed template extraction applies. Rows whose options are the placeholder list ['A','B','C','D','E'] have the option contents printed inside the image; the official prompt suppresses the options block for them and the options dict {A:'A',...,E:'E'} is carried verbatim from the source."
17
+ },
18
+ "prompt_template": "Please solve the problem and put your answer in one \"\\boxed{}\". If it is a multiple choice question, only one letter is allowed in the \"\\boxed{}\".\n<image>{{ question }}\n{% if options and options.values()|join('') != 'ABCDE' %}{% for k, v in options.items() %}({{ k }}) {{ v }}\n{% endfor %}{% endif %}",
19
+ "prompt_template_source": {
20
+ "origin": "official",
21
+ "reference": "https://github.com/mathllm/MATH-V/blob/main/models/GPT4V.py#L109-L117 (process_example_mergedimg, the __main__ inference path: boxed instruction + question + '(A) ...' options block only when options are non-empty and not the in-image placeholder list ABCDE; same suppression in geninput L22-L30)",
22
+ "notes": "Tier 1: official MATH-V inference code. Byte-identical to the official prompt except a single <image> placeholder inserted before the question (the HF dataset ships one merged image per row; the official code attaches it separately). lmms-eval (lmms_eval/tasks/mathvision/utils.py L33-L48) equivalently emits a 'Choices:' block only when options are present."
23
+ },
24
+ "mapping_from_source": {
25
+ "source": {
26
+ "format": "huggingface",
27
+ "url": {
28
+ "test": "https://huggingface.co/datasets/MathLLMs/MathVision",
29
+ "testmini": "https://huggingface.co/datasets/MathLLMs/MathVision"
30
+ }
31
+ },
32
+ "id": {
33
+ "from": "id"
34
+ },
35
+ "question": {
36
+ "from": "question"
37
+ },
38
+ "options": {
39
+ "from": "options",
40
+ "optional": true,
41
+ "note": "list source values are normalized to {A,B,...} dict; empty list stays {}. 384/3040 test (73/304 testmini) MCQ rows carry the placeholder list ['A','B','C','D','E'] meaning the option contents are printed inside the image; the prompt template suppresses the options block for exactly those rows, mirroring official handling."
42
+ },
43
+ "answer": {
44
+ "from": "answer",
45
+ "optional": true
46
+ },
47
+ "media": {
48
+ "from": "decoded_image",
49
+ "type": "list",
50
+ "min_items": 1,
51
+ "max_items": 1
52
+ },
53
+ "extra": {
54
+ "level": {
55
+ "from": "level"
56
+ },
57
+ "subject": {
58
+ "from": "subject"
59
+ }
 
 
60
  }
61
+ }
62
  }
63
+ }
64
+ }