Feature Extraction
Transformers
Safetensors
deepseek_vl_v2
ocr
vision-language
fp8
quantized
deepseek
custom_code
compressed-tensors
Instructions to use richarddavison/DeepSeek-OCR-2-FP8 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use richarddavison/DeepSeek-OCR-2-FP8 with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("feature-extraction", model="richarddavison/DeepSeek-OCR-2-FP8", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("richarddavison/DeepSeek-OCR-2-FP8", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
Download generation_config.json from richarddavison/DeepSeek-OCR-2-FP8: direct link, hf CLI and curl.
- Browser
- Download file 111 Bytes
-
https://huggingface.co/richarddavison/DeepSeek-OCR-2-FP8/resolve/main/generation_config.json
- Command line
-
hf download hf://richarddavison/DeepSeek-OCR-2-FP8/generation_config.json
-
curl -L -o generation_config.json https://huggingface.co/richarddavison/DeepSeek-OCR-2-FP8/resolve/main/generation_config.json
111 Bytes
| { | |
| "_from_model_config": true, | |
| "bos_token_id": 0, | |
| "eos_token_id": 1, | |
| "transformers_version": "4.46.3" | |
| } | |