Views
No views yet
| Variant | Quantization | Size | HF Repo | Use Case |
|---|---|---|---|---|
| BF16 | None | 22 GB | tg-rising/gemma-3-12b-it-heretic-v2-MLX-BF16 | Text generation |
| Q8 | 8-bit | 12 GB | tg-rising/gemma-3-12b-it-heretic-v2-MLX-Q8 | Text generation |
| Q6 | 6-bit | 8.9 GB | tg-rising/gemma-3-12b-it-heretic-v2-MLX-Q6 | Text generation |
| Q4 | 4-bit | 6.2 GB | tg-rising/gemma-3-12b-it-heretic-v2-MLX-Q4 | Text generation |
| Variant | Quantization | Size | HF Repo | Use Case |
|---|---|---|---|---|
| BF16 | None | 25 GB | tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-BF16 | Image + Text |
| Q8 | 8-bit | 13 GB | tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q8 | Image + Text |
| Q6 | 6-bit | 11 GB | tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q6 | Image + Text |
| Q4 | 4-bit | 7.5 GB | tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q4 | Image + Text |
pip install -U mlx-vlm1# Analyze an image
2python -m mlx_vlm.generate \
3 --model tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q4 \
4 --prompt "Describe this image in detail." \
5 --image /path/to/image.jpg \
6 --max-tokens 1001from mlx_vlm import load, generate
2from mlx_vlm.prompt_utils import apply_chat_template
3from mlx_vlm.utils import load_config
4
5# Load model
6model_path = "tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q4"
7model, processor = load(model_path)
8config = load_config(model_path)
9
10# Prepare image + text
11image = ["/path/to/image.jpg"]
12prompt = "What is in this image?"
13
14# Apply chat template
15formatted_prompt = apply_chat_template(
16 processor, config, prompt, num_images=len(image)
17)
18
19# Generate
20output = generate(model, processor, formatted_prompt, image, max_tokens=100)
21print(output)