Image-Text-to-Text
MLX
Safetensors
Transformers
English
gemma4
text-generation-inference
unsloth
reasoning
conversational
4-bit precision
How to use from
SGLang
Install from pip and serve model
# Install SGLang from pip:
pip install sglang
# Start the SGLang server:
python3 -m sglang.launch_server \
    --model-path "zecanard/gemma-4-26B-A4B-it-Claude-Opus-Distilled-v2-MLX-4bit-nvfp4" \
    --host 0.0.0.0 \
    --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "zecanard/gemma-4-26B-A4B-it-Claude-Opus-Distilled-v2-MLX-4bit-nvfp4",
		"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 images
docker run --gpus all \
    --shm-size 32g \
    -p 30000:30000 \
    -v ~/.cache/huggingface:/root/.cache/huggingface \
    --env "HF_TOKEN=<secret>" \
    --ipc=host \
    lmsysorg/sglang:latest \
    python3 -m sglang.launch_server \
        --model-path "zecanard/gemma-4-26B-A4B-it-Claude-Opus-Distilled-v2-MLX-4bit-nvfp4" \
        --host 0.0.0.0 \
        --port 30000
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:30000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "zecanard/gemma-4-26B-A4B-it-Claude-Opus-Distilled-v2-MLX-4bit-nvfp4",
		"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"
						}
					}
				]
			}
		]
	}'
Quick Links

🦆 zecanard/gemma-4-26B-A4B-it-Claude-Opus-Distilled-v2-MLX-4bit-nvfp4

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

🌟 Quality

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

mlx_vlm.convert --quantize --q-bits 4 --q-group-size 16 --q-mode nvfp4

🛠️ Customizations

This quant 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:

{%- set enable_thinking = true %}

You may also 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-26B-A4B-it-Claude-Opus-Distilled-v2-MLX-4bit-nvfp4 --max-tokens 100 --temperature 0 --prompt "Describe this image." --image <path_to_image>
Downloads last month
186
Safetensors
Model size
7B params
Tensor type
U8
·
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

4-bit

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

Model tree for zecanard/gemma-4-26B-A4B-it-Claude-Opus-Distilled-v2-MLX-4bit-nvfp4

Datasets used to train zecanard/gemma-4-26B-A4B-it-Claude-Opus-Distilled-v2-MLX-4bit-nvfp4