Downloads · 30 days
17
12% of all-time downloads
pyromind/qwen3.5-4b-debug-mlx-int4
qwen3.5-4b-debug-mlx-int4 is a text generation model from pyromind. Use it when you need the model to write or continue text. It is set up for mlx.
This is an MLX INT4 quantized version of Qwen/Qwen3.5-4B, optimized for efficient inference on Apple Silicon.
Downloads · 30 days
17
12% of all-time downloads
All-time downloads
138
Public
Parameters
4.8B
4.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.5 GB · 100%
How the weights are stored.
U323.6B · 74%
From the Hugging Face model README
This is an MLX INT4 quantized version of Qwen/Qwen3.5-4B, optimized for efficient inference on Apple Silicon.
| Property | Value |
|---|---|
| Base Model | Qwen/Qwen3.5-4B |
| Quantization | INT4 (group_size=64, affine) |
| Framework | MLX |
| Target Hardware | Apple Silicon (M1/M2/M3/M4) |
| Original Size | ~9 GB |
| Quantized Size | ~4.2 GB |
mlx_lmembed_tokens and lm_head kept at float16 for output qualitypip install mlx mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("pyromind/qwen3.5-4b-debug-mlx-int4")
messages = [
{"role": "system", "content": "You are a helpful assistant."},
{"role": "user", "content": "Explain quantum computing in simple terms."},
]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True)
output = generate(
model, tokenizer,
prompt=prompt,
max_tokens=2048,
temp=0.6,
)
print(output)
mlx_lm.chat --model pyromind/qwen3.5-4b-debug-mlx-int4
This model follows the license of the base model Qwen/Qwen3.5-4B.