Unlimited OCR 2

NEW

Summary

Unlimited OCR 2 is Baidu's document-parsing model for long and multi-page material. It reads ordered page images in one request, preserving cross-page context while producing text that can be used in document-processing and information-extraction workflows.

Key Features

Multi-page document parsing.
Cross-page contextual processing.
Sparse Reference Sliding Window Attention.
Bounded working-reference attention.
Single-page image inference.
Ordered page-image inputs.
Transformers inference examples.
SGLang serving support.

About Unlimited OCR 2


Sparse Reference Sliding Window Attention limits the active working references used during decoding. This design aims to keep per-step memory and latency from growing with the full document history, extending parsing beyond the practical length limits of conventional attention-based processing.


The released model is useful for developers processing reports, manuals, and large document collections. The repository includes Transformers inference examples and serving guidance, with separate single-page and multi-page entry points so teams can test the model before building a production service.

Get more likes & reach the top of search results by adding this button on your site!

Embed button preview - Light theme
Embed button preview - Dark theme
TurboType Banner

Subscribe to the AI Search Newsletter

Get top updates in AI to your inbox every weekend. It's free!