How to use from
MLX LM
Generate or start a chat session
# Install MLX LM
uv tool install mlx-lm
# Interactive chat REPL
mlx_lm.chat --model "aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit"
Run an OpenAI-compatible server
# Install MLX LM
uv tool install mlx-lm
# Start the server
mlx_lm.server --model "aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit"
# Calling the OpenAI-compatible server with curl
curl -X POST "http://localhost:8000/v1/chat/completions" \
   -H "Content-Type: application/json" \
   --data '{
     "model": "aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit",
     "messages": [
       {"role": "user", "content": "Hello"}
     ]
   }'
Quick Links

Qwen3-4B-Instruct-2507 — MLX int5

First-party MLX export of Qwen/Qwen3-4B-Instruct-2507, quantized to int5 (group size 64) for on-device chat on Apple Silicon. Built by our own pipeline (speech-models/export_mlx.py, via mlx_lm.convert).

Runs in the runner voice companion through a hand-written MLX dense runtime (soniqo/speech-swift → Qwen3Chat/Qwen3DenseModel), not a generic loader — the forward pass is numerically parity-verified against mlx_lm (identical next-token logits).

Params 4B (dense) · 36 layers · 32 q / 8 kv heads · head_dim 128
Quantization int5, group size 64 (~5.5 bits/weight, 2.78 GB)
Context 262144

Attribution & license

  • Weights: derivative of Qwen/Qwen3-4B-Instruct-2507, Alibaba/Qwen — Apache-2.0.
  • Conversion: mlx_lm.convert (Apple MLX) — MIT.
Downloads last month
22
Safetensors
Model size
4B params
Tensor type
U32
·
BF16
·
MLX
Hardware compatibility
Log In to add your hardware

5-bit

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

Model tree for aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit

Quantized
(326)
this model

Collection including aufklarer/Qwen3-4B-Instruct-2507-MLX-5bit