Baidu Open-Sources Unlimited OCR 2 for Hundred-Page Document Parsing

Impact 8 MarkTechPost

Summary

  • Baidu released Unlimited OCR 2, an open-source 3.34B vision-language model designed for parsing very long documents.
  • The model utilizes SR-SWA (Sparse Reference Sliding Window Attention) to keep per-step decoding cost and memory nearly flat as document length increases.
  • It supports a maximum position length of 131,072 tokens and runs on a single CUDA GPU in BF16.
  • Baidu reports top scores on multi-page benchmarks like MPDocBench and MarathonDocBench, though heading hierarchy remains its lowest sub-score.
  • The model weights are available under the MIT license with code hosted on GitHub.

Why it matters

Unlimited OCR 2 offers a scalable open-source solution for parsing hundreds of pages in a single request, maintaining efficient memory usage and constant latency via sparse attention mechanisms.

Who should care