初始化项目,由ModelHub XC社区提供模型

Model: davideuler/Magicoder-S-DS-6.7B-MLX
Source: Original Platform
This commit is contained in:
ModelHub XC
2026-05-02 20:16:58 +08:00
commit 3cd658815f
17 changed files with 64915 additions and 0 deletions

51
README.md Normal file
View File

@@ -0,0 +1,51 @@
---
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)
```