Baidu open-sources its Unlimited OCR 2 document parsing model

Baidu released Unlimited OCR 2 on Hugging Face and GitHub on Oct 27 under the MIT license (about 3.3B parameters). Its Sparse Reference Sliding Window Attention (SR-SWA) compresses attention over very long sequences into a fixed set of references (e.g. 512 tokens), so per-step latency and memory stay nearly flat as documents grow. Baidu claims SOTA on dozens- and hundred-page parsing benchmarks.

Why it matters

Long-document parsing feeds RAG and agent pipelines; this one is open weights, runs locally, and keeps memory flat as page counts grow.

Sources2

Written by dalao.ai: the title, summary and why it matters are our own words. The original reports are the record; their publishers keep authorship.