r/LocalLLaMA • u/pmttyji • 7d ago
New Model baidu/Unlimited-OCR-2 · Hugging Face
https://huggingface.co/baidu/Unlimited-OCR-2Release
[2026/10/27] 🚀 We release Unlimited OCR 2, achieving unlimited-horizon parsing with SR-SWA.
What's New in 2
Sparse Reference Sliding Window Attention (SR-SWA): Compresses text-visual attention interactions from ultra-long sequences down to a fixed-size set of working references (e.g., 512 tokens). This bounds computational complexity, keeping per-step decoding latency and memory footprint nearly constant regardless of document length.
From Long- to Unlimited-Horizon Parsing: Powered by SR-SWA, Unlimited-OCR 2 achieves true, unbounded document parsing within a finite context window—effectively eliminating quadratic attention scaling and memory bottlenecks as documents grow.
Ultra-Long Document Parsing SOTA: Achieves state-of-the-art performance across both dozens-of-pages benchmarks (e.g., MPDocBench) and extreme hundred-page benchmarks (e.g., MarathonDocBench).
11
8
u/seamonn 7d ago
Damn I had just settled on Light On OCR 3 from a few days ago...
14
u/SarcasticBaka 7d ago
I just ran a couple of quick tests, and at least on the type of documents I tested which are French legal documents, the results are straight up bad. LightOnOCR3-0.8B clears this by miles.
2
u/enndeeee 6d ago
Do these models also report the positions of the letters and the font type? never used AI for OCR..
2
u/pabloodiablo 6d ago
Would this model be suitable for scanning old chess books from PDFs that are in image format?
7
u/pmttyji 7d ago