Llama 3.1
Collection
12 items
•
Updated
•
10
The Model mlx-community/Meta-Llama-3.1-70B-Instruct-8bit was converted to MLX format from meta-llama/Meta-Llama-3.1-70B-Instruct 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-70B-Instruct-8bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)