You need to agree to share your contact information to access this dataset

This repository is publicly accessible, but you have to accept the conditions to access its files and content.

Log in or Sign Up to review the conditions and access this dataset content.

Chunkr Layout Bench - Open Source Subset

Open-source subset of the Chunkr Layout Detection benchmark dataset, containing 360 professionally annotated documents with 4,695 layout annotations across 16 element classes.

This dataset benchmarks document layout detection models on diverse, real-world documents including financial reports, legal contracts, research papers, medical records, and more.
It draws from a curated collection of publicly accessible or research datasets listed below (grouped by domain) and augmented with select government and open-document sources.


๐Ÿงฉ Dataset Overview

Dataset Overview

Document Categories

  • Financial (16.7%), Legal (11.1%), Medical (10.3%), Government (8.1%)
  • Technical, Research, Historical, Real Estate, Education
  • Construction, Procurement, Tax, Billing, Supply Chain
  • Textbook, Consulting, Newspaper, Patent, Magazine, Miscellaneous

Layout Diversity

  • 46% Single-column documents
  • 42% Multi-column documents
  • 12% Double-column documents

๐Ÿ“Š Element Classes

Class ID Count Description
Text Block 1 1,717 Main body text regions
List Item 11 769 Bulleted or numbered list elements
Title 8 488 Section and document titles
Line Number 10 310 Line numbering (code, legal docs)
Page Number 12 260 Page numbering elements
Header 7 217 Document headers
Footer 2 196 Document footers
Table 14 195 Tabular data structures
Form Region 4 190 Form fields and structures
Picture 13 91 Images and photographs
Graphical Item 6 82 Charts, diagrams, illustrations
Footnote 3 76 Footnote text
Caption 0 52 Figure and table captions
Formula 5 31 Mathematical expressions
Legend 9 15 Chart and diagram legends
Unknown 15 6 Unclassified elements

๐Ÿ“ Dataset Structure


chunkr-layout-bench-oss/
โ”œโ”€โ”€ images/                    # 360 document images (PNG format)
โ”œโ”€โ”€ _annotations.coco.json     # COCO format annotations
โ”œโ”€โ”€ metadata.csv               # Image metadata (doc_category, width, height, id)
โ””โ”€โ”€ analysis/                  # Statistical analysis and visualizations
โ”œโ”€โ”€ dataset_overview.png
โ”œโ”€โ”€ source_raw_layouts.png
โ”œโ”€โ”€ dataset_summary.png
โ””โ”€โ”€ ...

๐Ÿ–ผ๏ธ Sample Annotations

Sample Annotations

๐Ÿ“ˆ Dataset Statistics

Dataset Summary

Layout Examples

Source Raw Layouts

โš™๏ธ Usage

Load with Hugging Face datasets

from datasets import load_dataset

dataset = load_dataset("ChunkrAI/chunkr-layout-bench-oss")

for item in dataset['train']:
    print(item['doc_category'], item['width'], item['height'])

With Supervision

import supervision as sv

dataset = sv.DetectionDataset.from_coco(
    images_directory_path="images",
    annotations_path="_annotations.coco.json"
)

print(f"Dataset size: {len(dataset)}")
print(f"Classes: {dataset.classes}")

Convert to YOLO Format

import supervision as sv

dataset = sv.DetectionDataset.from_coco(
    images_directory_path="images",
    annotations_path="_annotations.coco.json"
)

dataset.as_yolo(
    images_directory_path="yolo/images",
    annotations_directory_path="yolo/labels",
    data_yaml_path="yolo/data.yaml"
)

๐Ÿ“š Data Attribution and References

The following tables summarize datasets and sources referenced for sampling, benchmarking, or cross-domain balancing in Chunkr Layout Bench OSS. All sources are publicly accessible for research or under permissive licenses (MIT, CC-BY, public domain).


๐Ÿงพ Financial & Business Documents

Dataset / Source Domain Access Location
DocLayNet (IBM) Finance, Legal, Patents, Technical Hugging Face โ€“ ds4sd/DocLayNet
IIIT-AR-13K Financial Reports, Business IIIT Hyderabad / GitHub
Kleister Charity / NDA Financial & Legal Documents GitHub โ€“ applicaai/kleister-nda
SEC Filings (EDGAR) Corporate Finance SEC EDGAR Bulk API
McKinsey, BCG, Deloitte Insights Reports Consulting, Business Strategy BCG Insights / McKinsey / Deloitte Portals
SynFinTabs Synthetic Financial Tables Hugging Face
RVL-CDIP Business Records, Legal Hugging Face โ€“ aharley/rvl_cdip

โš–๏ธ Legal, Government & Regulatory

Dataset / Source Domain Access Location
FUNSD Government Forms FUNSD Dataset Page
NIST Tax Forms (1988) Tax / Payroll NIST Special DB 2
CourtListener RECAP Archive Legal Filings, Case Law Free Law Project
Cook County Contracts & Amendments Legal / Government Cook County Open Data Portal
GovDocs1 Million Corpus Government / Multi-Domain DigitalCorpora Repository

๐Ÿฅ Medical & Healthcare

Dataset / Source Domain Access Location
Synthetic Medical Forms / OMR Scanned Medical Forms Healthcare / Admin Hugging Face Datasets
Synthea Synthetic Patient Records Healthcare (EHR) AWS Open Data Registry
Blue Cross Blue Shield Sample EOBs Healthcare / Insurance Public Sample PDFs
Handwritten Rx (Kaggle) Prescriptions Kaggle Dataset

๐Ÿข Real Estate, Construction & Engineering

Dataset / Source Domain Access Location
CubiCasa5K Floor Plans, Real Estate GitHub โ€“ CubiCasa5k
CISOL / FloorPlanCAD Construction / Supply Chain Zenodo DOI 10.5281/zenodo.10829550
Machine Learning STRUCTural Floor Plan Engineering / CAD GitHub Repository
Lease Agreements / HUD Forms Real Estate / Legal HUD.gov Forms
Property Records / PhilaDox Land Records PhilaDox OpenData Portal

๐Ÿ“š Academic, Historical & Educational

Dataset / Source Domain Access Location
DocBank Academic (ArXiv Preprints) GitHub โ€“ doc-analysis/DocBank
PubLayNet Scientific Journals IBM DAX Project / Kaggle
U-DIADS-Bib / DIVA-HisDB / HJDataset Historical Documents ICDAR / UniFr / Harvard HisDoc Projects
Internet Archive "Magazine Rack" & Textbook Scans Magazines, Textbooks Internet Archive
Standardized Exam Papers Education College Board, ACT Archives

๐Ÿงฎ Technical, Manufacturing & Miscellaneous

Dataset / Source Domain Access Location
PRImA Layout Analysis Technical Publications PRImA Dataset
Safety Data Sheets (SDS) Online Repositories Manufacturing / Chemical SDSManager / Chemical Safety
Disassembly BOM Dataset Manufacturing / Electronics Figshare
Tobacco3482 / Tobacco800 Business Records Kaggle Dataset
Customs Import Declarations (Synthetic) Logistics / Customs GitHub Dataset

๐Ÿงพ License

MIT License Free to use for research and commercial purposes. Where applicable, individual third-party datasets retain their original licenses, all of which allow redistribution or benchmarking under fair-use or research terms.


๐Ÿ“Ž Citation

If you use this dataset or benchmark, please cite:

@dataset{chunkr_layout_bench_oss_2025,
  title     = {Chunkr Layout Bench - Open Source Subset},
  author    = {ChunkrAI},
  year      = {2025},
  publisher = {Lumina AI Inc.},
  license   = {MIT},
  url       = {https://huggingface.co/datasets/ChunkrAI/chunkr-layout-bench-oss}
}
Downloads last month
74