ZTWHHH commited on
Commit
0708eb2
·
verified ·
1 Parent(s): e9a9cd7

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": "MME",
3
- "release_date": "2023-06-23",
4
- "subsets": {
5
- "main": {
6
- "language": [
7
- "en"
8
- ],
9
- "modalities": [
10
- "single_image_start"
11
- ],
12
- "task_type": "yes_no_qa",
13
- "score_type": "rule",
14
- "score_protocol": {
15
- "reference": "lmms-eval@lmms_eval/tasks/mme/utils.py:48-90 — parse_pred_ans rule (yes/no/y/n/prefix match, else 'other') taken from the official MME calculation script; utils.py:93-123 official score = acc + acc+ (acc+ requires both questions of an image correct), summed over categories.",
16
- "note": "Official aggregation not reproduced per-sample: per-category score = acc + acc+ where acc+ needs pairwise grouping of the 2 questions per image (pair key = extra.source_id, ids <img>_q1/<img>_q2); perception total (max 2000) and cognition total (max 800) are sums over categories. Per-sample scoring yields plain accuracy only. VLMEvalKit variant adds GPT yes/no extraction fallback (image_yorn.py:52-85 + yorn.py:264-272 YOrN_auxeval) before MME_rating (yorn.py:50-93); official/lmms-eval protocol is pure rule — rule chosen per official."
17
- },
18
- "prompt_template": "<image>{{ question }}",
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": "question_id"
28
- },
29
- "question": {
30
- "from": "question"
31
- },
32
- "answer": {
33
- "from": "answer",
34
- "optional": true
35
- },
36
- "extra": {
37
- "category": {
38
- "from": "category"
39
- }
40
- },
41
- "source": {
42
- "format": "huggingface",
43
- "url": {
44
- "test": "https://huggingface.co/datasets/lmms-lab/MME"
45
- }
 
 
 
 
 
 
 
 
 
 
46
  }
47
- },
48
- "prompt_template_source": {
49
- "origin": "official",
50
- "reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/mme/utils.py (mme_doc_to_text — bare question; answer is yes/no)",
51
- "notes": "Tier 4: lmms-eval MME canonical evaluation prompt (perception/cognition yes/no eval)."
52
- }
53
  }
54
- }
55
- }
 
1
  {
2
+ "name": "MME",
3
+ "release_date": "2023-06-23",
4
+ "subsets": {
5
+ "main": {
6
+ "language": [
7
+ "en"
8
+ ],
9
+ "modalities": [
10
+ "single_image_start"
11
+ ],
12
+ "task_type": "yes_no_qa",
13
+ "score_pipeline": [
14
+ "exact-match",
15
+ "rule-match"
16
+ ],
17
+ "score_protocol": {
18
+ "reference": "lmms-eval@lmms_eval/tasks/mme/utils.py:48-90 — parse_pred_ans rule (yes/no/y/n/prefix match, else 'other') taken from the official MME calculation script; utils.py:93-123 official score = acc + acc+ (acc+ requires both questions of an image correct), summed over categories.",
19
+ "note": "Official aggregation not reproduced per-sample: per-category score = acc + acc+ where acc+ needs pairwise grouping of the 2 questions per image (pair key = extra.source_id, ids <img>_q1/<img>_q2); perception total (max 2000) and cognition total (max 800) are sums over categories. Per-sample scoring yields plain accuracy only. VLMEvalKit variant adds GPT yes/no extraction fallback (image_yorn.py:52-85 + yorn.py:264-272 YOrN_auxeval) before MME_rating (yorn.py:50-93); official/lmms-eval protocol is pure rule — rule chosen per official."
20
+ },
21
+ "prompt_template": "<image>{{ question }}",
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": "question_id"
31
+ },
32
+ "question": {
33
+ "from": "question"
34
+ },
35
+ "answer": {
36
+ "from": "answer",
37
+ "optional": true
38
+ },
39
+ "extra": {
40
+ "category": {
41
+ "from": "category"
42
+ }
43
+ },
44
+ "source": {
45
+ "format": "huggingface",
46
+ "url": {
47
+ "test": "https://huggingface.co/datasets/lmms-lab/MME"
48
+ }
49
+ }
50
+ },
51
+ "prompt_template_source": {
52
+ "origin": "official",
53
+ "reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/mme/utils.py (mme_doc_to_text — bare question; answer is yes/no)",
54
+ "notes": "Tier 4: lmms-eval MME canonical evaluation prompt (perception/cognition yes/no eval)."
55
+ }
56
  }
 
 
 
 
 
 
57
  }
58
+ }