ZTWHHH commited on
Commit
52dff40
·
verified ·
1 Parent(s): 3ce4067

metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)

Browse files
Files changed (1) hide show
  1. metadata.json +69 -66
metadata.json CHANGED
@@ -1,69 +1,72 @@
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_type": "llm_extract",
14
- "score_protocol": {
15
- "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.]",
16
- "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."
17
- },
18
- "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",
19
- "mapping_from_source": {
20
- "media": {
21
- "from": "image",
22
- "type": "list",
23
- "min_items": 1,
24
- "max_items": 1
25
- },
26
- "id": {
27
- "from": "id"
28
- },
29
- "question": {
30
- "from": "question"
31
- },
32
- "answer": {
33
- "from": "answer",
34
- "optional": true
35
- },
36
- "options": {
37
- "from": "options",
38
- "optional": true,
39
- "note": "list source values are normalized to {A,B,...} dict"
40
- },
41
- "extra": {
42
- "subject": {
43
- "from": "subject"
44
- },
45
- "level": {
46
- "from": "level"
47
- },
48
- "answer_type": {
49
- "from": "answer_type"
50
- }
51
- },
52
- "source": {
53
- "format": "json",
54
- "url": {
55
- "test": "https://github.com/DynaMath/DynaMath/tree/main/dataset"
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
+ }