New advertisers: 50% off your first month with code FIRSTMONTHSee slots

Vision-language OCR model with context optical compression for documents, PDFs, and images.

skills.sh installs
1.5K
GitHub stars
98
last updated
Jul 14, 2026
View on GitHub

What it does

  • Covers document-to-markdown, free OCR, figure parsing, and grounded text location through distinct prompt modes
  • Runs on vLLM for high-throughput batch inference or on HuggingFace Transformers with flash attention and bfloat16
  • Supports fixed resolutions from 512×512 to 1280×1280 plus a dynamic Gundam mode for large pages
  • Designed for teams converting scanned documents or PDFs to structured text on CUDA GPUs with PyTorch 2.6

Install

$ npx -y skills add reason-machines/trending-skills --skill deepseek-ocr -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

DeepSeek-OCR

Skill by ara.so — Daily 2026 Skills collection.

DeepSeek-OCR is a vision-language model for Optical Character Recognition with "Contexts Optical Compression." It supports native and dynamic resolutions, multiple prompt modes (document-to-markdown, free OCR, figure parsing, grounding), and can be run via vLLM (high-throughput) or HuggingFace Transformers. It processes images and PDFs, outputting structured text or markdown.


Installation

Prerequisites

  • CUDA 11.8+, PyTorch 2.6.0
  • Python 3.12.9 (via conda recommended)

Setup

git clone https://github.com/deepseek-ai/DeepSeek-OCR.git
cd DeepSeek-OCR

conda create -n deepseek-ocr python=3.12.9 -y
conda activate deepseek-ocr

# Install PyTorch with CUDA 11.8
pip install torch==2.6.0 torchvision==0.21.0 torchaudio==2.6.0 \
  --index-url https://download.pytorch.org/whl/cu118

# Download vllm-0.8.5 whl from https://github.com/vllm-project/vllm/releases/tag/v0.8.5
pip install vllm-0.8.5+cu118-cp38-abi3-manylinux1_x86_64.whl

pip install -r requirements.txt
pip install flash-attn==2.7.3 --no-build-isolation

Alternative: upstream vLLM (nightly)

Details

Repository
github.com/reason-machines/trending-skills
Categories
Office Files & Slides, AI Agents & LLM Apps
First seen
Apr 16, 2026

More from reason-machines/trending-skills

All 163

Similar to Deepseek Ocr

More Office Files & Slides