metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)
Browse files- metadata.json +69 -66
metadata.json
CHANGED
|
@@ -1,69 +1,72 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
}
|
| 58 |
-
},
|
| 59 |
-
"prompt_template_source": {
|
| 60 |
-
"origin": "official",
|
| 61 |
-
"reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/dynamath/utils.py (dynamath_doc_to_text — image+question+optional Options:/A./B. trailer)",
|
| 62 |
-
"notes": "Tier 4: lmms-eval DynaMath canonical evaluation prompt."
|
| 63 |
-
},
|
| 64 |
-
"score_params": {
|
| 65 |
-
"numeric_abs_tol": 0.001
|
| 66 |
-
}
|
| 67 |
}
|
| 68 |
-
|
| 69 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "DynaMath",
|
| 3 |
+
"release_date": "2024-05-01",
|
| 4 |
+
"subsets": {
|
| 5 |
+
"main": {
|
| 6 |
+
"language": [
|
| 7 |
+
"en"
|
| 8 |
+
],
|
| 9 |
+
"modalities": [
|
| 10 |
+
"single_image_start"
|
| 11 |
+
],
|
| 12 |
+
"task_type": "short_answer_qa",
|
| 13 |
+
"score_pipeline": [
|
| 14 |
+
"rule-match",
|
| 15 |
+
"llm-match"
|
| 16 |
+
],
|
| 17 |
+
"score_protocol": {
|
| 18 |
+
"reference": "VLMEvalKit@vlmeval/dataset/dynamath.py:58-109 — rule parse of the answer first (JSON 'short answer' / direct parse_answer), auxiliary LLM extraction only on parse failure, then rule compare: float abs(diff)<=0.001, MC letter equality, text containment. Official DynaMath@evaluation/gpt4o/gpt_4o_json_eval.py:98-123 uses the same JSON 'short answer' parse + abs(diff)<=0.001 rule compare. [Re-verified in clone 2026-07-07: DynaMath_auxeval at dynamath.py:58-110 — abs(diff)<=0.001 at :92.]",
|
| 19 |
+
"note": "Official grading is rule-based over a JSON-formatted answer forced by their inference prompt; the mm-eval prompt (lmms-eval style question+Options trailer) does not force JSON, so LLM extraction fallback (VLMEvalKit protocol) is required. Official float tolerance is ABSOLUTE 0.001 (score_params.numeric_abs_tol), not relative. Official headline metrics are average-case AND worst-case accuracy over 10 generated variants per seed question; the mm-eval copy ships 501 rows (seed variant only), so worst-case accuracy is not reproducible."
|
| 20 |
+
},
|
| 21 |
+
"prompt_template": "<image>{{ question }}{% if options %}\nOptions:\n{% for k, v in options.items() %}{{ k }}. {{ v }}{% if not loop.last %}\n{% endif %}{% endfor %}{% endif %}\n",
|
| 22 |
+
"mapping_from_source": {
|
| 23 |
+
"media": {
|
| 24 |
+
"from": "image",
|
| 25 |
+
"type": "list",
|
| 26 |
+
"min_items": 1,
|
| 27 |
+
"max_items": 1
|
| 28 |
+
},
|
| 29 |
+
"id": {
|
| 30 |
+
"from": "id"
|
| 31 |
+
},
|
| 32 |
+
"question": {
|
| 33 |
+
"from": "question"
|
| 34 |
+
},
|
| 35 |
+
"answer": {
|
| 36 |
+
"from": "answer",
|
| 37 |
+
"optional": true
|
| 38 |
+
},
|
| 39 |
+
"options": {
|
| 40 |
+
"from": "options",
|
| 41 |
+
"optional": true,
|
| 42 |
+
"note": "list source values are normalized to {A,B,...} dict"
|
| 43 |
+
},
|
| 44 |
+
"extra": {
|
| 45 |
+
"subject": {
|
| 46 |
+
"from": "subject"
|
| 47 |
+
},
|
| 48 |
+
"level": {
|
| 49 |
+
"from": "level"
|
| 50 |
+
},
|
| 51 |
+
"answer_type": {
|
| 52 |
+
"from": "answer_type"
|
| 53 |
+
}
|
| 54 |
+
},
|
| 55 |
+
"source": {
|
| 56 |
+
"format": "json",
|
| 57 |
+
"url": {
|
| 58 |
+
"test": "https://github.com/DynaMath/DynaMath/tree/main/dataset"
|
| 59 |
+
}
|
| 60 |
+
}
|
| 61 |
+
},
|
| 62 |
+
"prompt_template_source": {
|
| 63 |
+
"origin": "official",
|
| 64 |
+
"reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/dynamath/utils.py (dynamath_doc_to_text — image+question+optional Options:/A./B. trailer)",
|
| 65 |
+
"notes": "Tier 4: lmms-eval DynaMath canonical evaluation prompt."
|
| 66 |
+
},
|
| 67 |
+
"score_params": {
|
| 68 |
+
"numeric_abs_tol": 0.001
|
| 69 |
+
}
|
| 70 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 71 |
}
|
| 72 |
+
}
|
|
|