28 lines
674 B
Markdown
28 lines
674 B
Markdown
|
|
---
|
||
|
|
license: other
|
||
|
|
library_name: transformers
|
||
|
|
tags:
|
||
|
|
- mlx
|
||
|
|
datasets:
|
||
|
|
- ise-uiuc/Magicoder-OSS-Instruct-75K
|
||
|
|
- ise-uiuc/Magicoder-Evol-Instruct-110K
|
||
|
|
license_name: deepseek
|
||
|
|
pipeline_tag: text-generation
|
||
|
|
---
|
||
|
|
|
||
|
|
# mlx-community/Magicoder-S-DS-6.7B-MLX
|
||
|
|
This model was converted to MLX format from [`ise-uiuc/Magicoder-S-DS-6.7B`]().
|
||
|
|
Refer to the [original model card](https://huggingface.co/ise-uiuc/Magicoder-S-DS-6.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/Magicoder-S-DS-6.7B-MLX")
|
||
|
|
response = generate(model, tokenizer, prompt="hello", verbose=True)
|
||
|
|
```
|