A-OKVQA / metadata.json
ZTWHHH's picture
Add manifest (metadata.json)
3608479 verified
Raw
History Blame Contribute Delete
2.31 kB
{
"name": "A-OKVQA",
"release_date": "2022-08-03",
"subsets": {
"main": {
"language": [
"en"
],
"modalities": [
"single_image_start"
],
"task_type": "multiple_choice_qa",
"score_type": "rule",
"score_protocol": {
"reference": "official@github.com/allenai/aokvqa evaluation/eval_predictions.py — MC metric: acc = float(pred == choices[correct_choice_idx]); exact-match of the chosen option string, no LLM/fuzzy.",
"note": "A-OKVQA officially has TWO settings — direct-answer (VQA-accuracy, 10 refs) and multiple-choice. The mm-eval copy ships the MULTIPLE-CHOICE setting (choices A-D, single gold letter), so this classifies the MC exact-match protocol, not the DA vqa_accuracy protocol."
},
"prompt_template": "<image>{% if hint %}Hint: {{ hint }}\n{% endif %}Question: {{ question }}\nOptions:\n{% for k, v in options.items() %}{{ k }}. {{ v }}\n{% endfor %}Please select the correct answer from the options above. ",
"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": "choices",
"optional": true,
"note": "list source values are normalized to {A,B,...} dict"
},
"extra": {
"rationales": {
"from": "rationales"
}
},
"source": {
"format": "huggingface",
"url": {
"validation": "https://huggingface.co/datasets/HuggingFaceM4/A-OKVQA"
}
}
},
"prompt_template_source": {
"origin": "official",
"reference": "https://github.com/open-compass/VLMEvalKit/blob/main/vlmeval/dataset/image_mcq.py#L212-L247 (ImageMCQDataset.build_prompt; dataset key 'A-OKVQA' registered at image_mcq.py#L113)",
"notes": "Tier 3: dataset authors publish no VLM model-input prompt (allenai/aokvqa ships only a text-only GPT-3 few-shot prompt, gpt3/query_gpt3.py#L72-L76, and classifier-based transfer experiments); VLMEvalKit registers A-OKVQA under the generic MCQ handler whose Hint:/Question:/Options:/'Please select the correct answer from the options above. ' output the published template reproduces byte-for-byte."
}
}
}
}