ZTWHHH commited on
Commit
8b3d5e5
·
verified ·
1 Parent(s): a3f3c8e

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 +56 -53
metadata.json CHANGED
@@ -1,56 +1,59 @@
1
  {
2
- "name": "MMVP",
3
- "release_date": "2024-01-01",
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; MMVP registered @vlmeval/dataset/image_mcq.py:121; headline via report_acc_MMVP @vlmeval/dataset/utils/multiple_choice.py:613-622: pairs of consecutive rows (2i, 2i+1) — 'Overall' counts a pair only if BOTH hits are 1",
16
- "note": "Official headline 'Overall' is PAIR accuracy (a CLIP-blind pair scores only if both questions are correct); a per-sample scorer reports per-question accuracy, systematically higher. Pair = consecutive ids (mm-eval ids 1..300, pair k = ids 2k-1 & 2k). GT stored as lowercase parenthesized letters '(a)'/'(b)' with options in options_text ('(a) Open (b) Closed'); matcher must normalize case/parens."
17
- },
18
- "prompt_template": "<image>{{ question }} {{ options.options_text }}",
19
- "prompt_template_source": {
20
- "origin": "official",
21
- "reference": "https://github.com/tsb0601/MMVP/blob/main/scripts/evaluate_mllm.py (cur_prompt = row['Question'] + ' ' + row['Options'])",
22
- "notes": "Tier 1: MMVP official evaluation prompt per tsb0601/MMVP/scripts/evaluate_mllm.py line 59: cur_prompt = row['Question'] + ' ' + row['Options']. No trailer is appended by the official script. Options field uses '(a) Open (b) Closed' inline format from the source CSV/HF parquet."
23
- },
24
- "mapping_from_source": {
25
- "media": {
26
- "from": "image",
27
- "type": "list",
28
- "min_items": 1,
29
- "max_items": 1
30
- },
31
- "id": {
32
- "from": "Index"
33
- },
34
- "question": {
35
- "from": "Question"
36
- },
37
- "answer": {
38
- "from": "Correct Answer",
39
- "optional": true
40
- },
41
- "extra": {
42
- "options_text": {
43
- "from": "Options",
44
- "note": "Pre-rendered options string in '(a) opt1 (b) opt2' format from MMVP source."
45
- }
46
- },
47
- "source": {
48
- "format": "huggingface",
49
- "url": {
50
- "test": "https://huggingface.co/datasets/lmms-lab-eval/MMVP"
51
- }
 
 
 
 
 
52
  }
53
- }
54
  }
55
- }
56
- }
 
1
  {
2
+ "name": "MMVP",
3
+ "release_date": "2024-01-01",
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; MMVP registered @vlmeval/dataset/image_mcq.py:121; headline via report_acc_MMVP @vlmeval/dataset/utils/multiple_choice.py:613-622: pairs of consecutive rows (2i, 2i+1) — 'Overall' counts a pair only if BOTH hits are 1",
19
+ "note": "Official headline 'Overall' is PAIR accuracy (a CLIP-blind pair scores only if both questions are correct); a per-sample scorer reports per-question accuracy, systematically higher. Pair = consecutive ids (mm-eval ids 1..300, pair k = ids 2k-1 & 2k). GT stored as lowercase parenthesized letters '(a)'/'(b)' with options in options_text ('(a) Open (b) Closed'); matcher must normalize case/parens."
20
+ },
21
+ "prompt_template": "<image>{{ question }} {{ options.options_text }}",
22
+ "prompt_template_source": {
23
+ "origin": "official",
24
+ "reference": "https://github.com/tsb0601/MMVP/blob/main/scripts/evaluate_mllm.py (cur_prompt = row['Question'] + ' ' + row['Options'])",
25
+ "notes": "Tier 1: MMVP official evaluation prompt per tsb0601/MMVP/scripts/evaluate_mllm.py line 59: cur_prompt = row['Question'] + ' ' + row['Options']. No trailer is appended by the official script. Options field uses '(a) Open (b) Closed' inline format from the source CSV/HF parquet."
26
+ },
27
+ "mapping_from_source": {
28
+ "media": {
29
+ "from": "image",
30
+ "type": "list",
31
+ "min_items": 1,
32
+ "max_items": 1
33
+ },
34
+ "id": {
35
+ "from": "Index"
36
+ },
37
+ "question": {
38
+ "from": "Question"
39
+ },
40
+ "answer": {
41
+ "from": "Correct Answer",
42
+ "optional": true
43
+ },
44
+ "extra": {
45
+ "options_text": {
46
+ "from": "Options",
47
+ "note": "Pre-rendered options string in '(a) opt1 (b) opt2' format from MMVP source."
48
+ }
49
+ },
50
+ "source": {
51
+ "format": "huggingface",
52
+ "url": {
53
+ "test": "https://huggingface.co/datasets/lmms-lab-eval/MMVP"
54
+ }
55
+ }
56
+ }
57
  }
 
58
  }
59
+ }