Update README.md
Browse files
README.md
CHANGED
@@ -4,13 +4,18 @@ tags:
|
|
4 |
- mlx
|
5 |
---
|
6 |
|
7 |
-
# mistral-ft-optimized-1227-4bit-mlx
|
8 |
This model was converted to MLX format from [`OpenPipe/mistral-ft-optimized-1227`]().
|
9 |
Refer to the [original model card](https://huggingface.co/OpenPipe/mistral-ft-optimized-1227) for more details on the model.
|
10 |
## Use with mlx
|
|
|
11 |
```bash
|
12 |
-
pip install mlx
|
13 |
-
|
14 |
-
|
15 |
-
python
|
|
|
|
|
|
|
|
|
16 |
```
|
|
|
4 |
- mlx
|
5 |
---
|
6 |
|
7 |
+
# mlx-community/mistral-ft-optimized-1227-4bit-mlx
|
8 |
This model was converted to MLX format from [`OpenPipe/mistral-ft-optimized-1227`]().
|
9 |
Refer to the [original model card](https://huggingface.co/OpenPipe/mistral-ft-optimized-1227) for more details on the model.
|
10 |
## Use with mlx
|
11 |
+
|
12 |
```bash
|
13 |
+
pip install mlx-lm
|
14 |
+
```
|
15 |
+
|
16 |
+
```python
|
17 |
+
from mlx_lm import load, generate
|
18 |
+
|
19 |
+
model, tokenizer = load("mlx-community/mistral-ft-optimized-1227-4bit-mlx")
|
20 |
+
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
21 |
```
|