metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)
Browse files- metadata.json +66 -63
metadata.json
CHANGED
|
@@ -1,66 +1,69 @@
|
|
| 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 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "PuzzleVQA",
|
| 3 |
+
"release_date": "2024-03-21",
|
| 4 |
+
"subsets": {
|
| 5 |
+
"default": {
|
| 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/declare-lab/LLM-PuzzleTest PuzzleVQA/main.py — prompter.get_answer parses option from raw output, ExactScorer returns 1.0 iff pred == answer; the only model call in the loop is a second-stage re-prompt of the EVALUATED model itself (inference-side self-extraction), no external judge/extractor LLM. Cross-check: VLMEvalKit@vlmeval/dataset/utils/puzzlevqa.py:85-152 PuzzleVQA_acc — pure regex extraction ('answer: X', boxed, answer-flag phrases), unparseable -> 'Z', per-category accuracy.",
|
| 19 |
+
"note": "Official prompting is two-stage (CoT, then the same model restates the answer); mm-eval prompt asks for the letter directly, so single-stage rule extraction is faithful at scoring time. VLMEvalKit aggregates per-puzzle-category accuracy (20 categories) alongside overall."
|
| 20 |
+
},
|
| 21 |
+
"prompt_template": "<image>{{ question }}\n{% for k, v in options.items() %}{{ k }}. {{ v }}\n{% endfor %}Answer with the option's letter from the given choices directly.",
|
| 22 |
+
"prompt_template_source": {
|
| 23 |
+
"origin": "official",
|
| 24 |
+
"reference": "https://huggingface.co/datasets/declare-lab/PuzzleVQA",
|
| 25 |
+
"notes": "Tier 1: PuzzleVQA is single-image MCQ with options list; answer is the option text. We map answer to the letter for letter-eval convention."
|
| 26 |
+
},
|
| 27 |
+
"mapping_from_source": {
|
| 28 |
+
"media": {
|
| 29 |
+
"from": "images",
|
| 30 |
+
"type": "list",
|
| 31 |
+
"min_items": 1,
|
| 32 |
+
"max_items": 1
|
| 33 |
+
},
|
| 34 |
+
"id": {
|
| 35 |
+
"from": "id"
|
| 36 |
+
},
|
| 37 |
+
"question": {
|
| 38 |
+
"from": "question"
|
| 39 |
+
},
|
| 40 |
+
"answer": {
|
| 41 |
+
"from": "answer",
|
| 42 |
+
"optional": true
|
| 43 |
+
},
|
| 44 |
+
"options": {
|
| 45 |
+
"from": "options",
|
| 46 |
+
"optional": true,
|
| 47 |
+
"note": "list source values are normalized to {A,B,...} dict"
|
| 48 |
+
},
|
| 49 |
+
"extra": {
|
| 50 |
+
"n_images": {
|
| 51 |
+
"from": "n_images"
|
| 52 |
+
},
|
| 53 |
+
"category": {
|
| 54 |
+
"from": "category"
|
| 55 |
+
},
|
| 56 |
+
"answer_text": {
|
| 57 |
+
"from": "answer_text"
|
| 58 |
+
}
|
| 59 |
+
},
|
| 60 |
+
"source": {
|
| 61 |
+
"format": "json",
|
| 62 |
+
"url": {
|
| 63 |
+
"train": "https://huggingface.co/datasets/declare-lab/PuzzleVQA"
|
| 64 |
+
}
|
| 65 |
+
}
|
| 66 |
+
}
|
| 67 |
}
|
|
|
|
| 68 |
}
|
| 69 |
+
}
|
|
|