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

anerjy
/
step37-mlx-vlm

Image-Text-to-Text
MLX
step3p7
mlx-vlm
mlx-lm
vision-language
multimodal
apple-silicon
Model card Files Files and versions
xet
Community

Instructions to use anerjy/step37-mlx-vlm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.

  • Libraries
  • MLX

    How to use anerjy/step37-mlx-vlm 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("anerjy/step37-mlx-vlm")
    config = load_config("anerjy/step37-mlx-vlm")
    
    # 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
step37-mlx-vlm
148 kB
Ctrl+K
Ctrl+K
  • 2 contributors
History: 14 commits
anerjy
Scrub remaining privacy markers from README + language.py docstring
a3971c4 14 days ago
  • mlx_lm
    Initial: Step 3.7 Flash MLX adapter (text + vision) 16 days ago
  • mlx_vlm
    Scrub remaining privacy markers from README + language.py docstring 14 days ago
  • model_dir_patches
    Initial: Step 3.7 Flash MLX adapter (text + vision) 16 days ago
  • scripts
    P4: MTP working — 75% accept, 15% net speedup (52.6 vs 45.6 tok/s) 15 days ago
  • .gitignore
    152 Bytes
    Untrack CLAUDE.md (privacy: contains internal infra refs) 14 days ago
  • LICENSE
    1.15 kB
    Initial: Step 3.7 Flash MLX adapter (text + vision) 16 days ago
  • README.md
    13.6 kB
    Scrub remaining privacy markers from README + language.py docstring 14 days ago
  • config.json
    1.2 kB
    Add root config.json as HF Hub download-tracking anchor 15 days ago
  • requirements.txt
    202 Bytes
    Initial: Step 3.7 Flash MLX adapter (text + vision) 16 days ago