AIAny
Icon for item

olmOCR-bench

Benchmark for evaluating OCR systems that convert PDFs and scans into Markdown and structured text: 1,403 PDFs and 7,010 unit tests covering text presence/absence, reading order, tables, and math formula accuracy. Diverse sources and ODC-BY-1.0 license for research use.

Introduction

Most OCR benchmarks measure plain transcription accuracy; olmOCR-bench instead encodes the concrete, testable properties that production OCR for research and LLM pipelines must preserve. By turning document-level expectations into unit tests (e.g., “header removed”, “equation present”, “cell value above another”), it makes regressions and targeted improvements both measurable and automatable.

What Sets It Apart
  • Specification-first tests: Each case targets a concrete failure mode (text presence/absence, reading order, table cell relationships, math layout), so fixes can be validated without re-annotating full documents. This lets teams track precise regressions after model or pipeline changes.
  • Diverse, realistic sources: The suite mixes arXiv papers, historical scans, multi-column layouts, tiny text, and table-heavy documents to reflect real-world OCR challenges beyond clean PDFs. That diversity stresses layout understanding, not just character recognition.
  • Designed for integration: Tests are written to validate markdownified outputs and support fuzzy/positional matching and bounding-box–based math checks, enabling automated CI-style evaluation for OCR pipelines and VLM-based extractors.
  • Research-friendly licensing and artifacts: Distributed with an explicit ODC-BY-1.0 license and linked code/demo, so reproducible benchmarking and model comparisons are straightforward for academic and industrial researchers.
Who It's For and Trade-offs

Great fit if you run or develop OCR/VLM pipelines that must preserve document structure (tables, equations, headers/footers) for downstream LLMs, search, or data extraction workflows. It excels at pinpointing layout and semantic extraction regressions. Look elsewhere if you only need raw character-level accuracy on single-column clean scans—olmOCR-bench focuses on end-to-end, structured output properties rather than per-character WER alone. Also note: the test-first design favors CI-driven development and may require adapting output formatting to match the benchmark’s markdown-oriented expectations.

Information

  • Websitehuggingface.co
  • OrganizationsAllen Institute for Artificial Intelligence (AI2), AllenNLP / olmOCR team
  • AuthorsJake Poznanski, Jon Borchardt, Jason Dunkelberger, Regan Huff, Daniel Lin, Aman Rangapur, Christopher Wilhelm, Kyle Lo, Luca Soldaini
  • Published date2025/03/14

Categories

More Items

Hugging Face

A 16 GB, 507-file PhD‑level cybersecurity knowledge base for training and evaluating security-focused LLMs and automation. Covers offensive/defensive/forensics/cloud/iot and AI-security across 30+ domains with real-world labs and framework mappings.

Hugging Face

Structured dataset for training and evaluating LLM agentic behavior: function-calling conversations, JSON-mode structured outputs, and extraction samples for teaching models to generate tool calls and strict structured responses. Includes single-turn and multi-turn scenarios across several configs.

Hugging Face

A multi-task English NLU benchmark for evaluating models across nine tasks (acceptability, sentiment, paraphrase, similarity, and various NLI setups), with a diagnostic evaluation set and an online leaderboard to compare generalization and transfer learning.