How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "zecanard/gemma-4-31B-it-Claude-Opus-Distilled-MLX-6bit-int6-affine"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "zecanard/gemma-4-31B-it-Claude-Opus-Distilled-MLX-6bit-int6-affine",
		"messages": [
			{
				"role": "user",
				"content": [
					{
						"type": "text",
						"text": "Describe this image in one sentence."
					},
					{
						"type": "image_url",
						"image_url": {
							"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
						}
					}
				]
			}
		]
	}'
Use Docker
docker model run hf.co/zecanard/gemma-4-31B-it-Claude-Opus-Distilled-MLX-6bit-int6-affine
Quick Links

🦆 zecanard/gemma-4-31B-it-Claude-Opus-Distilled-MLX-6bit-int6-affine

This model was converted to MLX from TeichAI/gemma-4-31B-it-Claude-Opus-Distill using mlx-vlm version 0.6.3. Please refer to the original model card for more details.

🌟 Quality

Quantized vision language model with an effective 7.170 bits per weight.

mlx_vlm.convert --quantize --q-group-size 32 --q-bits 6 --q-mode affine

🛠️ Customizations

This quant includes a bugfix related to tools calling. It is aware of the current date, and also enables thinking (if available). You may disable this behavior by deleting the following line from the chat template, or changing true to false:

{%- set enable_thinking = true %}

You may need to adjust your environment’s Reasoning Section Parsing to recognize <|channel>thought as the Start String, and <channel|> as the End String.

🖥️ Use with mlx

pip install -U mlx-vlm
mlx_vlm.generate --model zecanard/gemma-4-31B-it-Claude-Opus-Distilled-MLX-6bit-int6-affine --max-tokens 100 --temperature 0 --prompt "Describe this image." --image <path_to_image>
Downloads last month
149
Safetensors
Model size
31B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

6-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for zecanard/gemma-4-31B-it-Claude-Opus-Distilled-MLX-6bit-int6-affine

Datasets used to train zecanard/gemma-4-31B-it-Claude-Opus-Distilled-MLX-6bit-int6-affine