Mistral
Collection
21 items
•
Updated
•
8
The Model mlx-community/Mixtral-8x7B-Instruct-v0.1 was converted to MLX format from mistralai/Mixtral-8x7B-Instruct-v0.1 using mlx-lm version 0.12.0.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Mixtral-8x7B-Instruct-v0.1")
response = generate(model, tokenizer, prompt="hello", verbose=True)