Downloads · 30 days
62
9% of all-time downloads
tocchitocchi/Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-4bit
Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-4bit is a text generation model from tocchitocchi. 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.
MLX 4bit quantized version of tokyotech-llm/Qwen3-Swallow-30B-A3B-SFT-v0.2 for Apple Silicon Macs.
Downloads · 30 days
62
9% of all-time downloads
All-time downloads
718
Public
Parameters
30.5B
17.2 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors17.2 GB · 100%
How the weights are stored.
U3230.5B · 100%
From the Hugging Face model README
MLX 4bit quantized version of tokyotech-llm/Qwen3-Swallow-30B-A3B-SFT-v0.2 for Apple Silicon Macs.
| Item | Value |
|---|---|
| Conversion tool | mlx-lm |
| Quantization | 4bit |
| Model size | ~17 GB |
| Source | tokyotech-llm/Qwen3-Swallow-30B-A3B-SFT-v0.2 |
| Metric | Value |
|---|---|
| Generation speed | 120.6 tokens/s |
| Peak memory usage | 17.3 GB |
pip install mlx-lm
mlx_lm.generate \
--model tocchitocchi/Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-4bit \
--prompt "生成AIについて、10歳向けの説明をして" \
--max-tokens 500
mlx_lm.chat --model tocchitocchi/Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-4bit
mlx_lm.server \
--model tocchitocchi/Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-4bit \
--port 8080
from mlx_lm import load, generate
model, tokenizer = load("tocchitocchi/Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-4bit")
messages = [{"role": "user", "content": "日本の四季の魅力を説明して"}]
prompt = tokenizer.apply_chat_template(messages, add_generation_prompt=True, tokenize=False)
print(generate(model, tokenizer, prompt=prompt, max_tokens=500))
| Machine | Memory | Status |
|---|---|---|
| M4 Max 128GB | Plenty of headroom | ✅ |
| M4 Pro 64GB | Comfortable | ✅ |
| M4 Pro 48GB | Comfortable | ✅ |
| M1/M2/M3 16GB | Tight | ⚠️ |
| Precision | Repository | Size | Speed |
|---|---|---|---|
| 4bit (this model) | tocchitocchi/Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-4bit | 17 GB | 120.6 tok/s |
| 8bit | tocchitocchi/Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-8bit | 32 GB | 89.7 tok/s |
| fp16 | tocchitocchi/Qwen3-Swallow-30B-A3B-SFT-v0.2-MLX-fp16 | 61 GB | 60.9 tok/s |