ScienceQA-IMG / metadata.json
ZTWHHH's picture
metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)
5a45c67 verified
Raw History Blame Contribute Delete
2.53 kB
{
"name": "ScienceQA-IMG",
"release_date": "2022-09-20",
"subsets": {
"default": {
"language": [
"en"
],
"modalities": [
"single_image_start"
],
"task_type": "multiple_choice_qa",
"score_pipeline": [
"exact-match",
"rule-match"
],
"score_protocol": {
"reference": "lmms-eval@lmms_eval/tasks/scienceqa/utils.py:34-44 sqa_process_results — regex letter parse + exact_match, no LLM (official lupantech/ScienceQA protocol); IMG subset is the image-only slice of ScienceQA. Confirmed in clone.",
"note": "Image-only slice of ScienceQA; every row MCQ with letter answer, exact match."
},
"prompt_template": "<image>{{ question }}{% if hint %}\nContext: {{ hint }}{% endif %}\n{% for k, v in options.items() %}{{ k }}. {{ v }}\n{% endfor %}Answer with the option's letter from the given choices directly.",
"prompt_template_source": {
"origin": "official",
"reference": "https://huggingface.co/datasets/lmms-lab/ScienceQA-IMG",
"notes": "Tier 1: ScienceQA-IMG MCQ (image subset) with choices list, answer index; maps to A-D letter answer; preserves hint/grade/subject/topic."
},
"mapping_from_source": {
"media": {
"from": "images",
"type": "list",
"min_items": 1,
"max_items": 1
},
"id": {
"from": "id"
},
"question": {
"from": "question"
},
"answer": {
"from": "answer",
"optional": true
},
"hint": {
"from": "hint",
"optional": true
},
"options": {
"from": "options",
"optional": true,
"note": "list source values are normalized to {A,B,...} dict"
},
"extra": {
"n_images": {
"from": "n_images"
},
"task": {
"from": "task"
},
"grade": {
"from": "grade"
},
"subject": {
"from": "subject"
},
"topic": {
"from": "topic"
}
},
"source": {
"format": "json",
"url": {
"train": "https://huggingface.co/datasets/lmms-lab/ScienceQA-IMG",
"validation": "https://huggingface.co/datasets/lmms-lab/ScienceQA-IMG",
"test": "https://huggingface.co/datasets/lmms-lab/ScienceQA-IMG"
}
}
}
}
}
}