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

Add manifest (metadata.json)

Browse files
Files changed (1) hide show
  1. metadata.json +60 -60
metadata.json CHANGED
@@ -1,63 +1,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",
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_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
+ }