Downloads · 30 days
19
3% of all-time downloads
junhoyeo/Motif-2-12.7B-Reasoning-MLX-q4
Motif-2-12.7B-Reasoning-MLX-q4 is a text generation model from junhoyeo. 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.
4-bit MLX conversion of Motif-Technologies/Motif-2-12.7B-Reasoning for Apple Silicon, produced by mlx-motif — the MLX port of Motif's Grouped Differential Attention + PolyNorm architecture, with custom Metal kernels f…
Downloads · 30 days
19
3% of all-time downloads
All-time downloads
642
Public
Parameters
12.7B
8.5 GB on disk
Likes
2
Public
Click a slice to open those files.
.safetensors8.4 GB · 100%
How the weights are stored.
U3211.8B · 93%
From the Hugging Face model README
4-bit MLX conversion of Motif-Technologies/Motif-2-12.7B-Reasoning for Apple Silicon, produced by mlx-motif — the MLX port of Motif's Grouped Differential Attention + PolyNorm architecture, with custom Metal kernels for the differential-attention decode path.
Neither architecture primitive ships in mlx-lm, so this checkpoint requires mlx-motif (it registers the model class into mlx-lm's loader); it will not load with stock mlx_lm.load.
git clone https://github.com/junhoyeo/mlx-motif && cd mlx-motif
uv pip install -e .
mlx-motif generate --model <this-repo> --prompt "Hello, world."
mlx-motif serve --model <this-repo> --port 8080 # OpenAI-compatible
from mlx_lm import generate
from mlx_motif import load
model, tokenizer = load("<this-repo>")
print(generate(model, tokenizer, prompt="…", max_tokens=128))
mlx-motif convert --hf-path Motif-Technologies/Motif-2-12.7B-Reasoning --out … --quantize --bits 4 (group_size 64, uniform preset)e6c401a (converted with this repo's convert.py; validated at this commit)scripts/perplexity.py --chunk 512).bench_decode_e2e.py, median of 5 runs, max_tokens=64, default configuration):| Prompt length | tok/s |
|---|---|
| 5 | 40.9 |
| 164 | 40.0 |
| 800 | 38.2 |
| 3204 | 30.7 |
<think> reasoning block; mlx-motif serve --think-mode visible|hidden|captured controls how the trace is surfaced.The model weights are derivative of Motif Technologies' release and remain under Apache 2.0, © Motif Technologies. The conversion tooling is MIT (mlx-motif). If you use this model, please attribute the original model card.