# deepseek-ai/DeepSeek-OCR-2

This model is a visual OCR system that uses visual causal flow for human like visual encoding. It is described for transformer based inference and PDF processing workflows.

## Cite this

- Page: https://huggingbay.xyz/artifact/hf-model-deepseek-ai-deepseek-ocr-2
- Citation: deepseek-ai/DeepSeek-OCR-2. The Hugging Bay model record. https://huggingbay.xyz/artifact/hf-model-deepseek-ai-deepseek-ocr-2 (retrieved 2026-11-13).
- Check a downloaded file: run `shasum -a 256 <file>` (macOS), `sha256sum <file>` (Linux) or `Get-FileHash -Algorithm SHA256 <file>` (Windows), then compare with that file's SHA-256 at https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/files?limit=100. How checks work: https://huggingbay.xyz/verification

## Facts

- Type: Vision
- Task: image-text-to-text
- Framework: transformers
- License: apache-2.0: Permissive open license: commercial use, modification, and redistribution are permitted. (https://huggingface.co/deepseek-ai/DeepSeek-OCR-2/blob/main/LICENSE.txt)
- Source: https://huggingface.co/deepseek-ai/DeepSeek-OCR-2
- Hosting: hosted (6 files)
- Files: 6 hosted of 12 listed
- Needs its own code to run: Uses custom model code (configuration_deepseek_v2.py). Plain llama.cpp, Ollama and LM Studio commands are not offered for this model unless a GGUF file is listed.
- File counts: "listed" is every file in the source repository; only hosted files download from Hugging Bay, and the download plan lists the files it selects for one download, so its count can differ.
- Hosted here: 6 hosted of 12 listed
- Full repo upstream: 6.79 GB
- Recommended file: 6.78 GB · model-00001-of-000001.safetensors
- Download: https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/download-plan (download plan: https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/download-plan)
- Per-file SHA-256: available for 6 of 6 hosted files via https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/files?limit=100
- Availability: Ready
- Downloadable: yes
- Run-ready: no (Hugging Bay has not certified a run path for this model; hosted bytes are downloadable and hash-checkable only)
- Peer-assisted fallbacks: 0 verified, 0 pending review
- Downloads: 3202247
- Stars: 1086
- Card completeness: 88%

## Description

This model is a visual OCR system that uses visual causal flow for human like visual encoding. It is described for transformer based inference and PDF processing workflows.

## Model Card Facts

- Declared license: apache-2.0
- Pipeline: image-text-to-text
- Library: transformers
- Task categories: image-text-to-text
- Languages: multilingual
- Paper ids: 2601.20552, 2510.18234
- File hints: 16 upstream file samples

## Referenced Data

- Paper: 2601.20552
- Paper: 2510.18234

## File Hints

- .gitattributes
- LICENSE.txt
- README.md
- assets/fig1.png
- config.json
- configuration_deepseek_v2.py
- conversation.py
- deepencoderv2.py
- model-00001-of-000001.safetensors
- model.safetensors.index.json
- modeling_deepseekocr2.py
- modeling_deepseekv2.py

## Quality Checklist

- Summary: passed
- Description: passed
- Model card metadata: passed
- License: passed
- Provenance: passed
- File inventory: passed
- Hosted bytes: passed
- Scan result: passed
- Manifest signature: passed

## Safety Notes

- Reviewed large mirror worker mirrored 3 Hugging Face files by codex-requested-mirror-apply-2; 0 medium-risk weight files used explicit admin review.
- Mirrored 6 selected Hugging Face files by configured-admin; 0 medium-risk weight files used explicit admin review; hashes computed from downloaded bytes and manifest signed.
- External catalog metadata imported from Hugging Face public API on 2026-07-01T22:45:44.573Z.
- Open license detected as apache-2.0.
- Not a run kit: hosted, hash-checked bytes only; run readiness is not certified for this model yet.

## Actions

- Web: https://huggingbay.xyz/artifact/hf-model-deepseek-ai-deepseek-ocr-2
- Files API: https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/files?limit=100
- Metadata: https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/metadata.json
- Distribution: https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/distribution
- Manifest: https://huggingbay.xyz/api/manifests/hf-model-deepseek-ai-deepseek-ocr-2
- Download plan (per-file SHA-256 + signed download URLs): https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/download-plan
- Hosted download rows: https://huggingbay.xyz/api/downloadable-files?artifactId=hf-model-deepseek-ai-deepseek-ocr-2&limit=100
- Request mirror: not applicable.
- Submit peer fallback for review: POST https://huggingbay.xyz/api/artifacts/hf-model-deepseek-ai-deepseek-ocr-2/decentralized-fallbacks
