Upload folder using huggingface_hub
Browse files- .gitattributes +3 -0
- 20.safetensors +3 -0
- README.md +70 -0
- _cover_images_/20241223133259_5.png +0 -0
- _cover_images_/20241223155404_10.png +3 -0
- _cover_images_/20241223181514_15.png +3 -0
- _cover_images_/20241223203628_20.png +3 -0
- configuration.json +6 -0
.gitattributes
CHANGED
|
@@ -33,3 +33,6 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
*.zip filter=lfs diff=lfs merge=lfs -text
|
| 34 |
*.zst filter=lfs diff=lfs merge=lfs -text
|
| 35 |
*tfevents* filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
_cover_images_/20241223155404_10.png filter=lfs diff=lfs merge=lfs -text
|
| 37 |
+
_cover_images_/20241223181514_15.png filter=lfs diff=lfs merge=lfs -text
|
| 38 |
+
_cover_images_/20241223203628_20.png filter=lfs diff=lfs merge=lfs -text
|
20.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:797c4d49d719183703fbf2b288e495bfc5940e565d76800ee959ca0eb19e786e
|
| 3 |
+
size 153233976
|
README.md
ADDED
|
@@ -0,0 +1,70 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
base_model: iSolver/TraditionalChinesePainting
|
| 3 |
+
cover_images:
|
| 4 |
+
- _cover_images_/20241223203628_20.png
|
| 5 |
+
- _cover_images_/20241223181514_15.png
|
| 6 |
+
- _cover_images_/20241223155404_10.png
|
| 7 |
+
- _cover_images_/20241223133259_5.png
|
| 8 |
+
frameworks:
|
| 9 |
+
- Pytorch
|
| 10 |
+
license: apache-2.0
|
| 11 |
+
tags:
|
| 12 |
+
- LoRA
|
| 13 |
+
- text-to-image
|
| 14 |
+
tasks:
|
| 15 |
+
- text-to-image-synthesis
|
| 16 |
+
trigger_words:
|
| 17 |
+
- "ChinesePainting"
|
| 18 |
+
vision_foundation: FLUX_1
|
| 19 |
+
|
| 20 |
+
#model-type:
|
| 21 |
+
##如 gpt、phi、llama、chatglm、baichuan 等
|
| 22 |
+
#- gpt
|
| 23 |
+
|
| 24 |
+
#domain:
|
| 25 |
+
##如 nlp、cv、audio、multi-modal
|
| 26 |
+
#- nlp
|
| 27 |
+
|
| 28 |
+
#language:
|
| 29 |
+
##语言代码列表 https://help.aliyun.com/document_detail/215387.html?spm=a2c4g.11186623.0.0.9f8d7467kni6Aa
|
| 30 |
+
#- cn
|
| 31 |
+
|
| 32 |
+
#metrics:
|
| 33 |
+
##如 CIDEr、Blue、ROUGE 等
|
| 34 |
+
#- CIDEr
|
| 35 |
+
|
| 36 |
+
#tags:
|
| 37 |
+
##各种自定义,包括 pretrained、fine-tuned、instruction-tuned、RL-tuned 等训练方法和其他
|
| 38 |
+
#- pretrained
|
| 39 |
+
|
| 40 |
+
#tools:
|
| 41 |
+
##如 vllm、fastchat、llamacpp、AdaSeq 等
|
| 42 |
+
#- vllm
|
| 43 |
+
---
|
| 44 |
+
|
| 45 |
+
# 一键生图最佳实践
|
| 46 |
+
提示词描述并优化后,增加以下触发词可达到较好效果
|
| 47 |
+
```text
|
| 48 |
+
ChinesePainting,traditional chinese painting,traditional chinese ink painting, plain white background, bold brushstrokes, white background
|
| 49 |
+
```
|
| 50 |
+
|
| 51 |
+
您可以通过如下git clone命令,或者ModelScope SDK来下载模型
|
| 52 |
+
# SDK下载
|
| 53 |
+
|
| 54 |
+
```bash
|
| 55 |
+
## 安装ModelScope
|
| 56 |
+
pip install modelscope
|
| 57 |
+
```
|
| 58 |
+
|
| 59 |
+
```python
|
| 60 |
+
# SDK模型下载
|
| 61 |
+
from modelscope import snapshot_download
|
| 62 |
+
model_dir = snapshot_download('iSolver/TraditionalChinesePainting')
|
| 63 |
+
```
|
| 64 |
+
|
| 65 |
+
# Git下载
|
| 66 |
+
```
|
| 67 |
+
#Git模型下载
|
| 68 |
+
git clone https://www.modelscope.cn/iSolver/TraditionalChinesePainting.git
|
| 69 |
+
```
|
| 70 |
+
|
_cover_images_/20241223133259_5.png
ADDED
|
_cover_images_/20241223155404_10.png
ADDED
|
Git LFS Details
|
_cover_images_/20241223181514_15.png
ADDED
|
Git LFS Details
|
_cover_images_/20241223203628_20.png
ADDED
|
Git LFS Details
|
configuration.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"aigc_model": true,
|
| 3 |
+
"model_file_location": "20.safetensors",
|
| 4 |
+
"framework": "Pytorch",
|
| 5 |
+
"task": "other"
|
| 6 |
+
}
|