ZTWHHH commited on
Commit
d2e8e4d
·
verified ·
1 Parent(s): e71a2c2

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 +55 -52
metadata.json CHANGED
@@ -1,55 +1,58 @@
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_type": "llm_extract",
14
- "score_protocol": {
15
- "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)",
16
- "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."
17
- },
18
- "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.",
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
- "source": {
42
- "format": "huggingface",
43
- "url": {
44
- "test": "https://huggingface.co/datasets/lmms-lab/ai2d"
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
+ }