state-spaces · First MLX build 21 Sept 2024

mamba-370m-hf

MLX Text

A 372M parameter text generation model from state-spaces, with 2 MLX builds.

Hugging Face
Parameters
372M
From Hugging Face
Quantisation
Unstated
mamba-370m-hf-f16
Memory needed
3 GB
Estimate, unified memory
Download
743 MB
Weights, estimated
Downloads
21
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-370m-hf-f16 --prompt "Hello"

MLX builds

2 on mlx-community
Click a column to sort. Smallest size and most downloads are highlighted.
mamba-370m-hf-f16 Unstated 743 MB 3 GB 21
mamba-370m-hf-f32 Unstated 1.5 GB 4 GB 18

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