ZTWHHH commited on
Commit
240731c
·
verified ·
1 Parent(s): baa194d

metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)

Browse files
Files changed (1) hide show
  1. metadata.json +66 -63
metadata.json CHANGED
@@ -1,66 +1,69 @@
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_type": "rule",
14
- "score_protocol": {
15
- "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.",
16
- "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."
17
- },
18
- "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.",
19
- "prompt_template_source": {
20
- "origin": "official",
21
- "reference": "https://huggingface.co/datasets/declare-lab/PuzzleVQA",
22
- "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."
23
- },
24
- "mapping_from_source": {
25
- "media": {
26
- "from": "images",
27
- "type": "list",
28
- "min_items": 1,
29
- "max_items": 1
30
- },
31
- "id": {
32
- "from": "id"
33
- },
34
- "question": {
35
- "from": "question"
36
- },
37
- "answer": {
38
- "from": "answer",
39
- "optional": true
40
- },
41
- "options": {
42
- "from": "options",
43
- "optional": true,
44
- "note": "list source values are normalized to {A,B,...} dict"
45
- },
46
- "extra": {
47
- "n_images": {
48
- "from": "n_images"
49
- },
50
- "category": {
51
- "from": "category"
52
- },
53
- "answer_text": {
54
- "from": "answer_text"
55
- }
56
- },
57
- "source": {
58
- "format": "json",
59
- "url": {
60
- "train": "https://huggingface.co/datasets/declare-lab/PuzzleVQA"
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
+ }