Image-Text-to-Text
Safetensors
MLX
mlx-vlm
gemma4_unified
gemma-4
vision-language
quantized
4-bit precision
6-bit
8-bit precision
apple-silicon
Instructions to use chanderbalaji/Grug-12B-VLM-MLX with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use chanderbalaji/Grug-12B-VLM-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("chanderbalaji/Grug-12B-VLM-MLX") config = load_config("chanderbalaji/Grug-12B-VLM-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
- Xet hash:
- 8736f731b44ab74028c99b727b437396aee11824543d11d8913197a0cdf741ed
- Size of remote file:
- 5.35 GB
- SHA256:
- eac5735d34e02ae39f123d704d3b83a9ce8a72ee32b348b557761293c9a44849
·
Xet efficiently stores Large Files inside Git, intelligently splitting files into unique chunks and accelerating uploads and downloads. More info.