Downloads · 30 days
22
16% of all-time downloads
Irfanuruchi/Phi-2-MLX-4bit
Phi-2-MLX-4bit is a text generation model from Irfanuruchi. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
This repository provides a 4-bit MLX-quantized version of Microsoft Phi-2, optimized for fast, low-memory local inference on Apple Silicon.
Downloads · 30 days
22
16% of all-time downloads
All-time downloads
134
Public
Parameters
2.8B
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 100%
How the weights are stored.
U322.8B · 100%
From the Hugging Face model README
This repository provides a 4-bit MLX-quantized version of Microsoft Phi-2, optimized for fast, low-memory local inference on Apple Silicon.
This variant prioritizes speed and minimal RAM usage, making it ideal for laptops and on-device experimentation.
| Metric | Value |
|---|---|
| Disk size | ~1.5–1.7 GB |
| Peak RAM usage | ~1.6–1.8 GB |
| Inference speed | Fast |
| Instruction quality | Good |
mlx_lm.generate \
--model /path/to/Phi-2-MLX-4bit \
--prompt "Explain the FFT in simple terms." \
--max-tokens 120
This repository redistributes a quantized MLX conversion of Microsoft Phi-2.
See LICENSE for details.