Files
Magicoder-S-DS-6.7B-MLX/README.md
ModelHub XC 3cd658815f 初始化项目,由ModelHub XC社区提供模型
Model: davideuler/Magicoder-S-DS-6.7B-MLX
Source: Original Platform
2026-05-02 20:16:58 +08:00

52 lines
1.1 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
frameworks:
- 其他
license: Apache License 2.0
tasks:
- text-generation
---
###### 模型文件和权重,请浏览“模型文件”页面获取。
###### 您可以通过如下git clone命令或者ModelScope SDK来下载模型。
###### Clone with HTTP
```
git clone https://www.modelscope.cn/davideuler/Magicoder-S-DS-6.7B-MLX.git
```
=======
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
```
Run the demo
```
python run.py
```
Run gradio demo
```
pip install gradio
python server.py
```
```python
from mlx_lm import load, generate
model, tokenizer = load("./")
response = generate(model, tokenizer, prompt="hello", verbose=True)
```