Update README.md
Browse files
README.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
| 1 |
---
|
| 2 |
license: other
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
license_name: deepseek
|
| 4 |
-
|
| 5 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
license: other
|
| 3 |
+
library_name: transformers
|
| 4 |
+
tags:
|
| 5 |
+
- mlx
|
| 6 |
+
datasets:
|
| 7 |
+
- ise-uiuc/Magicoder-OSS-Instruct-75K
|
| 8 |
+
- ise-uiuc/Magicoder-Evol-Instruct-110K
|
| 9 |
license_name: deepseek
|
| 10 |
+
pipeline_tag: text-generation
|
| 11 |
---
|
| 12 |
+
|
| 13 |
+
# mlx-community/Magicoder-S-DS-6.7B-MLX
|
| 14 |
+
This model was converted to MLX format from [`ise-uiuc/Magicoder-S-DS-6.7B`]().
|
| 15 |
+
Refer to the [original model card](https://huggingface.co/ise-uiuc/Magicoder-S-DS-6.7B) for more details on the model.
|
| 16 |
+
## Use with mlx
|
| 17 |
+
|
| 18 |
+
```bash
|
| 19 |
+
pip install mlx-lm
|
| 20 |
+
```
|
| 21 |
+
|
| 22 |
+
```python
|
| 23 |
+
from mlx_lm import load, generate
|
| 24 |
+
|
| 25 |
+
model, tokenizer = load("mlx-community/Magicoder-S-DS-6.7B-MLX")
|
| 26 |
+
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
| 27 |
+
```
|