Mistral
Collection
21 items • Updated • 10
How to use mlx-community/Mistral-Large-Instruct-2407-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Mistral-Large-Instruct-2407-4bit mlx-community/Mistral-Large-Instruct-2407-4bit
The Model mlx-community/Mistral-Large-Instruct-2407-4bit was converted to MLX format from mistralai/Mistral-Large-Instruct-2407 using mlx-lm version 0.16.1.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/Mistral-Large-Instruct-2407-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized