transformers
Add Deepseek-OCR-2 model
#45075
Open

Add Deepseek-OCR-2 model #45075

thisisiron wants to merge 22 commits into huggingface:main from thisisiron:add-deepseek_ocr2
thisisiron
thisisiron feat: add DeepSeek-OCR-2 model registration and docs
e6bed84a
thisisiron feat: add DeepseekOcr2ImageProcessor
7a1a4007
thisisiron feat: add DeepseekOcr2Processor and refactor image processor tile_size
f3ec285d
thisisiron feat: add script to convert DeepSeek-OCR-2 weights to Hugging Face fo…
95b0d574
thisisiron feat: enhance DeepSeek-OCR-2 processing and inference test
b81bc0fb
thisisiron refactor
bbf3f942
thisisiron feat: add fast image processor
2e05944a
thisisiron refactor
8f3270b4
thisisiron test: add image processor tests for DeepseekOcr2
3ee14eba
thisisiron fix: make background_color configurable
58b683eb
thisisiron refactor: migrate image processors to pil/torchvision backend pattern
37104993
thisisiron test: add processor tests for DeepseekOcr2
1bfa054f
thisisiron fix: update __init__
1878af2c
thisisiron chore: clean up unused imports and fix formatting
46ddaecc
thisisiron feat: add configuration, modeling, and modular for DeepseekOcr2
8754d8df
thisisiron fix: style fixes, update docs, and minor cleanups
fef7b5fa
thisisiron fix: use @strict
5520c318
thisisiron fix: register private models
fee7de05
thisisiron docs: add usage example and expand DeepSeek-OCR-2 model doc
85312185
thisisiron fix: add checkpoint to auto_docstring
f6fc20ba
thisisiron fix: remove comment
b4bfbf53
thisisiron fix: remove unused max_query
e7755774
github-actions
thisisiron thisisiron changed the title [WIP] Add Deepseek-OCR2 model Add Deepseek-OCR-2 model 3 days ago

Login to write a write a comment.

Login via GitHub

Reviewers
No reviews
Assignees
No one assigned
Labels
Milestone