SEED-Bench-2-Plus / metadata.json
ZTWHHH's picture
metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)
f6cf97c verified
Raw History Blame Contribute Delete
2.64 kB
{
"name": "SEED-Bench-2-Plus",
"release_date": "2024-04-08",
"subsets": {
"main": {
"language": [
"en"
],
"modalities": [
"single_image_start"
],
"task_type": "multiple_choice_qa",
"score_pipeline": [
"rule-match",
"llm-match"
],
"score_protocol": {
"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; SEEDBench2_Plus registered @vlmeval/dataset/image_mcq.py:77. Cross-check: lmms-eval@lmms_eval/tasks/seedbench_2_plus/utils.py:26-43 grades by first-character letter compare (pure rule), per-category (chart/map/web) means",
"note": "Official per-category (chart/map/web) breakdown is aggregation-level; overall accuracy equals per-sample mean. lmms-eval grades pure-rule (first char); VLMEvalKit adds the GPT extraction fallback — llm_extract adopted."
},
"prompt_template": "<image>{{ question }}\nOptions:\n{% for k, v in options.items() %}{{ k }}. {{ v }}{% if not loop.last %}\n{% endif %}{% endfor %}\nAnswer with the option's letter from the given choices directly.",
"mapping_from_source": {
"media": {
"from": "image",
"type": "list",
"min_items": 1,
"max_items": 1
},
"id": {
"from": "id"
},
"question": {
"from": "question"
},
"answer": {
"from": "answer",
"optional": true
},
"options": {
"from": "options",
"optional": true,
"note": "list source values are normalized to {A,B,...} dict"
},
"extra": {
"category": {
"from": "category"
}
},
"source": {
"format": "json",
"url": {
"test": "https://huggingface.co/datasets/AILab-CVC/SEED-Bench-2-plus"
}
}
},
"prompt_template_source": {
"origin": "official",
"reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/tree/main/lmms_eval/tasks/seedbench_2_plus (SEED-Bench-2-Plus follows SEEDBench format: 'A. opt\\nB. opt\\nAnswer with the option's letter from the given choices directly.')",
"notes": "Tier 4: lmms-eval SEEDBench-2-Plus canonical evaluation prompt (inherits SEEDBench format)."
}
}
}
}