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

context212
/
alhazen-ocr

Image-Text-to-Text
PEFT
Safetensors
arabic
ocr
qwen3-vl
lora
unsloth
document-ai
conversational
Model card Files Files and versions
xet
Community

Instructions to use context212/alhazen-ocr with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • PEFT

    How to use context212/alhazen-ocr with PEFT:

    from peft import PeftModel
    from transformers import AutoModelForCausalLM
    
    base_model = AutoModelForCausalLM.from_pretrained("unsloth/qwen3-vl-2b-instruct-unsloth-bnb-4bit")
    model = PeftModel.from_pretrained(base_model, "context212/alhazen-ocr")
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • Unsloth Studio

    How to use context212/alhazen-ocr with Unsloth Studio:

    Install Unsloth Studio (macOS, Linux, WSL)
    curl -fsSL https://unsloth.ai/install.sh | sh
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for context212/alhazen-ocr to start chatting
    Install Unsloth Studio (Windows)
    irm https://unsloth.ai/install.ps1 | iex
    # Run unsloth studio
    unsloth studio -H 0.0.0.0 -p 8888
    # Then open http://localhost:8888 in your browser
    # Search for context212/alhazen-ocr to start chatting
    Using HuggingFace Spaces for Unsloth
    # No setup required
    # Open https://huggingface.co/spaces/unsloth/studio in your browser
    # Search for context212/alhazen-ocr to start chatting
    Load model with FastModel
    pip install unsloth
    from unsloth import FastModel
    model, tokenizer = FastModel.from_pretrained(
        model_name="context212/alhazen-ocr",
        max_seq_length=2048,
    )
alhazen-ocr
81.3 MB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 16 commits
isaac0x53's picture
isaac0x53
Update model card: base vs Alhazen-OCR (khattmix eval)
110b461 verified about 21 hours ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 2 days ago
  • README.md
    2.86 kB
    Update model card: base vs Alhazen-OCR (khattmix eval) about 21 hours ago
  • adapter_config.json
    1.33 kB
    Promote alhazen-ocr-khattmix โ†’ alhazen-ocr (eval win) about 21 hours ago
  • adapter_model.safetensors
    69.8 MB
    xet
    Promote alhazen-ocr-khattmix โ†’ alhazen-ocr (eval win) about 21 hours ago
  • benchmark_sample.png
    97.9 kB
    Upload folder using huggingface_hub 1 day ago
  • chat_template.jinja
    5.29 kB
    Upload folder using huggingface_hub 2 days ago
  • processor_config.json
    1.33 kB
    Upload folder using huggingface_hub 2 days ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 2 days ago
  • tokenizer_config.json
    5.14 kB
    Upload folder using huggingface_hub 2 days ago