Skip to main content

Posts

Showing posts with the label Baidu

Baidu's Unlimited-OCR: The AI That Reads an Entire Book in One Pass

On June 22, 2026 , Baidu quietly open-sourced a model that solves one of OCR's most stubborn problems: reading long documents. Called Unlimited-OCR , it can parse a 40-page contract, a scanned textbook, or a dense financial report in a single forward pass — and it does so while keeping memory dead flat. The GitHub repo crossed 10,000 stars within five days. Here's why it matters, in plain terms. The problem: OCR forgets how to breathe on long documents Modern OCR is done by vision-language models that "read" a page image and emit text. The catch is the KV cache — the running memory a transformer keeps of everything it has seen so far. On a one-page receipt that's trivial. On a 40-page document, that cache balloons: memory climbs, per-page latency creeps up, and eventually the model runs out of room or slows to a crawl. In practice, most OCR systems quietly punt by slicing a document into pages and stitching the results back together — which loses cross-pa...