Downloads · 30 days
29
10% of all-time downloads
mlx-community/stablelm-2-12b-4bit
stablelm-2-12b-4bit is a machine learning model from mlx-community. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for mlx. The card lists the license as other.
This model was converted to MLX format from stabilityai/stablelm-2-12b using mlx-lm version 0.8.0.
Downloads · 30 days
29
10% of all-time downloads
All-time downloads
298
Public
Parameters
12.1B
7.6 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors7.6 GB · 100%
How the weights are stored.
U3211.6B · 96%
From the Hugging Face model README
This model was converted to MLX format from stabilityai/stablelm-2-12b using mlx-lm version 0.8.0.
Model added by Prince Canuma.
Refer to the original model card for more details on the model.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/stablelm-2-12b-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)