Upload folder using ModelScope SDK

This commit is contained in:
Cherrytest
2025-08-09 18:06:02 +00:00
parent 9f6c3f72a8
commit b56e3a9bdc
3 changed files with 15 additions and 44 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1a063dc2a4f2b1ce3fb141768e258ec52b28817aafbaaa246f815d5b55326844
size 135

View File

@ -1,47 +1,14 @@
--- ---
license: Apache License 2.0 license: apache-2.0
language:
#model-type: - en
##如 gpt、phi、llama、chatglm、baichuan 等 - zh
#- gpt base_model:
- Qwen/Qwen-Image
#domain: pipeline_tag: text-to-image
##如 nlp、cv、audio、multi-modal tags:
#- nlp - Qwen-Image;
- distillation;
#language:
##语言代码列表 https://help.aliyun.com/document_detail/215387.html?spm=a2c4g.11186623.0.0.9f8d7467kni6Aa
#- cn
#metrics:
##如 CIDEr、Blue、ROUGE 等
#- CIDEr
#tags:
##各种自定义,包括 pretrained、fine-tuned、instruction-tuned、RL-tuned 等训练方法和其他
#- pretrained
#tools:
##如 vllm、fastchat、llamacpp、AdaSeq 等
#- vllm
--- ---
### 当前模型的贡献者未提供更加详细的模型介绍。模型文件和权重,可浏览“模型文件”页面获取。
#### 您可以通过如下git clone命令或者ModelScope SDK来下载模型
SDK下载 Please refer to [Qwen-Image-Lightning github](https://github.com/ModelTC/Qwen-Image-Lightning/) to learn how to use the models.
```bash
#安装ModelScope
pip install modelscope
```
```python
#SDK模型下载
from modelscope import snapshot_download
model_dir = snapshot_download('lightx2v/Qwen-Image-Lightning')
```
Git下载
```
#Git模型下载
git clone https://www.modelscope.cn/lightx2v/Qwen-Image-Lightning.git
```
<p style="color: lightgrey;">如果您是本模型的贡献者,我们邀请您根据<a href="https://modelscope.cn/docs/ModelScope%E6%A8%A1%E5%9E%8B%E6%8E%A5%E5%85%A5%E6%B5%81%E7%A8%8B%E6%A6%82%E8%A7%88" style="color: lightgrey; text-decoration: underline;">模型贡献文档</a>,及时完善模型卡片内容。</p>

1
configuration.json Normal file
View File

@ -0,0 +1 @@
{"framework": "pytorch", "task": "text-to-image", "allow_remote": true}