Signals/ Brief /
Baidu's free OCR model reads documents hundreds of pages long in one go
Baidu released a small, MIT-licensed model that turns long PDFs and scans into structured text, with some limits.
Baidu published Unlimited OCR 2 on October 27. It is an open model with 3 billion parameters that reads page images and returns text, with headings, tables, formulas and reading order.
It can take a few pages or hundreds in one request and carry context across page breaks, which helps with tables that continue on the next page and repeated headers. Baidu says a fixed-size pool of reference tokens keeps memory use and speed steady as documents grow. The license is MIT, and the weights alone need about 6 GB.
Baidu reports top scores on two long-document benchmarks, MPDocBench and MarathonDocBench. Those scores come from the authors, so test it on your own files before you rely on it.
The catch: You run it yourself. It needs a CUDA GPU, PDFs must be converted to page images first, and setup pulls in code from the model repository, which the page advises reviewing and pinning. The reference pool is also a lossy summary, so details from early pages in a very long document can get lost.
Should you switch?
- Probably yes: A developer who already runs models on their own GPU and wants a free tool for scanned contracts, manuals or reports.
- Probably no: Someone who just wants to drop a PDF into an app. A hosted tool you already use is simpler.
Key terms
- OCR: Software that turns images of text into editable text.
- Open weights: The trained model file is public, so you can run it on your own hardware.