File size: 2,479 Bytes
ebd36b0
12871e7
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
ebd36b0
 
12871e7
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
{
  "name": "WebSRC",
  "release_date": "2021-04-21",
  "subsets": {
    "main": {
      "language": [
        "en"
      ],
      "modalities": [
        "single_image_start"
      ],
      "task_type": "short_answer_qa",
      "score_pipeline": [
        "exact-match",
        "rule-match"
      ],
      "score_params": {
        "string_match": "exact"
      },
      "score_protocol": {
        "reference": "lmms-eval@lmms_eval/tasks/websrc/utils.py:133-156 — per-sample token-set F1 (lowercase, word/punct tokenization), averaged (websrc_val.yaml:14-15 metric websrc_squad_f1); official WebSRC (X-LANCE/WebSRC, arXiv:2101.09465 §5) reports Exact Match, F1 and POS. Re-opened utils.py 2026-07-07: _compute_f1 at the cited lines says exactly this.",
        "note": "Official headline includes SQuAD-style F1 and POS (path overlap) which a per-sample binary exact matcher will not reproduce — only the EM component is reproduced; answers are short spans/yes-no so EM is the dominant signal. Published copy ships train+dev (test answers are withheld on the official leaderboard); domain field kept in extras but per-domain aggregation not reproduced per-sample. Dev split verified 2026-07-07: 52826/52826 rows carry non-empty answers."
      },
      "prompt_template": "<image>{{ question }}\nAnswer the question using a single word or phrase.",
      "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
        },
        "extra": {
          "domain": {
            "from": "domain"
          },
          "page_id": {
            "from": "page_id"
          }
        },
        "source": {
          "format": "huggingface",
          "url": {
            "train": "https://huggingface.co/datasets/rootsautomation/websrc",
            "dev": "https://huggingface.co/datasets/rootsautomation/websrc"
          }
        }
      },
      "prompt_template_source": {
        "origin": "official",
        "reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/websrc/utils.py (websrc_doc_to_text — canonical short-answer with web-context format)",
        "notes": "Tier 4: lmms-eval WebSRC canonical evaluation prompt."
      }
    }
  }
}