Skip to content

starcoder2-7b-4bit

mlx-community/starcoder2-7b-4bit
Text generation · transformers
4-bit Open on Hugging Face
Parameters
7.2B
Weights (est.)
≈ 4.4 GB
Mac memory (est.)
8 GB+

Size is estimated from the parameter count and quantisation. Memory allows a fifth extra for context plus 2 GB for the system; long contexts need more.

Run it

With mlx-lm on an Apple silicon Mac:

pip install mlx-lmmlx_lm.generate --model mlx-community/starcoder2-7b-4bit --prompt "Hello"

Details

Base model
—
Vendor
—
Task
Text generation
Quantisation
4-bit
Licence
bigcode-openrail-m
Downloads
188 in the last 30 days · 3.4K all time · 2 likes
Published
2024-03-03 · updated 2024-03-03 (2y ago)
Tags
starcoder2, code, model-index