ZTWHHH commited on
Commit
39c7cb3
·
verified ·
1 Parent(s): e1c99b7

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 +63 -60
metadata.json CHANGED
@@ -1,63 +1,66 @@
1
  {
2
- "name": "OCRBench",
3
- "release_date": "2026-07-07",
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": "contains"
16
- },
17
- "score_protocol": {
18
- "reference": "VLMEvalKit@vlmeval/dataset/utils/ocrbench.py:8-42 and lmms-eval@lmms_eval/tasks/ocrbench/utils.py:33-66 (both mirroring official Yuliang-Liu/MultimodalOCR eval) — lowercase, newline-normalized substring containment of ANY of the ground-truth alternatives in the prediction (answer is a list; VLMEvalKit ocrbench.py:29-42, lmms-eval utils.py:39-62); HME100k category is case-sensitive with all spaces stripped.",
19
- "note": "Official headline is Final Score out of 1000 (sum of correct over 10 categories, VLMEvalKit ocrbench.py:44-60) = per-sample accuracy x1000. Re-converted 2026-07-07: answer now preserves the full official list of acceptable alternatives (148/1000 rows have >1; the earlier copy space-joined them into one unmatched string), and the official 10-way category (question_type) plus upstream source-dataset field are restored, enabling the per-category breakdown and the HME100k special case (source_dataset == 'HME100k': case-sensitive containment with all spaces stripped, lmms-eval utils.py:39-50) which the generic lowercase-contains rule does not itself apply."
20
- },
21
- "prompt_template": "<image>{{ question }}",
22
- "prompt_template_source": {
23
- "origin": "official",
24
- "reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/ocrbench/utils.py (ocrbench_doc_to_text — bare question; OCR-specific evaluation handled at scoring)",
25
- "notes": "Tier 4: lmms-eval OCRBench canonical evaluation prompt."
26
- },
27
- "mapping_from_source": {
28
- "media": {
29
- "from": "image",
30
- "type": "list",
31
- "min_items": 1,
32
- "max_items": 1
33
- },
34
- "id": {
35
- "from": "id",
36
- "note": "Stringified 0-based row index of the official echo840/OCRBench test split (the source ships no id column); identical to the previously published ids."
37
- },
38
- "question": {
39
- "from": "question"
40
- },
41
- "answer": {
42
- "from": "answer",
43
- "optional": true,
44
- "note": "Kept as the full official list of acceptable alternatives (1-4 entries; 148/1000 rows have >1). Official graders score a hit when ANY alternative is contained in the prediction."
45
- },
46
- "extra": {
47
- "question_type": {
48
- "from": "question_type"
49
- },
50
- "source_dataset": {
51
- "from": "dataset"
52
- }
53
- },
54
- "source": {
55
- "format": "json",
56
- "url": {
57
- "test": "https://huggingface.co/datasets/echo840/OCRBench"
58
- }
 
 
 
 
 
59
  }
60
- }
61
  }
62
- }
63
- }
 
1
  {
2
+ "name": "OCRBench",
3
+ "release_date": "2026-07-07",
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": "contains"
19
+ },
20
+ "score_protocol": {
21
+ "reference": "VLMEvalKit@vlmeval/dataset/utils/ocrbench.py:8-42 and lmms-eval@lmms_eval/tasks/ocrbench/utils.py:33-66 (both mirroring official Yuliang-Liu/MultimodalOCR eval) — lowercase, newline-normalized substring containment of ANY of the ground-truth alternatives in the prediction (answer is a list; VLMEvalKit ocrbench.py:29-42, lmms-eval utils.py:39-62); HME100k category is case-sensitive with all spaces stripped.",
22
+ "note": "Official headline is Final Score out of 1000 (sum of correct over 10 categories, VLMEvalKit ocrbench.py:44-60) = per-sample accuracy x1000. Re-converted 2026-07-07: answer now preserves the full official list of acceptable alternatives (148/1000 rows have >1; the earlier copy space-joined them into one unmatched string), and the official 10-way category (question_type) plus upstream source-dataset field are restored, enabling the per-category breakdown and the HME100k special case (source_dataset == 'HME100k': case-sensitive containment with all spaces stripped, lmms-eval utils.py:39-50) which the generic lowercase-contains rule does not itself apply."
23
+ },
24
+ "prompt_template": "<image>{{ question }}",
25
+ "prompt_template_source": {
26
+ "origin": "official",
27
+ "reference": "https://github.com/EvolvingLMMs-Lab/lmms-eval/blob/main/lmms_eval/tasks/ocrbench/utils.py (ocrbench_doc_to_text — bare question; OCR-specific evaluation handled at scoring)",
28
+ "notes": "Tier 4: lmms-eval OCRBench canonical evaluation prompt."
29
+ },
30
+ "mapping_from_source": {
31
+ "media": {
32
+ "from": "image",
33
+ "type": "list",
34
+ "min_items": 1,
35
+ "max_items": 1
36
+ },
37
+ "id": {
38
+ "from": "id",
39
+ "note": "Stringified 0-based row index of the official echo840/OCRBench test split (the source ships no id column); identical to the previously published ids."
40
+ },
41
+ "question": {
42
+ "from": "question"
43
+ },
44
+ "answer": {
45
+ "from": "answer",
46
+ "optional": true,
47
+ "note": "Kept as the full official list of acceptable alternatives (1-4 entries; 148/1000 rows have >1). Official graders score a hit when ANY alternative is contained in the prediction."
48
+ },
49
+ "extra": {
50
+ "question_type": {
51
+ "from": "question_type"
52
+ },
53
+ "source_dataset": {
54
+ "from": "dataset"
55
+ }
56
+ },
57
+ "source": {
58
+ "format": "json",
59
+ "url": {
60
+ "test": "https://huggingface.co/datasets/echo840/OCRBench"
61
+ }
62
+ }
63
+ }
64
  }
 
65
  }
66
+ }