#1313th of 49 in Open modelsFor data and documents, documents and ocr

unlimited-ocr

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

Stars
28.3k
License
MIT
Last commit
Oct 2026
Language
Python
Stars, last 18 weeks+28,306
19 Jun 2026: 0 stars26 Jun 2026: 10,409 stars3 Jul 2026: 12,989 stars10 Jul 2026: 13,753 stars17 Jul 2026: 14,212 stars24 Jul 2026: 18,580 stars31 Jul 2026: 20,949 stars7 Aug 2026: 22,292 stars14 Aug 2026: 23,603 stars21 Aug 2026: 24,148 stars28 Aug 2026: 24,563 stars4 Sept 2026: 25,072 stars11 Sept 2026: 25,372 stars18 Sept 2026: 25,768 stars25 Sept 2026: 26,203 stars2 Oct 2026: 26,541 stars9 Oct 2026: 26,757 stars16 Oct 2026: 27,651 stars23 Oct 2026: 28,306 stars

0 on 19 Jun 202628,306 on 23 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

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

Quick answers

Is unlimited-ocr open source?

Yes. Its code is on GitHub under the MIT license.

Can you run unlimited-ocr with Docker?

Yes. Its repository has a Docker setup: a Dockerfile, a Compose file or a published image.

Does unlimited-ocr need a GPU?

Yes, it needs a GPU.

Also in Open models

See all 49
Also in Open models
RankProjectScore
1llmfitRust tool that checks which LLMs fit your RAM, CPU and GPU38.3k starsMIT87 out of 100
2layaSingle-pass multilingual classifier for typed choice, score and yes/no decisions Live demo ↗ (opens in a new tab)34.1k starsApache-2.086 out of 100
3timesfmPretrained time-series foundation model for zero-shot forecasting from Google Research34.8k starsApache-2.077 out of 100
#4yolov5PyTorch YOLOv5 object detection, segmentation and classification models with training code58.2k starsAGPL-3.076 out of 100
#5speechPyTorch toolkit for training and deploying ASR, TTS and speech LLM models Live demo ↗ (opens in a new tab)18.6k starsApache-2.074 out of 100