SpatialEval / metadata.json
ZTWHHH's picture
metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)
083e849 verified
Raw
History Blame Contribute Delete
4.09 kB
{
"name": "SpatialEval",
"release_date": "2024-09-09",
"subsets": {
"vqa": {
"language": [
"en"
],
"modalities": [
"single_image_start"
],
"task_type": "multiple_choice_qa",
"score_pipeline": [
"exact-match",
"rule-match"
],
"score_protocol": {
"reference": "official@github.com/jiayuww/SpatialEval evals/evaluation.py — task-specific regex extraction (extract_answer_from_text_spatialmap L26 /_mazenav L140 /_spatialgrid L205) then lowercase substring match of the oracle answer ('ref_ans.lower() in model_answer.lower()', L286-288); no LLM anywhere.",
"note": "Official grading matches the oracle ANSWER CONTENT by substring after regex extraction; the mm-eval copy stores the option letter (oracle_option, e.g. 'C') as ground truth with options embedded in the question text ('Available options:\\nA. 4...'), keeping oracle_answer/oracle_full_answer in extra. Scoring the published copy is therefore letter-selection matching, not content-substring matching. Official also defines a text-only tqa mode not shipped by the org (vqa/vtqa only)."
},
"prompt_template": "<image>{{ question }}",
"prompt_template_source": {
"origin": "source_column",
"reference": "https://huggingface.co/datasets/MilaWang/SpatialEval",
"notes": "Tier 2: SpatialEval text column pre-renders the question with embedded option list; oracle_option holds the gold letter. Template prepends <image> and uses text verbatim."
},
"mapping_from_source": {
"media": {
"from": "image",
"type": "list",
"min_items": 1,
"max_items": 1
},
"id": {
"from": "id"
},
"question": {
"from": "text"
},
"answer": {
"from": "oracle_option",
"optional": true
},
"extra": {
"oracle_full_answer": {
"from": "oracle_full_answer"
},
"oracle_answer": {
"from": "oracle_answer"
}
},
"source": {
"format": "huggingface",
"url": {
"test": "https://huggingface.co/datasets/MilaWang/SpatialEval"
}
}
}
},
"vtqa": {
"language": [
"en"
],
"modalities": [
"single_image_start"
],
"task_type": "multiple_choice_qa",
"score_pipeline": [
"exact-match",
"rule-match"
],
"score_protocol": {
"reference": "official@github.com/jiayuww/SpatialEval evals/evaluation.py — same rule-based regex extraction + lowercase substring match of the oracle answer (run with --mode 'vtqa'); no LLM.",
"note": "Same as SpatialEval/vqa: published GT is the option letter while the official script substring-matches oracle answer content; tqa mode not shipped."
},
"prompt_template": "<image>{{ question }}",
"prompt_template_source": {
"origin": "source_column",
"reference": "https://huggingface.co/datasets/MilaWang/SpatialEval",
"notes": "Tier 2: SpatialEval text column pre-renders the question with embedded option list; oracle_option holds the gold letter. Template prepends <image> and uses text verbatim."
},
"mapping_from_source": {
"media": {
"from": "image",
"type": "list",
"min_items": 1,
"max_items": 1
},
"id": {
"from": "id"
},
"question": {
"from": "text"
},
"answer": {
"from": "oracle_option",
"optional": true
},
"extra": {
"oracle_full_answer": {
"from": "oracle_full_answer"
},
"oracle_answer": {
"from": "oracle_answer"
}
},
"source": {
"format": "huggingface",
"url": {
"test": "https://huggingface.co/datasets/MilaWang/SpatialEval"
}
}
}
}
}
}