Downloads · 30 days
26
4% of all-time downloads
sahilchachra/north-mini-code-mxfp4-mlx
north-mini-code-mxfp4-mlx is a machine learning model from sahilchachra. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as apache-2.0.
MLX quantization of CohereLabs/North-Mini-Code-1.0 for Apple Silicon.
Downloads · 30 days
26
4% of all-time downloads
All-time downloads
595
Public
Parameters
30.5B
17.6 GB on disk
Likes
1
Public
Click a slice to open those files.
.safetensors17.6 GB · 100%
How the weights are stored.
U3229.5B · 97%
From the Hugging Face model README
MLX quantization of CohereLabs/North-Mini-Code-1.0 for Apple Silicon.
Variant: Block float MX FP4
Disk size: 16777 MB
Quantized by: sahilchachra
Evaluated on Apple M4 Pro with MLX. Model loaded once; performance and quality measured in a single pass.
| This model | FP16 baseline | |
|---|---|---|
| Decode tok/s (avg, long traces) | 59.23 | N/A |
| Peak memory (GB) | 18.271 | N/A |
| Disk size (MB) | 16777 | 58175 |
| Benchmark | This model | FP16 baseline | n |
|---|---|---|---|
| MATH-500 (math reasoning) | 96.7% (answered 30/30) | N/A | 30 |
| IFEval (instruction following) | 38.6% | N/A | 44 |
| LiveCodeBench v6 (code, pass@1) | 56.7% | N/A | 30 |
| HumanEval (code, pass@1) | 83.3% | N/A | 30 |
| Level | This model | FP16 baseline |
|---|---|---|
| level 1 | 100.0% | N/A |
| level 2 | 100.0% | N/A |
| level 3 | 83.3% | N/A |
| level 4 | 100.0% | N/A |
| level 5 | 100.0% | N/A |
| Context length | Decode tok/s |
|---|---|
| ~128 tokens | 62.8 |
| ~256 tokens | 62.4 |
| ~512 tokens | 62.4 |
| ~1024 tokens | 61.6 |
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("sahilchachra/north-mini-code-mxfp4-mlx")
response = generate(model, tokenizer, prompt="Your prompt here", max_tokens=256, verbose=True)
| Model | Variant |
|---|---|
| sahilchachra/north-mini-code-mxfp4-mlx | Block float MX FP4 ← this model |
See CohereLabs/North-Mini-Code-1.0 for full model details and intended use.