Downloads · 30 days
25
10% of all-time downloads
dheeraj1508/phi-2-4bit
phi-2-4bit is a text generation model from dheeraj1508. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as mit.
The Model dheeraj1508/phi-2-4bit was converted to MLX format from microsoft/phi-2 using mlx-lm version 0.14.3.
Downloads · 30 days
25
10% of all-time downloads
All-time downloads
252
Public
Parameters
2.8B
1.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors1.6 GB · 100%
How the weights are stored.
U322.8B · 100%
From the Hugging Face model README
The Model dheeraj1508/phi-2-4bit was converted to MLX format from microsoft/phi-2 using mlx-lm version 0.14.3.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("dheeraj1508/phi-2-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)