Downloads · 30 days
15
5% of all-time downloads
batmac/Meta-Llama-Guard-2-8B-mlx-4bit
Meta-Llama-Guard-2-8B-mlx-4bit is a text generation model from batmac. Use it when you need the model to write or continue text. It is set up for mlx. The card lists the license as other.
This model was converted to MLX format from meta-llama/Meta-Llama-Guard-2-8B using mlx-lm version 0.12.1. Refer to the original model card for more details on the model.
Downloads · 30 days
15
5% of all-time downloads
All-time downloads
285
Public
Parameters
8B
4.5 GB on disk
Likes
0
Public
Click a slice to open those files.
.safetensors4.5 GB · 100%
How the weights are stored.
U328B · 100%
From the Hugging Face model README
This model was converted to MLX format from meta-llama/Meta-Llama-Guard-2-8B using mlx-lm version 0.12.1.
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("batmac/Meta-Llama-Guard-2-8B-mlx-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)