#44th of 10 in Open models
unlimited-ocr
OCR model that parses long documents and multi-page PDFs in one pass
Live demo ↗
(opens in a new tab)Documentation ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 27.3k
- License
- MIT
- Last commit
- Oct 2026
- Language
- Python
Missed the latest GitHub check; these facts may be older.
Overview
Unlimited-OCR is a Baidu document-parsing vision-language model, building on DeepSeek-OCR, with weights on Hugging Face. The repo ships inference code for Transformers, vLLM and SGLang, the last exposing an OpenAI-compatible chat API. It handles single images and multi-page input, with PDFs converted to images first.
Who it is for: Engineers self-hosting OCR for scanned documents and PDFs on NVIDIA GPUs
Strengths
- Multi-page parsing in one request, with 32768 max context length in the examples
- Three inference paths: Transformers, vLLM (Docker images), and SGLang with OpenAI-compatible API
- infer.py batch script launches SGLang and sends concurrent requests for image dirs or PDFs
- MIT license; training supported through ms-swift
Weaknesses
- Requires an NVIDIA GPU; examples tested only on CUDA 12.9 with Python 3.12
- PDFs must be rasterized to images with PyMuPDF before parsing
- SGLang setup needs a bundled dev wheel and custom logit processor flags
- VRAM requirement is not stated in the README
What it needs
- GPU required
- Needs PyTorch 2.10.0, transformers 4.57.1, PyMuPDF, vLLM or SGLang (optional)
- Models: baidu/Unlimited-OCR (safetensors)
- port 10000
Head to head
Also in Open models
See all 10| Rank | Project | Score |
|---|---|---|
| 1 | llmfitRust tool that checks which LLMs fit your RAM, CPU and GPU | 83 out of 100 |
| 2 | layaSingle-pass multilingual classifier for typed choice, score and yes/no decisions | 76 out of 100 |
| 3 | timesfmPretrained time-series foundation model for zero-shot forecasting from Google Research | 70 out of 100 |
| #5 | insightfaceFace detection, recognition and alignment toolbox with ArcFace and RetinaFace models | 52 out of 100 |
| #6 | kronosPretrained decoder-only models that forecast financial candlestick (K-line) series | 47 out of 100 |