Description
DeepOCR is a reproduction of the DeepSeek-OCR model, built on the VILA codebase, and it includes the training pipeline. It explores context optical compression, which turns text into vision tokens so OCR can work with very few of them. The README says it reaches competitive OCR performance with about 250 vision tokens. Its DeepEncoder combines SAM, which uses window attention, with CLIP, which uses global attention, and adds a 16 times convolutional compressor for high-resolution input from 1024 by 1024 pixels and up. The project includes evaluation scripts and pre-trained checkpoints. Training is split into two stages: an alignment stage that trains the vision-to-text projector, and a pretraining stage that trains the projector and the language model on OCR data. The README also covers installation, downloading the checkpoints and preparing the data, and links to a project website and a model page.…
Highlights
- Reproduction of DeepSeek-OCR on VILA
- Training pipeline and evaluation scripts
- Pre-trained checkpoints
- About 250 vision tokens for competitive OCR
- DeepEncoder combining SAM and CLIP
Ratings & Reviews
No ratings yet
Be the first to rate DeepOCR.
People also visit
Deepseek-ocr.rs
Rust multi‑backend OCR/VLM engine (DeepSeek‑OCR-1/2, PaddleOCR‑VL, DotsOCR)…
DeepOCR FAQ
What is DeepOCR?
A reproduction of the DeepSeek-OCR model, built on the VILA framework, with its training code.
How does it compress text?
It uses context optical compression, turning text into vision tokens. The README says about 250 vision tokens are enough for competitive OCR.
Are trained models available?
Yes. The README includes pre-trained checkpoints and how to download them.
How is training organised?
An alignment stage trains the projector, and a pretraining stage trains the projector and the language model on OCR data.
What are the best DeepOCR alternatives?
Popular alternatives to DeepOCR include Franken OCR, DAVAR-Lab-OCR and DTrOCR. See all DeepOCR alternatives


