File size: 2,636 Bytes
89e28b5
f6cf97c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89e28b5
 
f6cf97c
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
{
  "name": "SEED-Bench-2-Plus",
  "release_date": "2024-04-08",
  "subsets": {
    "main": {
      "language": [
        "en"
      ],
      "modalities": [
        "single_image_start"
      ],
      "task_type": "multiple_choice_qa",
      "score_pipeline": [
        "rule-match",
        "llm-match"
      ],
      "score_protocol": {
        "reference": "vlmevalkit@vlmeval/dataset/image_mcq.py:249-324 (ImageMCQDataset.evaluate_heuristic) -> vlmevalkit@vlmeval/dataset/utils/multiple_choice.py:475-508 mcq_vanilla_eval: can_infer rule prefetch, then GPT extractor (extract_answer_from_item @vlmeval/dataset/utils/multiple_choice.py:359-407) maps verbose output to a letter, rule-compare vs GT; SEEDBench2_Plus registered @vlmeval/dataset/image_mcq.py:77. Cross-check: lmms-eval@lmms_eval/tasks/seedbench_2_plus/utils.py:26-43 grades by first-character letter compare (pure rule), per-category (chart/map/web) means",
        "note": "Official per-category (chart/map/web) breakdown is aggregation-level; overall accuracy equals per-sample mean. lmms-eval grades pure-rule (first char); VLMEvalKit adds the GPT extraction fallback — llm_extract adopted."
      },
      "prompt_template": "<image>{{ question }}\nOptions:\n{% for k, v in options.items() %}{{ k }}. {{ v }}{% if not loop.last %}\n{% endif %}{% endfor %}\nAnswer with the option's letter from the given choices directly.",
      "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": "options",
          "optional": true,
          "note": "list source values are normalized to {A,B,...} dict"
        },
        "extra": {
          "category": {
            "from": "category"
          }
        },
        "source": {
          "format": "json",
          "url": {
            "test": "https://huggingface.co/datasets/AILab-CVC/SEED-Bench-2-plus"
          }
        }
      },
      "prompt_template_source": {
        "origin": "official",
        "reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/tree/main/lmms_eval/tasks/seedbench_2_plus (SEED-Bench-2-Plus follows SEEDBench format: 'A. opt\\nB. opt\\nAnswer with the option's letter from the given choices directly.')",
        "notes": "Tier 4: lmms-eval SEEDBench-2-Plus canonical evaluation prompt (inherits SEEDBench format)."
      }
    }
  }
}