mesolitica · First MLX build 4 Jun 2026

mallam-5b-20k-instructions-v2

MLX Text

A 5B parameter text generation model from mesolitica, with 2 MLX builds, from MXFP4 to 8-bit.

Hugging Face
Parameters
5B
From Hugging Face
Quantisation
MXFP4
mallam-5b-20k-instructions-v2-mxfp4
Memory needed
6 GB
Estimate, unified memory
Download
2.8 GB
Weights, estimated
Downloads
28
This build, last 30 days
Task
Text generation
Text
MLX builds
2
On mlx-community
Devices
Mac
Apple silicon

Memory

Estimated from the size of the weights, plus a fifth for context and working memory and 2 GB for macOS and your apps. Long contexts need more.

Run it

Terminal · mlx-lm
$ pip install -U mlx-lm
$ mlx_lm.generate --model mlx-community/mallam-5b-20k-instructions-v2-mxfp4 --prompt "Hello"

MLX builds

2 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
mallam-5b-20k-instructions-v2-mxfp4 MXFP4 2.8 GB 6 GB 28
mallam-5b-20k-instructions-v2-8bit 8-bit 5.3 GB 8 GB 21

Sizes are estimated from Hugging Face’s parameter counts and the quantisation. Downloads are for the last 30 days.