Skip to content

phi-2-hf-4bit-mlx

mlx-community/phi-2-hf-4bit-mlx
4-bit Open on Hugging Face
Parameters
—
Weights (est.)
—
Mac memory (est.)
—

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/phi-2-hf-4bit-mlx --prompt "Hello"

Details

Base model
—
Vendor
—
Task
Text generation
Quantisation
4-bit
Licence
mit
Downloads
61 in the last 30 days · 13K all time · 2 likes
Published
2024-01-14 · updated 2024-01-14 (2y ago)
Languages
en
Tags
code, custom_code