metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)
Browse files- metadata.json +55 -52
metadata.json
CHANGED
|
@@ -1,55 +1,58 @@
|
|
| 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 |
-
"prompt_template_source": {
|
| 49 |
-
"origin": "official",
|
| 50 |
-
"reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/ai2d/utils.py (ai2d_doc_to_text — 'A./B./...' options + 'Answer with the option's letter from the given choices directly.' canonical trailer)",
|
| 51 |
-
"notes": "Tier 4: lmms-eval AI2D canonical evaluation prompt."
|
| 52 |
-
}
|
| 53 |
}
|
| 54 |
-
|
| 55 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "AI2D",
|
| 3 |
+
"release_date": "2016-08-26",
|
| 4 |
+
"subsets": {
|
| 5 |
+
"main": {
|
| 6 |
+
"language": [
|
| 7 |
+
"en"
|
| 8 |
+
],
|
| 9 |
+
"modalities": [
|
| 10 |
+
"single_image_start"
|
| 11 |
+
],
|
| 12 |
+
"task_type": "multiple_choice_qa",
|
| 13 |
+
"score_pipeline": [
|
| 14 |
+
"rule-match",
|
| 15 |
+
"llm-match"
|
| 16 |
+
],
|
| 17 |
+
"score_protocol": {
|
| 18 |
+
"reference": "vlmevalkit@vlmeval/dataset/image_mcq.py:249-324 (ImageMCQDataset.evaluate_heuristic) -> vlmevalkit@vlmeval/dataset/utils/multiple_choice.py:475-508 mcq_vanilla_eval: can_infer rule prefetch, then GPT extractor (extract_answer_from_item @vlmeval/dataset/utils/multiple_choice.py:359-407) maps verbose output to a letter, rule-compare vs GT; AI2D_TEST registered @vlmeval/dataset/image_mcq.py:100. Cross-check: lmms-eval@lmms_eval/tasks/ai2d/ai2d.yaml:41-55 (MultiChoiceRegexFilter + exact_match, pure rule)",
|
| 19 |
+
"note": "mm-eval prompt follows the lmms-eval trailer; lmms-eval grades AI2D with deterministic regex extraction only, VLMEvalKit adds the GPT extraction fallback. Both are plain per-sample accuracy — no aggregation caveat."
|
| 20 |
+
},
|
| 21 |
+
"prompt_template": "<image>{{ question }}\n{% for k, v in options.items() %}{{ k }}. {{ v }}\n{% endfor %}Answer with the option's letter from the given choices directly.",
|
| 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 |
+
"source": {
|
| 45 |
+
"format": "huggingface",
|
| 46 |
+
"url": {
|
| 47 |
+
"test": "https://huggingface.co/datasets/lmms-lab/ai2d"
|
| 48 |
+
}
|
| 49 |
+
}
|
| 50 |
+
},
|
| 51 |
+
"prompt_template_source": {
|
| 52 |
+
"origin": "official",
|
| 53 |
+
"reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/ai2d/utils.py (ai2d_doc_to_text — 'A./B./...' options + 'Answer with the option's letter from the given choices directly.' canonical trailer)",
|
| 54 |
+
"notes": "Tier 4: lmms-eval AI2D canonical evaluation prompt."
|
| 55 |
+
}
|
| 56 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 57 |
}
|
| 58 |
+
}
|
|
|