CoolFace
Modelpublic

tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q6

sourceHugging Faceupdated 4mo agoView on Hugging Face
1likes39downloads
Model Card

Gemma 3 12B IT Heretic v2 - MLX VLM Q6 (Vision-Capable)

This is a vision-capable 6-bit MLX-converted version of DreamFast/gemma-3-12b-it-heretic-v2.

This model includes vision support for image understanding!

Source Model

  • —Original Model: DreamFast/gemma-3-12b-it-heretic-v2
  • —Base Model: google/gemma-3-12b-it
  • —Model Type: gemma3
  • —Parameters: 12B
  • —Includes: Vision tower + Multi-modal projector + Language model

Model Family

This model is part of a complete family with both text-only and vision-capable variants:

Text-Only Variants (mlx-lm)

VariantQuantizationSizeHF RepoUse Case
BF16None22 GBtg-rising/gemma-3-12b-it-heretic-v2-MLX-BF16Text generation
Q88-bit12 GBtg-rising/gemma-3-12b-it-heretic-v2-MLX-Q8Text generation
Q66-bit8.9 GBtg-rising/gemma-3-12b-it-heretic-v2-MLX-Q6Text generation
Q44-bit6.2 GBtg-rising/gemma-3-12b-it-heretic-v2-MLX-Q4Text generation

Vision-Capable Variants (mlx-vlm)

VariantQuantizationSizeHF RepoUse Case
BF16None25 GBtg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-BF16Image + Text
Q88-bit13 GBtg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q8Image + Text
Q66-bit11 GBtg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q6Image + Text
Q44-bit7.5 GBtg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q4Image + Text

Requirements

bash
pip install -U mlx-vlm

Usage - Image Understanding

CLI

bash
# Analyze an image
python -m mlx_vlm.generate \
  --model tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q6 \
  --prompt "Describe this image in detail." \
  --image /path/to/image.jpg \
  --max-tokens 100

Python API

python
from mlx_vlm import load, generate
from mlx_vlm.prompt_utils import apply_chat_template
from mlx_vlm.utils import load_config

# Load model
model_path = "tg-rising/gemma-3-12b-it-heretic-v2-MLX-VLM-Q6"
model, processor = load(model_path)
config = load_config(model_path)

# Prepare image + text
image = ["/path/to/image.jpg"]
prompt = "What is in this image?"

# Apply chat template
formatted_prompt = apply_chat_template(
    processor, config, prompt, num_images=len(image)
)

# Generate
output = generate(model, processor, formatted_prompt, image, max_tokens=100)
print(output)

Quantization Details

  • —Bits: 6-bit
  • —Mode: affine
  • —Group Size: 64
  • —Vision Components: Preserved (not quantized)
  • —Text Components: 6-bit

License

This model is subject to the Gemma license.