| { | |
| "name": "MME", | |
| "release_date": "2023-06-23", | |
| "subsets": { | |
| "main": { | |
| "language": [ | |
| "en" | |
| ], | |
| "modalities": [ | |
| "single_image_start" | |
| ], | |
| "task_type": "yes_no_qa", | |
| "score_pipeline": [ | |
| "exact-match", | |
| "rule-match" | |
| ], | |
| "score_protocol": { | |
| "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.", | |
| "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." | |
| }, | |
| "prompt_template": "<image>{{ question }}", | |
| "mapping_from_source": { | |
| "media": { | |
| "from": "image", | |
| "type": "list", | |
| "min_items": 1, | |
| "max_items": 1 | |
| }, | |
| "id": { | |
| "from": "question_id" | |
| }, | |
| "question": { | |
| "from": "question" | |
| }, | |
| "answer": { | |
| "from": "answer", | |
| "optional": true | |
| }, | |
| "extra": { | |
| "category": { | |
| "from": "category" | |
| } | |
| }, | |
| "source": { | |
| "format": "huggingface", | |
| "url": { | |
| "test": "https://huggingface.co/datasets/lmms-lab/MME" | |
| } | |
| } | |
| }, | |
| "prompt_template_source": { | |
| "origin": "official", | |
| "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)", | |
| "notes": "Tier 4: lmms-eval MME canonical evaluation prompt (perception/cognition yes/no eval)." | |
| } | |
| } | |
| } | |
| } |