ZTWHHH commited on
Commit
12871e7
·
verified ·
1 Parent(s): 10a3bac

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 +62 -59
metadata.json CHANGED
@@ -1,62 +1,65 @@
1
  {
2
- "name": "WebSRC",
3
- "release_date": "2021-04-21",
4
- "subsets": {
5
- "main": {
6
- "language": [
7
- "en"
8
- ],
9
- "modalities": [
10
- "single_image_start"
11
- ],
12
- "task_type": "short_answer_qa",
13
- "score_type": "rule",
14
- "score_params": {
15
- "string_match": "exact"
16
- },
17
- "score_protocol": {
18
- "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.",
19
- "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."
20
- },
21
- "prompt_template": "<image>{{ question }}\nAnswer the question using a single word or phrase.",
22
- "mapping_from_source": {
23
- "media": {
24
- "from": "image",
25
- "type": "list",
26
- "min_items": 1,
27
- "max_items": 1
28
- },
29
- "id": {
30
- "from": "id"
31
- },
32
- "question": {
33
- "from": "question"
34
- },
35
- "answer": {
36
- "from": "answer",
37
- "optional": true
38
- },
39
- "extra": {
40
- "domain": {
41
- "from": "domain"
42
- },
43
- "page_id": {
44
- "from": "page_id"
45
- }
46
- },
47
- "source": {
48
- "format": "huggingface",
49
- "url": {
50
- "train": "https://huggingface.co/datasets/rootsautomation/websrc",
51
- "dev": "https://huggingface.co/datasets/rootsautomation/websrc"
52
- }
 
 
 
 
 
 
 
 
 
 
53
  }
54
- },
55
- "prompt_template_source": {
56
- "origin": "official",
57
- "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)",
58
- "notes": "Tier 4: lmms-eval WebSRC canonical evaluation prompt."
59
- }
60
  }
61
- }
62
- }
 
1
  {
2
+ "name": "WebSRC",
3
+ "release_date": "2021-04-21",
4
+ "subsets": {
5
+ "main": {
6
+ "language": [
7
+ "en"
8
+ ],
9
+ "modalities": [
10
+ "single_image_start"
11
+ ],
12
+ "task_type": "short_answer_qa",
13
+ "score_pipeline": [
14
+ "exact-match",
15
+ "rule-match"
16
+ ],
17
+ "score_params": {
18
+ "string_match": "exact"
19
+ },
20
+ "score_protocol": {
21
+ "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.",
22
+ "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."
23
+ },
24
+ "prompt_template": "<image>{{ question }}\nAnswer the question using a single word or phrase.",
25
+ "mapping_from_source": {
26
+ "media": {
27
+ "from": "image",
28
+ "type": "list",
29
+ "min_items": 1,
30
+ "max_items": 1
31
+ },
32
+ "id": {
33
+ "from": "id"
34
+ },
35
+ "question": {
36
+ "from": "question"
37
+ },
38
+ "answer": {
39
+ "from": "answer",
40
+ "optional": true
41
+ },
42
+ "extra": {
43
+ "domain": {
44
+ "from": "domain"
45
+ },
46
+ "page_id": {
47
+ "from": "page_id"
48
+ }
49
+ },
50
+ "source": {
51
+ "format": "huggingface",
52
+ "url": {
53
+ "train": "https://huggingface.co/datasets/rootsautomation/websrc",
54
+ "dev": "https://huggingface.co/datasets/rootsautomation/websrc"
55
+ }
56
+ }
57
+ },
58
+ "prompt_template_source": {
59
+ "origin": "official",
60
+ "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)",
61
+ "notes": "Tier 4: lmms-eval WebSRC canonical evaluation prompt."
62
+ }
63
  }
 
 
 
 
 
 
64
  }
65
+ }