naver-clova-ix/synthdog-ja
Viewer • Updated • 66.8k • 774 • 5
How to use suthanhcong/DeepseekOCR_3B_synthdog_jp with Transformers:
# Use a pipeline as a high-level helper
from transformers import pipeline
pipe = pipeline("feature-extraction", model="suthanhcong/DeepseekOCR_3B_synthdog_jp", trust_remote_code=True) # Load model directly
from transformers import AutoModel
model = AutoModel.from_pretrained("suthanhcong/DeepseekOCR_3B_synthdog_jp", trust_remote_code=True, device_map="auto")This deepseek_vl_v2 model was trained 2x faster with Unsloth and Huggingface's TRL library.
Base model
deepseek-ai/DeepSeek-OCR