license: apache-2.0 | |
tags: | |
- mlx | |
# nishide-dev/RakutenAI-7B-chat-mlx-2bit | |
This model was converted to MLX format from [`Rakuten/RakutenAI-7B-chat`]() using mlx-lm version **0.7.0**. | |
Refer to the [original model card](https://huggingface.co/Rakuten/RakutenAI-7B-chat) for more details on the model. | |
## Use with mlx | |
```bash | |
pip install mlx-lm | |
``` | |
```python | |
from mlx_lm import load, generate | |
model, tokenizer = load("nishide-dev/RakutenAI-7B-chat-mlx-2bit") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |