#44th of 10 in Open models

unlimited-ocr

OCR model that parses long documents and multi-page PDFs in one pass

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
Also in Open models
RankProjectScore
1llmfitRust tool that checks which LLMs fit your RAM, CPU and GPU37.9k starsMIT83 out of 100
2layaSingle-pass multilingual classifier for typed choice, score and yes/no decisions Live demo ↗ (opens in a new tab)32.9k starsApache-2.076 out of 100
3timesfmPretrained time-series foundation model for zero-shot forecasting from Google Research34.5k starsApache-2.070 out of 100
#5insightfaceFace detection, recognition and alignment toolbox with ArcFace and RetinaFace models Live demo ↗ (opens in a new tab)29.9k starsno license52 out of 100
#6kronosPretrained decoder-only models that forecast financial candlestick (K-line) series Live demo ↗ (opens in a new tab)40.8k starsMIT47 out of 100