language: | |
- en | |
- fr | |
- de | |
- es | |
- it | |
- pt | |
- zh | |
- ja | |
- ru | |
- ko | |
license: other | |
license_name: mrl | |
license_link: https://mistral.ai/licenses/MRL-0.1.md | |
tags: | |
- mlx | |
extra_gated_description: If you want to learn more about how we process your personal | |
data, please read our <a href="https://mistral.ai/terms/">Privacy Policy</a>. | |
# mlx-community/Mistral-Small-Instruct-2409-bf16 | |
The Model [mlx-community/Mistral-Small-Instruct-2409-bf16](https://huggingface.co/mlx-community/Mistral-Small-Instruct-2409-bf16) was converted to MLX format from [mistralai/Mistral-Small-Instruct-2409](https://huggingface.co/mistralai/Mistral-Small-Instruct-2409) using mlx-lm version **0.18.1**. | |
## Use with mlx | |
```bash | |
pip install mlx-lm | |
``` | |
```python | |
from mlx_lm import load, generate | |
model, tokenizer = load("mlx-community/Mistral-Small-Instruct-2409-bf16") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |