language: | |
- en | |
license: apache-2.0 | |
tags: | |
- mlx | |
# mlx-community/mistral-7b-dpo-v5-4bit-mlx | |
This model was converted to MLX format from [`mncai/mistral-7b-dpo-v5`](). | |
Refer to the [original model card](https://huggingface.co/mncai/mistral-7b-dpo-v5) for more details on the model. | |
## Use with mlx | |
```bash | |
pip install mlx-lm | |
``` | |
```python | |
from mlx_lm import load, generate | |
model, tokenizer = load("mlx-community/mistral-7b-dpo-v5-4bit-mlx") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |