language: | |
- en | |
- es | |
- it | |
- de | |
- fr | |
license: apache-2.0 | |
tags: | |
- mlx | |
# mlx-community/Mixtral-8x22B-Instruct-v0.1-4bit | |
The Model [mlx-community/Mixtral-8x22B-Instruct-v0.1-4bit](https://huggingface.co/mlx-community/Mixtral-8x22B-Instruct-v0.1-4bit) was converted to MLX format from [mistralai/Mixtral-8x22B-Instruct-v0.1](https://huggingface.co/mistralai/Mixtral-8x22B-Instruct-v0.1) using mlx-lm version **0.14.0**. | |
## Use with mlx | |
```bash | |
pip install mlx-lm | |
``` | |
```python | |
from mlx_lm import load, generate | |
model, tokenizer = load("mlx-community/Mixtral-8x22B-Instruct-v0.1-4bit") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |