Downloads · 30 days
22
2% of all-time downloads
brabooObrabo/Qwen3-4B-Instruct-2507-MLX-4bit-GS32-embed-8bit-GS32
Qwen3-4B-Instruct-2507-MLX-4bit-GS32-embed-8bit-GS32 is a text generation model from brabooObrabo. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as apache-2.0.
Author: B Toolkit: mlx-lm 0.26.4 Target: On-device inference on Apple Silicon (MLX) with quality-first 4-bit quantization.
Downloads · 30 days
22
2% of all-time downloads
All-time downloads
1.2K
Public
Parameters
4B
2.7 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors2.7 GB · 99%
How the weights are stored.
U324B · 100%
From the Hugging Face model README
Author: B
Toolkit: mlx-lm 0.26.4
Target: On-device inference on Apple Silicon (MLX) with quality-first 4-bit quantization.
bfloat16 (per config)bits: 4, group_size: 32 for all transformer weightsmodel.embed_tokens: bits 8, group_size 32 (embeddings in 8-bit)quantization and quantization_config for HF compatibility.pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("brabooObrabo/Qwen3-4B-Instruct-2507-MLX-4bit-GS32-embed-8bit-GS32")
prompt = "hello"
if tokenizer.chat_template is not None:
messages = [{"role": "user", "content": prompt}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True)
out = generate(model, tokenizer, prompt=prompt, max_tokens=512, temperature=0.7, top_p=0.9, verbose=True)
print(out)
Tune as usual; GS32 + 8-bit embeddings tends to accept slightly lower temps without sounding robotic.