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

PocketAiHub
/
Qwen3.8-9B-MLX

Image-Text-to-Text
MLX
Safetensors
English
mlx-vlm
qwen
qwen3.8
distillation
multimodal
4-bit precision
8-bit precision
bf16
Model card Files Files and versions
xet
Community

Instructions to use PocketAiHub/Qwen3.8-9B-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use PocketAiHub/Qwen3.8-9B-MLX 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("PocketAiHub/Qwen3.8-9B-MLX")
    config = load_config("PocketAiHub/Qwen3.8-9B-MLX")
    
    # 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
  • Atomic Chat
Qwen3.8-9B-MLX / 4bit
5.98 GB
Ctrl+K
Ctrl+K
  • 1 contributor
History: 1 commit
PocketAiHub's picture
PocketAiHub
Add files using upload-large-folder tool
c38a225 verified 7 days ago
  • artifact-manifest.json
    2.78 kB
    Add files using upload-large-folder tool 7 days ago
  • chat_template.jinja
    7.76 kB
    Add files using upload-large-folder tool 7 days ago
  • config.json
    3.7 kB
    Add files using upload-large-folder tool 7 days ago
  • generation_config.json
    164 Bytes
    Add files using upload-large-folder tool 7 days ago
  • model-00001-of-00002.safetensors
    5.35 GB
    xet
    Add files using upload-large-folder tool 7 days ago
  • model-00002-of-00002.safetensors
    600 MB
    xet
    Add files using upload-large-folder tool 7 days ago
  • model.safetensors.index.json
    124 kB
    Add files using upload-large-folder tool 7 days ago
  • preprocessor_config.json
    390 Bytes
    Add files using upload-large-folder tool 7 days ago
  • processor_config.json
    991 Bytes
    Add files using upload-large-folder tool 7 days ago
  • source-manifest.json
    1.19 kB
    Add files using upload-large-folder tool 7 days ago
  • tokenizer.json
    20 MB
    xet
    Add files using upload-large-folder tool 7 days ago
  • tokenizer_config.json
    1.17 kB
    Add files using upload-large-folder tool 7 days ago
  • validation-summary.json
    2.49 kB
    Add files using upload-large-folder tool 7 days ago
  • video_preprocessor_config.json
    385 Bytes
    Add files using upload-large-folder tool 7 days ago
  • vocab.json
    6.72 MB
    Add files using upload-large-folder tool 7 days ago