transformers mistral text-generation mlx license:apache-2.0 autotrain_compatible endpoints_compatible text-generation-inference region:us
---
license: apache-2.0
library_name: transformers
tags:
- mlx
---

# mlx-community/WestLake-7B-v2-laser-truthy-dpo-4bit-mlx
This model was converted to MLX format from [`macadeliccc/WestLake-7B-v2-laser-truthy-dpo`]().
Refer to the [original model card](https://huggingface.co/macadeliccc/WestLake-7B-v2-laser-truthy-dpo) 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/WestLake-7B-v2-laser-truthy-dpo-4bit-mlx")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```
