Llama 3.1
					Collection
				
				12 items
				• 
				Updated
					
				•
					
					13
The Model mlx-community/Meta-Llama-3.1-8B-bf16 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-bf16")
response = generate(model, tokenizer, prompt="hello", verbose=True)