初始化项目,由ModelHub XC社区提供模型
Model: mlx-community/Magicoder-S-DS-6.7B-MLX Source: Original Platform
This commit is contained in:
27
README.md
Normal file
27
README.md
Normal file
@@ -0,0 +1,27 @@
|
||||
---
|
||||
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)
|
||||
```
|
||||
Reference in New Issue
Block a user