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
      • Learn
      • Discord
      • Forum
      • GitHub
    • Solutions
      • Team & Enterprise
      • Hugging Face PRO
      • Enterprise Support
      • Inference Providers
      • Inference Endpoints
      • Storage Buckets

  • Log In
  • Sign Up

nervouslyopen
/
Qwen2.5-VL-3B-Instruct-4bit

Image-Text-to-Text
MLX
Safetensors
English
qwen2_5_vl
multimodal
conversational
4-bit precision
Model card Files Files and versions
xet
Community

Instructions to use nervouslyopen/Qwen2.5-VL-3B-Instruct-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use nervouslyopen/Qwen2.5-VL-3B-Instruct-4bit with MLX:

    # Make sure mlx-vlm is installed
    # pip install --upgrade mlx-vlm
    
    from mlx_vlm import load, generate
    from mlx_vlm.prompt_utils import apply_chat_template
    from mlx_vlm.utils import load_config
    
    # Load the model
    model, processor = load("nervouslyopen/Qwen2.5-VL-3B-Instruct-4bit")
    config = load_config("nervouslyopen/Qwen2.5-VL-3B-Instruct-4bit")
    
    # Prepare input
    image = ["http://images.cocodataset.org/val2017/000000039769.jpg"]
    prompt = "Describe this image."
    
    # Apply chat template
    formatted_prompt = apply_chat_template(
        processor, config, prompt, num_images=1
    )
    
    # Generate output
    output = generate(model, processor, formatted_prompt, image)
    print(output)
  • Notebooks
  • Google Colab
  • Kaggle
  • Local Apps Settings
  • LM Studio
Qwen2.5-VL-3B-Instruct-4bit
3.09 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 2 commits
nervouslyopen's picture
nervouslyopen
Upload folder using huggingface_hub
dae5432 verified 17 days ago
  • .gitattributes
    1.57 kB
    Upload folder using huggingface_hub 17 days ago
  • README.md
    809 Bytes
    Upload folder using huggingface_hub 17 days ago
  • chat_template.jinja
    1.02 kB
    Upload folder using huggingface_hub 17 days ago
  • chat_template.json
    1.05 kB
    Upload folder using huggingface_hub 17 days ago
  • config.json
    2.12 kB
    Upload folder using huggingface_hub 17 days ago
  • generation_config.json
    216 Bytes
    Upload folder using huggingface_hub 17 days ago
  • model.safetensors
    3.07 GB
    xet
    Upload folder using huggingface_hub 17 days ago
  • model.safetensors.index.json
    108 kB
    Upload folder using huggingface_hub 17 days ago
  • preprocessor_config.json
    350 Bytes
    Upload folder using huggingface_hub 17 days ago
  • processor_config.json
    1.08 kB
    Upload folder using huggingface_hub 17 days ago
  • tokenizer.json
    11.4 MB
    xet
    Upload folder using huggingface_hub 17 days ago
  • tokenizer_config.json
    737 Bytes
    Upload folder using huggingface_hub 17 days ago
  • vocab.json
    2.78 MB
    Upload folder using huggingface_hub 17 days ago