Add manifest (metadata.json)
Browse files- metadata.json +26 -21
metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "MathVision",
|
| 3 |
-
"release_date": "
|
| 4 |
"subsets": {
|
| 5 |
"main": {
|
| 6 |
"language": [
|
|
@@ -9,19 +9,25 @@
|
|
| 9 |
"modalities": [
|
| 10 |
"single_image_start"
|
| 11 |
],
|
| 12 |
-
"task_type": "
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 17 |
},
|
| 18 |
-
"prompt_template": "Please first solve the problem step by step, then put your final answer or a single letter (if it is a multiple choice question) in one \"\\boxed{}\". \n<image>{{ question }}",
|
| 19 |
"mapping_from_source": {
|
| 20 |
-
"
|
| 21 |
-
"
|
| 22 |
-
"
|
| 23 |
-
|
| 24 |
-
|
|
|
|
| 25 |
},
|
| 26 |
"id": {
|
| 27 |
"from": "id"
|
|
@@ -29,10 +35,21 @@
|
|
| 29 |
"question": {
|
| 30 |
"from": "question"
|
| 31 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
"answer": {
|
| 33 |
"from": "answer",
|
| 34 |
"optional": true
|
| 35 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
"extra": {
|
| 37 |
"level": {
|
| 38 |
"from": "level"
|
|
@@ -40,19 +57,7 @@
|
|
| 40 |
"subject": {
|
| 41 |
"from": "subject"
|
| 42 |
}
|
| 43 |
-
},
|
| 44 |
-
"source": {
|
| 45 |
-
"format": "huggingface",
|
| 46 |
-
"url": {
|
| 47 |
-
"test": "https://huggingface.co/datasets/MathLLMs/MathVision",
|
| 48 |
-
"testmini": "https://huggingface.co/datasets/MathLLMs/MathVision"
|
| 49 |
-
}
|
| 50 |
}
|
| 51 |
-
},
|
| 52 |
-
"prompt_template_source": {
|
| 53 |
-
"origin": "official",
|
| 54 |
-
"reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/mathvision/utils.py#L29-L42 (default mathvision query_prompt='Please first solve the problem step by step, then put your final answer or a single letter (if it is a multiple choice question) in one \\\\boxed{}.')",
|
| 55 |
-
"notes": "Tier 4: lmms-eval MathVision canonical eval prompt with chain-of-thought structure and boxed-answer formatting."
|
| 56 |
}
|
| 57 |
}
|
| 58 |
}
|
|
|
|
| 1 |
{
|
| 2 |
"name": "MathVision",
|
| 3 |
+
"release_date": "2026-07-07",
|
| 4 |
"subsets": {
|
| 5 |
"main": {
|
| 6 |
"language": [
|
|
|
|
| 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"
|
|
|
|
| 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"
|
|
|
|
| 57 |
"subject": {
|
| 58 |
"from": "subject"
|
| 59 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 60 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 61 |
}
|
| 62 |
}
|
| 63 |
}
|