Downloads · 30 days
10
5% of all-time downloads
Alkd/Qwen3.5-4B-MLX-4bit
Qwen3.5-4B-MLX-4bit is a machine learning model from Alkd. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
This is a 4-bit quantized MLX version of Qwen/Qwen3.5-4B for Apple Silicon.
Downloads · 30 days
10
5% of all-time downloads
All-time downloads
183
Public
Parameters
4.5B
3.1 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors3 GB · 99%
How the weights are stored.
U324.2B · 93%
From the Hugging Face model README
This is a 4-bit quantized MLX version of Qwen/Qwen3.5-4B for Apple Silicon.
This model was converted using mlx-vlm from the pc/fix-qwen35-predicate branch, which includes fixes for Qwen3.5 model support (proper handling of MoE gate layers, shared_expert_gate, and A_log casting).
Conversion command:
python3 -m mlx_vlm convert \
--hf-path "Qwen/Qwen3.5-4B" \
--mlx-path "./Qwen3.5-4B-MLX-4bit" \
-q --q-bits 4 --q-group-size 64
A better, more optimized conversion may be available from @Prince (@Blaizzy) in the MLX VLM community. Check the mlx-community organization for updated versions as official Qwen3.5 support is merged into the main mlx-vlm branch.
from mlx_vlm import load, generate
model, processor = load("mlx-community/Qwen3.5-4B-MLX-4bit")
output = generate(
model,
processor,
prompt="Describe this image.",
image="path/to/image.jpg",
max_tokens=512
)
print(output)
CLI:
python3 -m mlx_vlm.generate \
--model mlx-community/Qwen3.5-4B-MLX-4bit \
--image path/to/image.jpg \
--prompt "Describe this image."
This model inherits the Apache 2.0 license from the original Qwen model.