svjack commited on
Commit
53fa531
1 Parent(s): 6bfcd55

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +51 -1
README.md CHANGED
@@ -1,3 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ```python
2
  from transformers import T5Tokenizer, MT5ForConditionalGeneration
3
  model = "svjack/prompt-extend-chinese"
@@ -12,4 +48,18 @@ decoded
12
  '''
13
  的肖像,由,和,制作,在艺术站上趋势
14
  '''
15
- ```
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ language: zh
3
+ license: other
4
+ tags:
5
+ - MT5
6
+ - mt5
7
+ - text-to-text
8
+ - zh
9
+ - Chinese
10
+ inference: false
11
+ extra_gated_prompt: |-
12
+ The License specifies:
13
+
14
+ 1. You can't use the model to deliberately produce nor share illegal or harmful outputs or content
15
+ 2. rinna Co., Ltd. claims no rights on the outputs you generate, you are free to use them and are accountable for their use which must not go against the provisions set in the license
16
+
17
+ By clicking on "Access repository" below, you accept that your *contact information* (email address and username) can be shared with the model authors as well.
18
+
19
+ extra_gated_fields:
20
+ I have read the License and agree with its terms: checkbox
21
+ ---
22
+
23
+
24
+ # Chinese Stable Diffusion Prompt Extend Model Card
25
+
26
+ <!--
27
+ ![rinna](https://github.com/rinnakk/japanese-clip/blob/master/data/rinna.png?raw=true)
28
+ -->
29
+
30
+ svjack/prompt-extend-chinese is a Chinese-specific latent text-to-text generator generating style cues given a short Chinese prompt input. This generator may make the Stable Diffusion model perform well with the help of some meaningful style cues.<br/>
31
+
32
+
33
+ The above idea is sourced from a project named [prompt-extend](https://github.com/daspartho/prompt-extend), it extending stable diffusion English prompts with suitable style cues using text generation.
34
+ And people can try it on [HuggingFace Space](https://huggingface.co/spaces/daspartho/prompt-extend).
35
+
36
+
37
  ```python
38
  from transformers import T5Tokenizer, MT5ForConditionalGeneration
39
  model = "svjack/prompt-extend-chinese"
 
48
  '''
49
  的肖像,由,和,制作,在艺术站上趋势
50
  '''
51
+ ```
52
+
53
+ With the help of this generator, people can give some enhance to the stable diffusion model. Take [svjack/Stable-Diffusion-FineTuned-zh-v1](https://huggingface.co/svjack/Stable-Diffusion-FineTuned-zh-v1) for example. below image is the enhanced version of above.
54
+
55
+ 第一次世界大战
56
+ ![第一次世界大战](https://github.com/svjack/Stable-Diffusion-Chinese-Extend/blob/main/imgs/war_v1.jpg?raw=true)
57
+ 第一次世界大战,在艺术站的潮流,8,高度详细,高质量,高分辨率,获
58
+ ![第一次世界大战,在艺术站的潮流,8,高度详细,高质量,高分辨率,获](https://github.com/svjack/Stable-Diffusion-Chinese-Extend/blob/main/imgs/war_style_v1.jpg?raw=true)
59
+
60
+ And below example is pivotal.
61
+
62
+ 护国公克伦威尔
63
+ ![护国公克伦威尔](https://github.com/svjack/Stable-Diffusion-Chinese-Extend/blob/main/Protector_Cromwell.png?raw=true)
64
+ 护国公克伦威尔,的肖像,由,和,制作,在艺术站上趋势
65
+ ![护国公克伦威尔,的肖像,由,和,制作,在艺术站上趋势](https://github.com/svjack/Stable-Diffusion-Chinese-Extend/blob/main/Protector_Cromwell_style.png?raw=true)