CoolFace
Datasetpublic

SoMarkAI/DocParsingBench

DocParsingBench is a document intelligence benchmark of 1,400 images, systematically collected and annotated from real business workflows. It is the first dataset to systematically catalogue the document elements most frequently encountered in enterprise settings, covering five major domains: finance, legal, scientific research, manufacturing, and education. πŸ†• Latest Updates [2026.04.17] DocParsingBench evaluation toolkit release. Unified scoring is now available for the… See the full description on the dataset page: https://huggingface.co/datasets/SoMarkAI/DocParsingBench.

sourceHugging Faceodc-byupdated 5mo agoView on Hugging Face
5likes365downloads
Dataset Card

DocParsingBench is a document intelligence benchmark of 1,400 images, systematically collected and annotated from real business workflows. It is the first dataset to systematically catalogue the document elements most frequently encountered in enterprise settings, covering five major domains: finance, legal, scientific research, manufacturing, and education.

![Hugging Face](https://huggingface.co/datasets/SoMarkAI/DocParsingBench) ![ModelScope](https://modelscope.cn/datasets/SoMark/DocParsingBench) ![License](LICENSE) ![Version]()


πŸ†• Latest Updates

[2026.04.17] DocParsingBench evaluation toolkit release. Unified scoring is now available for the three core elements of document parsing β€” text, formulas, and tables β€” together with batch CLI evaluation, segment-level matching, visualization analysis, and leaderboard generation. πŸ“Š

[2026.03.09] DocParsingBench dataset release. The first document parsing dataset built for real-world industry scenarios, covering finance, legal, scientific research, manufacturing, and education. Now available on Hugging Face and ModelScope! πŸ”₯πŸ”₯πŸ”₯


🎯 Key Highlights

βœ… 1. Five Real-World Industry Domains

Samples were drawn from real business workflows, preserving scan noise, stamp occlusion, and blurred characters:

DomainDocument TypesCharacteristics
FinanceBrokerage research reports, listed-company annual reports, prospectusesMulti-column tables, stamped PDF scans, complex tables
LegalLegal documents, contract clauses, industry standardsStandardized headers and footers, dense footnotes, cross-referenced citations
Scientific ResearchAcademic papers, programming textbooks, full-text patentsMixed two- and three-column layouts, formula-heavy text, code blocks, chemical formulas
ManufacturingOperating SOPs, forms and receiptsBlurry scans, handwritten fill-ins, QR codes / barcodes
EducationTextbooks across English, chemistry, and mathematicsChemical structures, reaction equations, multiple-choice options, fill-in-the-blanks

βœ… 2. Full Coverage of Complex Layouts

  • β€”Single-column: textbooks, legal documents
  • β€”Two-column: academic papers, some research reports
  • β€”Three or more columns: brokerage financial reports, data reports
  • β€”Mixed layouts: interleaved text and figures, tables spanning columns, nested sidebars

πŸ“Š Dataset Composition

DimensionCategory
Total samples1,400 pages
LanguagesChinese, English, Chinese-English mixed
Industry distributionFinance / Legal / Scientific Research / Manufacturing / Education
Layout distributionSingle-column / Two-column / Three-column / Mixed
Annotation formatMarkdown
Chemistry annotationFollows the SoMarkdown specification, combining SMILES with LaTeX to fully render chemical structures

πŸ—οΈ Annotation Philosophy

  • β€”Fully human-annotated, without exception β€” the "ground truth" of document parsing should not be something a model guesses. In practice, we found that errors from model pre-annotation are silently accepted by annotators: when shown an existing markdown draft, annotators tend to tweak rather than redraw, and the model's mistakes get frozen into the dataset. Every bounding box is drawn stroke by stroke; every character is typed by hand. It is not the fastest approach, but it is the one that yields the highest quality.
  • β€”This was the most time-consuming part of the project. We wrote detailed boundary rules for every class of document element, then pilot-annotated, iterated, and finalized them class by class.
  • β€”Every spec went through 3+ rounds of pilot annotation, team-wide training, and consistency testing, keeping inter-annotator disagreement on the same page below 5%. In total, 6 full batches were rejected and re-annotated, with an annotation-to-review time ratio of 1 : 0.8.

πŸ“ˆ Evaluation Benchmark

The companion **industrial document parsing benchmark** is released alongside this dataset β€” community submissions are welcome! πŸ“Š

❀️ Acknowledgements

This is work that demands extraordinary patience. A single complex page mixing chemical formulas and tables can take hours; one boundary disagreement can send an entire batch back for re-annotation, costing hundreds of person-hours. Behind every annotated page is a human eye parsing the document's structure and a human hand confirming the markdown. Thanks to every annotator who saw this through.

We also thank the SoMarkdown project for the chemical-structure annotation specification that let us express LLM-readable chemistry precisely.


πŸ“– Citation

If you use DocParsingBench in your research, please cite it as follows:

bibtex
@misc{DocParsingBench-2026,
  title={DocParsingBench},
  author={SoMark},
  year={2026},
  publisher={Hugging Face,ModelScope},
  howpublished={\url{https://modelscope.cn/datasets/SoMark/DocParsingBench}}
}

πŸ“œ License

This project is released under the ODC-BY (Open Data Commons Attribution License) and is open to both academic research and commercial use.


🌟 If you find this dataset useful, please consider giving us a ⭐ on ModelScope / Hugging Face!
How to Download

πŸ€— Hugging Face

python
from datasets import load_dataset
ds = load_dataset("SoMarkAI/DocParsingBench")

☁️ ModelScope

python
from modelscope.msdatasets import MsDataset
ds = MsDataset.load('SoMark/DocParsingBench')

Git Clone

bash
# Hugging Face
git clone https://huggingface.co/datasets/SoMarkAI/DocParsingBench

# ModelScope
git clone https://www.modelscope.cn/datasets/SoMark/DocParsingBench.git