Skip to content

Add Deepseek-OCR-2 model#45075

Merged
vasqu merged 86 commits into
huggingface:mainfrom
thisisiron:add-deepseek_ocr2
Jun 1, 2026
Merged

Add Deepseek-OCR-2 model#45075
vasqu merged 86 commits into
huggingface:mainfrom
thisisiron:add-deepseek_ocr2

Conversation

@thisisiron
Copy link
Copy Markdown
Contributor

@thisisiron thisisiron commented Mar 27, 2026

What does this PR do?

Adds the DeepSeek-OCR2 model.

Reference

Who can review?

@zucchini-nlp @yonigozlan

@thisisiron thisisiron changed the title [WIP] Add Deepseek-OCR2 model Add Deepseek-OCR-2 model Mar 28, 2026
@thisisiron thisisiron mentioned this pull request Apr 2, 2026
2 tasks
@zucchini-nlp
Copy link
Copy Markdown
Member

Hey @thisisiron , I have been quite busy with other models lately and this one slipped off my radar. Will be reviewing after Easter next week :)

@zucchini-nlp zucchini-nlp self-requested a review April 2, 2026 16:42
@thisisiron
Copy link
Copy Markdown
Contributor Author

thisisiron commented May 30, 2026

@vasqu Thanks for the review!

  • Updated the Hub model card to mirror the original README, with transformers usage examples.
  • The conversion script now strips keys not defined in DeepseekOcr2Config, so config.json retains only the valid fields.
  • Switched from thisisiron/DeepSeek-OCR-2-hf to deepseek-community/DeepSeek-OCR-2.

@vasqu
Copy link
Copy Markdown
Contributor

vasqu commented Jun 1, 2026

run-slow: deepseek_ocr2

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Workflow Run ⚙️

This comment contains run-slow, running the specified jobs:

models: ["models/deepseek_ocr2"]
quantizations: []

Copy link
Copy Markdown
Contributor

@vasqu vasqu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We are good to go, waiting for slow CI but will merge likely tomorrow then

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

CI Results

Workflow Run ⚙️

Commit Info

Context Commit Description
RUN 4b40fd24 workflow commit (merge commit)
PR fd0e526c branch commit (from PR)
main 0d482414 base commit (on main)

✅ No failing test specific to this PR 🎉 👏 !

@vasqu vasqu added this pull request to the merge queue Jun 1, 2026
@vasqu vasqu added the New model label Jun 1, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 1, 2026
@vasqu vasqu enabled auto-merge June 1, 2026 20:38
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

[For maintainers] Suggested jobs to run (before merge)

run-slow: auto, deepseek_ocr2

@vasqu vasqu added this pull request to the merge queue Jun 1, 2026
@github-merge-queue github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Jun 1, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

[For maintainers] Suggested jobs to run (before merge)

run-slow: auto, deepseek_ocr2

@vasqu vasqu enabled auto-merge June 1, 2026 21:08
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

[For maintainers] Suggested jobs to run (before merge)

run-slow: auto, deepseek_ocr2

@vasqu vasqu disabled auto-merge June 1, 2026 21:09
@vasqu
Copy link
Copy Markdown
Contributor

vasqu commented Jun 1, 2026

run-slow: deepseek_ocr2

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

Workflow Run ⚙️

This comment contains run-slow, running the specified jobs:

models: ["models/deepseek_ocr2"]
quantizations: []

@vasqu vasqu enabled auto-merge June 1, 2026 21:21
@vasqu vasqu added this pull request to the merge queue Jun 1, 2026
Merged via the queue into huggingface:main with commit 8e67c5e Jun 1, 2026
29 of 30 checks passed
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 1, 2026

CI Results

Workflow Run ⚙️

Commit Info

Context Commit Description
RUN 394182c5 workflow commit (merge commit)
PR 5b87e5ff branch commit (from PR)
main a10a0e4c base commit (on main)

✅ No failing test specific to this PR 🎉 👏 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants