Llama 3.1
Collection
12 items
•
Updated
•
12
The Model mlx-community/Meta-Llama-3.1-8B-4bit was converted to MLX format from meta-llama/Meta-Llama-3.1-8B using mlx-lm version 0.16.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Meta-Llama-3.1-8B-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)