-
Notifications
You must be signed in to change notification settings - Fork 14.1k
mtmd: Add DeepSeekOCR Support #17400
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
init commit
mtmd: fix vision model processing
testing Vision model loading
mtmd: DeepseekOCR Implement DeepSeek3B-MoE-A570M (LM component)
…ut in deepseek2 model
|
heads up, sorry for the breaking change but there will be a refactoring (just moving stuff around) in #17965 after finishing with this refactoring (and after you done testing on your side), I'll go back to deepseek-ocr |
…rge_#17965 # Conflicts: # src/llama-kv-cache.cpp # tools/mtmd/clip.cpp
Merge with #17965 is done. |
python test script for deepseek-ocr testing OCR on text-1.jpeg newspaper image checking against expected reference model output for Free-OCR and Markdown
# Conflicts: # convert_hf_to_gguf.py
# Conflicts: # gguf-py/gguf/constants.py # gguf-py/gguf/tensor_mapping.py # tools/mtmd/clip-impl.h # tools/mtmd/clip.cpp # tools/mtmd/models/models.h
# Conflicts: # src/llama-arch.cpp
Feature Request: #16676
Make sure to read the contributing guidelines before submitting a PR
GGUF Models
sabafallah/DeepSeek-OCR-GGUF
deepseek-ocr-f32.gguf
mmproj-deepseek-ocr-f32.gguf
Running the Model
Build llama.cpp (Mac)
Running llama-mtmd-cli
DeepSeekOCR Paper (First page)
Hard Test (Old Newspaper Image)