✦
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.