Hugging Face's logo Hugging Face
  • Models
  • Datasets
  • Spaces
  • Buckets new
  • Docs
  • Enterprise
  • Pricing
    • Website
      • Tasks
      • HuggingChat
      • Collections
      • Languages
      • Organizations
    • Community
      • Blog
      • Posts
      • Daily Papers
      • Hardware
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

loay
/
Arabic-OCR-DeepSeek-OCR-2

Image-to-Text
Transformers
Safetensors
English
Arabic
DeepseekOCR2
feature-extraction
unsloth
deepseek
deepseek-ocr
arabic
ocr
vision
text-extraction
merged
lora
custom_code
Model card Files Files and versions
xet
Community

Instructions to use loay/Arabic-OCR-DeepSeek-OCR-2 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • Transformers

    How to use loay/Arabic-OCR-DeepSeek-OCR-2 with Transformers:

    # Use a pipeline as a high-level helper
    # Warning: Pipeline type "image-to-text" is no longer supported in transformers v5.
    # You must load the model directly (see below) or downgrade to v4.x with:
    # 'pip install "transformers<5.0.0'
    from transformers import pipeline
    
    pipe = pipeline("image-to-text", model="loay/Arabic-OCR-DeepSeek-OCR-2", trust_remote_code=True)
    # Load model directly
    from transformers import AutoModel
    model = AutoModel.from_pretrained("loay/Arabic-OCR-DeepSeek-OCR-2", trust_remote_code=True, device_map="auto")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Desktop
Arabic-OCR-DeepSeek-OCR-2
6.79 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 5 commits
loay's picture
loay
Update README.md
3b27977 verified 6 months ago
  • .gitattributes
    1.52 kB
    initial commit 6 months ago
  • README.md
    1.85 kB
    Update README.md 6 months ago
  • config.json
    3.53 kB
    Upload folder using huggingface_hub 6 months ago
  • conversation.py
    9.25 kB
    Upload folder using huggingface_hub 6 months ago
  • deepencoderv2.py
    36.3 kB
    Upload folder using huggingface_hub 6 months ago
  • model-00001-of-000001.safetensors
    6.78 GB
    xet
    Upload folder using huggingface_hub 6 months ago
  • model.safetensors.index.json
    247 kB
    Upload folder using huggingface_hub 6 months ago
  • modeling_deepseekocr2.py
    40.7 kB
    Upload folder using huggingface_hub 6 months ago
  • special_tokens_map.json
    549 Bytes
    Upload folder using huggingface_hub 6 months ago
  • tokenizer.json
    9.98 MB
    Upload folder using huggingface_hub 6 months ago
  • tokenizer_config.json
    166 kB
    Upload folder using huggingface_hub 6 months ago