Commit History
-
Sync from GitHub via hub-sync
Verified signatureda1cd8b
-
Sync from GitHub via hub-sync
Verified signature5bbe409
-
Sync from GitHub via hub-sync
Verified signature6d7c9aa
-
Sync from GitHub via hub-sync
Verified signature62ac907
-
Fix output_path parameter in model.infer
Add temp_output directory and pass real path instead of empty string: - Create temp_output/ directory - Pass to model.infer as output_path parameter - Clean up both temp directories at end The model expects a real directory path, not empty string. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>e69f406 -
Use local temp_images directory instead of system temp
Replace tempfile.mkdtemp() with simple local directory: - Create "temp_images" in current working directory - More reliable in containerized environments like HF Jobs - Simpler and easier to debug 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>a9bc1eb -
Fix temp file handling in DeepSeek-OCR
Replace NamedTemporaryFile with simple temp directory approach: - Create temp dir once at start - Reuse single temp file path for all images - Clean up temp dir at end This matches the official example pattern where model.infer() expects a real file path string. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>123f376 -
Pin transformers version for DeepSeek-OCR compatibility
Fix ImportError with LlamaFlashAttention2 by pinning to transformers==4.46.3 and tokenizers==0.20.3 as required by the model's custom code. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>dace8e2 -
Fix DeepSeek-OCR dependencies
Add missing packages required by model's custom code: - addict, easydict (config handling) - matplotlib (visualization) - torchvision (image processing) - einops (tensor operations) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>b2a28f3 -
Add DeepSeek-OCR script (Transformers-based)
Initial implementation using official transformers API. - Multiple resolution modes (Tiny/Small/Base/Large/Gundam) - Sequential processing (no batching) - Full dataset processing support - Dataset card generation - Compatible with HF Jobs To test before updating README. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>fab5e6e