Datasets:
Dataset card (in development)
Browse files
README.md
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc-by-4.0
|
| 3 |
+
language:
|
| 4 |
+
- bn
|
| 5 |
+
pretty_name: BanglaDocBench
|
| 6 |
+
task_categories:
|
| 7 |
+
- image-to-text
|
| 8 |
+
tags:
|
| 9 |
+
- bangla
|
| 10 |
+
- bengali
|
| 11 |
+
- documents
|
| 12 |
+
- ocr
|
| 13 |
+
- document-parsing
|
| 14 |
+
- benchmark
|
| 15 |
+
---
|
| 16 |
+
|
| 17 |
+
# BanglaDocBench
|
| 18 |
+
|
| 19 |
+
**A document-parsing benchmark for Bangla: 500 to 1,000 pages chosen for diversity from 19.9
|
| 20 |
+
million.**
|
| 21 |
+
|
| 22 |
+
> **Status: in development. No benchmark data has been released yet.** This repository reserves
|
| 23 |
+
> the name and will hold the benchmark when it is finished.
|
| 24 |
+
|
| 25 |
+
BanglaDocBench will measure how well OCR and document-parsing systems read Bangla documents:
|
| 26 |
+
books, newspapers, government notices, textbooks, forms, old prints and modern typesetting. It
|
| 27 |
+
follows the approach of benchmarks such as
|
| 28 |
+
[OmniDocBench](https://huggingface.co/datasets/opendatalab/OmniDocBench), for Bangla script.
|
| 29 |
+
|
| 30 |
+
## How the pages are chosen
|
| 31 |
+
|
| 32 |
+
The pages are drawn from **[BanglaDocIndex](https://huggingface.co/datasets/OpenCR-lab/BanglaDocIndex)**,
|
| 33 |
+
a public index of 19,873,418 Bangla document pages with an EmbeddingGemma 2 embedding for every
|
| 34 |
+
page.
|
| 35 |
+
|
| 36 |
+
1. **Licence filter.** Only pages whose images may be redistributed are candidates (for example
|
| 37 |
+
public-domain and CC-BY pages on the Internet Archive, and NCTB textbooks).
|
| 38 |
+
2. **Clustering.** The page embeddings are clustered to map the kinds of pages in the pool.
|
| 39 |
+
3. **Selection.** Pages are sampled across clusters for diversity, with a fixed random seed.
|
| 40 |
+
4. **Annotation.** Each selected page is annotated (text, reading order and layout).
|
| 41 |
+
|
| 42 |
+
The cluster labels, the selected page IDs, the seed and the selection code will be published with
|
| 43 |
+
the benchmark, and the selected pages will be marked in BanglaDocIndex so that training sets can
|
| 44 |
+
exclude them.
|
| 45 |
+
|
| 46 |
+
## Licence
|
| 47 |
+
|
| 48 |
+
Annotations: CC-BY-4.0. Every page image keeps the licence of its source document, recorded per
|
| 49 |
+
page. Code: Apache-2.0, at [github.com/OpenCR-lab/BanglaDocBench](https://github.com/OpenCR-lab/BanglaDocBench).
|