| { | |
| "name": "ScienceQA-IMG", | |
| "release_date": "2022-09-20", | |
| "subsets": { | |
| "default": { | |
| "language": [ | |
| "en" | |
| ], | |
| "modalities": [ | |
| "single_image_start" | |
| ], | |
| "task_type": "multiple_choice_vqa", | |
| "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" | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } |