28 lines
620 B
Markdown
28 lines
620 B
Markdown
|
|
---
|
||
|
|
license: apache-2.0
|
||
|
|
library_name: transformers
|
||
|
|
tags:
|
||
|
|
- openchat
|
||
|
|
- mistral
|
||
|
|
- C-RLFT
|
||
|
|
- mlx
|
||
|
|
base_model: mistralai/Mistral-7B-v0.1
|
||
|
|
pipeline_tag: text-generation
|
||
|
|
---
|
||
|
|
|
||
|
|
# mlx-community/openchat-3.5-0106
|
||
|
|
This model was converted to MLX format from [`openchat/openchat-3.5-0106`]().
|
||
|
|
Refer to the [original model card](https://huggingface.co/openchat/openchat-3.5-0106) 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/openchat-3.5-0106")
|
||
|
|
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
||
|
|
```
|