Skip to main content
llm.info
olmOCR 2 logo

olmOCR 2

VersionolmOCR-2-7B-1025

byAllen Institute for AI

  • Views10 views
  • Release dateReleased Oct 2025
Skip to community
Community (0)

Overview

About

The Allen Institute for AI's document OCR model, fine-tuned from Qwen2.5-VL-7B-Instruct on the olmOCR-mix-1025 dataset of 270,000 PDF pages and then trained with GRPO reinforcement learning against deterministic unit-test rewards. It reads a page image in a single pass and emits structured text directly: Markdown for headings and document structure, HTML for tables, and LaTeX for equations. Weights ship in BF16 and FP8 alongside the training data, toolkit and fine-tuning code.

Strengths

  • Reads a complex page in a single pass, with the vision encoder and decoder producing structure directly rather than stitching it together with post-hoc rules
  • Emits Markdown for document structure, HTML for tables and LaTeX for equations, so the output is usable without a post-processing stage
  • Scores 82.4 on olmOCR-Bench, ahead of the specialised tools Marker (76.1) and MinerU (75.8)
  • Large gains on traditionally hard cases: 84.9% on tables (from 72.9%), 83.7% on multi-column (from 77.3%), 82.3% on old math scans (from 79.9%)
  • Trained with GRPO reinforcement learning against pass/fail unit-test rewards, so it optimises verifiable correctness rather than approximate text similarity
  • Fully reproducible release: BF16 and FP8 weights plus the olmOCR-mix-1025 and olmOCR-synthmix-1025 datasets, training code and fine-tuning scripts
  • FP8 build reaches 3,400 output tokens per second on a single H100

Caveats

  • Old scans is by far its weakest benchmark row at 48.3, against an 82.3 overall, so degraded historical page images remain unreliable
  • Ai2 claims state of the art only for 'English-language digitized print documents', and the model card lists English as the only language
  • Despite the Apache 2.0 grant the card adds that the model 'is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines'
  • Input must be a single page image rendered with its longest dimension at 1288 pixels, and the prompt must carry document metadata, so in practice the olmOCR toolkit is required
  • The GRPO rewards come from the same unit-test framework that olmOCR-Bench uses to score the model, though Ai2 states train and test splits are kept clean and it never trains on bench documents
  • Ai2 recommends the FP8 sibling 'for all practical purposes except further fine tuning', so this BF16 repository is not the deployment target
  • No context window, output limit or training cutoff is stated on the model card

Tags

Specs

Family
olmOCR
Version
olmOCR-2-7B-1025
Modalities
Image, Text
Release date
Oct 21, 2025
License
Apache-2.0
Open weights
Yes
Streaming
No
Added
Oct 14, 2026
Updated
Dec 4, 2026

Benchmarks (3)

Scores come from the listed sources and are not directly comparable across methodologies.
BenchmarkScoreMaxSourceAs ofNotes
olmOCR-Bench (overall)
Curated
82.3100huggingface.coOpens in a new tabolmOCR pipeline v0.4.0 with olmOCR-2-7B-1025 (BF16), reported as 82.3 +/- 1.1. The FP8 build scores 82.4, the figure Ai2's blog headlines.
olmOCR-Bench - Tables
Curated
84.3100huggingface.coOpens in a new tabBF16 row; the FP8 build scores 84.9.
olmOCR-Bench - Old Scans
Curated
48.3100huggingface.coOpens in a new tabThe weakest category on the card by a wide margin; the FP8 build scores 47.7.

Community

Reviews

Reviews

Comments

Comments