license: other | |
tags: | |
- mlx | |
pipeline_tag: text-generation | |
# mlx-community/internlm2_5-7b-chat-8bit | |
The Model [mlx-community/internlm2_5-7b-chat-8bit](https://huggingface.co/mlx-community/internlm2_5-7b-chat-8bit) was converted to MLX format from [internlm/internlm2_5-7b-chat](https://huggingface.co/internlm/internlm2_5-7b-chat) using mlx-lm version **0.16.0**. | |
## Use with mlx | |
```bash | |
pip install mlx-lm | |
``` | |
```python | |
from mlx_lm import load, generate | |
model, tokenizer = load("mlx-community/internlm2_5-7b-chat-8bit") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |