metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)
Browse files- metadata.json +112 -106
metadata.json
CHANGED
|
@@ -1,110 +1,116 @@
|
|
| 1 |
{
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
|
| 25 |
-
|
| 26 |
-
|
| 27 |
-
|
| 28 |
-
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 30 |
},
|
| 31 |
-
"
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
|
| 35 |
-
|
| 36 |
-
|
| 37 |
-
|
| 38 |
-
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
| 42 |
-
|
| 43 |
-
"
|
| 44 |
-
|
| 45 |
-
|
| 46 |
-
|
| 47 |
-
|
| 48 |
-
|
| 49 |
-
|
| 50 |
-
|
| 51 |
-
|
| 52 |
-
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
-
|
| 61 |
-
|
| 62 |
-
|
| 63 |
-
|
| 64 |
-
|
| 65 |
-
|
| 66 |
-
|
| 67 |
-
|
| 68 |
-
|
| 69 |
-
|
| 70 |
-
|
| 71 |
-
|
| 72 |
-
|
| 73 |
-
|
| 74 |
-
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
|
| 78 |
-
|
| 79 |
-
|
| 80 |
-
|
| 81 |
-
|
| 82 |
-
|
| 83 |
-
|
| 84 |
-
|
| 85 |
-
},
|
| 86 |
-
"question": {
|
| 87 |
-
"from": "text"
|
| 88 |
-
},
|
| 89 |
-
"answer": {
|
| 90 |
-
"from": "oracle_option",
|
| 91 |
-
"optional": true
|
| 92 |
-
},
|
| 93 |
-
"extra": {
|
| 94 |
-
"oracle_full_answer": {
|
| 95 |
-
"from": "oracle_full_answer"
|
| 96 |
-
},
|
| 97 |
-
"oracle_answer": {
|
| 98 |
-
"from": "oracle_answer"
|
| 99 |
-
}
|
| 100 |
-
},
|
| 101 |
-
"source": {
|
| 102 |
-
"format": "huggingface",
|
| 103 |
-
"url": {
|
| 104 |
-
"test": "https://huggingface.co/datasets/MilaWang/SpatialEval"
|
| 105 |
-
}
|
| 106 |
}
|
| 107 |
-
}
|
| 108 |
}
|
| 109 |
-
|
| 110 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "SpatialEval",
|
| 3 |
+
"release_date": "2024-09-09",
|
| 4 |
+
"subsets": {
|
| 5 |
+
"vqa": {
|
| 6 |
+
"language": [
|
| 7 |
+
"en"
|
| 8 |
+
],
|
| 9 |
+
"modalities": [
|
| 10 |
+
"single_image_start"
|
| 11 |
+
],
|
| 12 |
+
"task_type": "multiple_choice_qa",
|
| 13 |
+
"score_pipeline": [
|
| 14 |
+
"exact-match",
|
| 15 |
+
"rule-match"
|
| 16 |
+
],
|
| 17 |
+
"score_protocol": {
|
| 18 |
+
"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.",
|
| 19 |
+
"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)."
|
| 20 |
+
},
|
| 21 |
+
"prompt_template": "<image>{{ question }}",
|
| 22 |
+
"prompt_template_source": {
|
| 23 |
+
"origin": "source_column",
|
| 24 |
+
"reference": "https://huggingface.co/datasets/MilaWang/SpatialEval",
|
| 25 |
+
"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."
|
| 26 |
+
},
|
| 27 |
+
"mapping_from_source": {
|
| 28 |
+
"media": {
|
| 29 |
+
"from": "image",
|
| 30 |
+
"type": "list",
|
| 31 |
+
"min_items": 1,
|
| 32 |
+
"max_items": 1
|
| 33 |
+
},
|
| 34 |
+
"id": {
|
| 35 |
+
"from": "id"
|
| 36 |
+
},
|
| 37 |
+
"question": {
|
| 38 |
+
"from": "text"
|
| 39 |
+
},
|
| 40 |
+
"answer": {
|
| 41 |
+
"from": "oracle_option",
|
| 42 |
+
"optional": true
|
| 43 |
+
},
|
| 44 |
+
"extra": {
|
| 45 |
+
"oracle_full_answer": {
|
| 46 |
+
"from": "oracle_full_answer"
|
| 47 |
+
},
|
| 48 |
+
"oracle_answer": {
|
| 49 |
+
"from": "oracle_answer"
|
| 50 |
+
}
|
| 51 |
+
},
|
| 52 |
+
"source": {
|
| 53 |
+
"format": "huggingface",
|
| 54 |
+
"url": {
|
| 55 |
+
"test": "https://huggingface.co/datasets/MilaWang/SpatialEval"
|
| 56 |
+
}
|
| 57 |
+
}
|
| 58 |
+
}
|
| 59 |
},
|
| 60 |
+
"vtqa": {
|
| 61 |
+
"language": [
|
| 62 |
+
"en"
|
| 63 |
+
],
|
| 64 |
+
"modalities": [
|
| 65 |
+
"single_image_start"
|
| 66 |
+
],
|
| 67 |
+
"task_type": "multiple_choice_qa",
|
| 68 |
+
"score_pipeline": [
|
| 69 |
+
"exact-match",
|
| 70 |
+
"rule-match"
|
| 71 |
+
],
|
| 72 |
+
"score_protocol": {
|
| 73 |
+
"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.",
|
| 74 |
+
"note": "Same as SpatialEval/vqa: published GT is the option letter while the official script substring-matches oracle answer content; tqa mode not shipped."
|
| 75 |
+
},
|
| 76 |
+
"prompt_template": "<image>{{ question }}",
|
| 77 |
+
"prompt_template_source": {
|
| 78 |
+
"origin": "source_column",
|
| 79 |
+
"reference": "https://huggingface.co/datasets/MilaWang/SpatialEval",
|
| 80 |
+
"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."
|
| 81 |
+
},
|
| 82 |
+
"mapping_from_source": {
|
| 83 |
+
"media": {
|
| 84 |
+
"from": "image",
|
| 85 |
+
"type": "list",
|
| 86 |
+
"min_items": 1,
|
| 87 |
+
"max_items": 1
|
| 88 |
+
},
|
| 89 |
+
"id": {
|
| 90 |
+
"from": "id"
|
| 91 |
+
},
|
| 92 |
+
"question": {
|
| 93 |
+
"from": "text"
|
| 94 |
+
},
|
| 95 |
+
"answer": {
|
| 96 |
+
"from": "oracle_option",
|
| 97 |
+
"optional": true
|
| 98 |
+
},
|
| 99 |
+
"extra": {
|
| 100 |
+
"oracle_full_answer": {
|
| 101 |
+
"from": "oracle_full_answer"
|
| 102 |
+
},
|
| 103 |
+
"oracle_answer": {
|
| 104 |
+
"from": "oracle_answer"
|
| 105 |
+
}
|
| 106 |
+
},
|
| 107 |
+
"source": {
|
| 108 |
+
"format": "huggingface",
|
| 109 |
+
"url": {
|
| 110 |
+
"test": "https://huggingface.co/datasets/MilaWang/SpatialEval"
|
| 111 |
+
}
|
| 112 |
+
}
|
| 113 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
}
|
|
|
|
| 115 |
}
|
| 116 |
+
}
|
|
|