Mistral
Collection
21 items • Updated • 10
How to use mlx-community/Mixtral-8x22B-4bit with MLX:
# Download the model from the Hub pip install huggingface_hub[hf_xet] huggingface-cli download --local-dir Mixtral-8x22B-4bit mlx-community/Mixtral-8x22B-4bit
This model was converted to MLX format from v2ray/Mixtral-8x22B-v0.1 using mlx-lm version 0.4.0.
Model added by Prince Canuma.
Refer to the original model card for more details on the model.
pip install mlx-lm
from mlx_lm import load, generate
model, tokenizer = load("mlx-community/mixtral-8x22b-4bit")
response = generate(model, tokenizer, prompt="hello", verbose=True)
Quantized