state-spaces · First MLX build 21 Sept 2024

mamba-1.4b-hf

MLX Text

A 1.4B parameter text generation model from state-spaces, with 2 MLX builds.

Hugging Face
Parameters
1.4B
From Hugging Face
Quantisation
Unstated
mamba-1.4b-hf-f16
Memory needed
6 GB
Estimate, unified memory
Download
2.7 GB
Weights, estimated
Downloads
19
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/mamba-1.4b-hf-f16 --prompt "Hello"

MLX builds

2 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
mamba-1.4b-hf-f16 Unstated 2.7 GB 6 GB 19
mamba-1.4b-hf-f32 Unstated 5.5 GB 9 GB 15

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