metadata: migrate score_type -> score_pipeline (atomic stage contract; see mm-eval scorer docs/en/SCORING.md)
Browse files- metadata.json +63 -60
metadata.json
CHANGED
|
@@ -1,63 +1,66 @@
|
|
| 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 |
-
}
|
|
|
|
| 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 |
+
}
|
|
|