small-eval-OCRBench / README.md
khh0106's picture
Upload validated small-eval-OCRBench dataset version
5261dfb verified
|
Raw History Blame Contribute Delete
1.87 kB
---
license: unknown
configs:
- config_name: "default"
data_files:
- split: test
path: data/test.parquet
---
# small-eval-OCRBench
200 records in `default` / `test`.
Source: [echo840/OCRBench](https://huggingface.co/datasets/echo840/OCRBench)
at revision `92a54bd1384387c178d5a07140a2d85e0a3d12e1`; source split contains 1000 records.
The Parquet file embeds the original image bytes. Native fields, native IDs,
answer order, choices and conversations are preserved. Additional fields:
`sample_id`, `source_index`, `source_revision`, `images`, `image_sha256`, `num_images`.
See `manifest.json` for source positions, selection order, feature schema,
record/image hashes, file checksums and the NumPy version.
Selection: numpy.default_rng.permutation.
Small evaluation outputs are intentional subsets of the full split; no shared images are removed.
```python
from datasets import load_dataset
data = load_dataset("<owner>/small-eval-OCRBench", 'default', split='test')
```
Reproduction references: SplitQ `ba3a3ed542d2b1516c3cae10ef8b4706dfcdc0a2` and lmms-eval `9c030a5932b6d340ff58611339415a74f5ed4b6f`.
These pins describe data/task preparation, not identical model results or pretraining contamination.
## Evaluation task mapping
Pinned [task configuration](https://github.com/LSY-noya/lmms-eval/blob/9c030a5932b6d340ff58611339415a74f5ed4b6f/lmms_eval/tasks/ocrbench/ocrbench.yaml).
Replace its dataset_path with this repository and keep dataset_name `default` and split `test`.
Keep the task's prompt, doc_to_visual, doc_to_text, doc_to_target, scoring and aggregation functions.
Build model inputs through these task functions; native answers and explanations remain stored as targets.
Native `dataset` (sub-benchmark) and `question_type` fields drive the pinned `ocrbench_process_results` scoring; `answer` keeps its list of accepted strings.