language: | |
- en | |
license: apache-2.0 | |
tags: | |
- mistral | |
- instruct | |
- finetune | |
- chatml | |
- gpt4 | |
- synthetic data | |
- distillation | |
- mlx | |
base_model: mistralai/Mistral-7B-v0.1 | |
model-index: | |
- name: OpenHermes-2-Mistral-7B | |
results: [] | |
# mlx-community/OpenHermes-2.5-Mistral-7B-4bit-mlx | |
This model was converted to MLX format from [`teknium/OpenHermes-2.5-Mistral-7B`](). | |
Refer to the [original model card](https://huggingface.co/teknium/OpenHermes-2.5-Mistral-7B) 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/OpenHermes-2.5-Mistral-7B-4bit-mlx") | |
response = generate(model, tokenizer, prompt="hello", verbose=True) | |
``` | |