Baidu shipped Unlimited-OCR on June 22, and it did 1.8k GitHub stars in under 24 hours because it solves a problem everyone in document AI actually has: context doesn’t stop at page breaks.
Until now, OCR systems had to chunk documents, process each chunk separately, then glue the output back together. That’s clunky and fragile. It breaks understanding. A reference on page 3 means nothing if the model reset its memory on page 1.
Unlimited-OCR processes entire PDFs, entire books, in one forward pass. The trick is a new attention mechanism they call Reference Sliding Window Attention. Instead of remembering every token you ever generated, you keep only a recent window of text. But you always have the original document image. The cache reaches a fixed size and stops growing.
The upside is 35% better throughput compared to the DeepSeek OCR baseline. You get long-horizon understanding without the explosion of memory that would normally kill inference performance. That’s the kind of constraint-solving that pushes the field forward.
Book your free AI clarity call, NOW!
https://buff.ly/TpWy277
Sources:
https://github.com/baidu/Unlimited-OCR
https://arxiv.org/abs/2606.23050
https://hyper.ai/en/stories/896c32c8cf649dc179e249b10e47d840
Repost this. Thanks.

