Skip to content
View original post on X: SGLangOfficial
Published
55/100

Baidu releases open-source Unlimited OCR 2 for parsing long documents

AIBaidu has released Unlimited OCR 2 as an open-source model that parses documents of virtually any length within a finite context window. According to SGLang, its SR-SWA mechanism keeps decoding latency and memory nearly constant as documents grow, and the model reports state-of-the-art results on MPDocBench and MarathonDocBench.
SGLangVerified on XOfficial
@sgl_project
View on X

Congrats to @Baidu_Inc on Unlimited OCR 2! An entire book parsed in a single request, with decode latency and memory staying flat across hundreds of pages 👀

Proud to be the recommended serving path. Serving instructions are in the model card: https://huggingface.co/baidu/Unlimited-OCR-2

Cookbook coming

Baidu Inc.@Baidu_Inc
Unlimited OCR 2 is here, and it's open source. 📖 ✨ Longer documents can mean a lot more attention computation. Our new SR-SWA mechanism keeps that in check by condensing text-visual attention interactions into a fixed-size set of working references. Here's what it delivers: - Document parsing at virtually any length, within a finite context window - Nearly constant per-step decoding latency and memory footprint as documents grow longer - State-of-the-art performance on MPDocBench and MarathonDocBench, covering documents from dozens to hundreds of pages Check out the model here ↓
View quoted post on X
Source details

SGLang · x.comPublished · added here

Original title: Congrats to @Baidu_Inc on Unlimited OCR 2! An entire book parsed in a single request, with decode latency and memory staying flat across ...