Baidu releases Unlimited-OCR-2 for local long-document reading

Baidu released Unlimited-OCR-2's downloadable model files under the MIT license (which permits reuse and modification) for converting page images and PDFs into text. Organizations can run and adapt the model locally, including on multi-page documents. Developers can use Transformers or a customized SGLang setup (both are software for running AI models). The design uses a fixed-size set of working references to manage long-document processing.