svjack / prompt-extend-chinese

huggingface.co
Total runs: 13
24-hour runs: 0
7-day runs: -1
30-day runs: 1
Model's Last Updated: November 08 2022
text-generation

Introduction of prompt-extend-chinese

Model Details of prompt-extend-chinese

Chinese Stable Diffusion Prompt Extend Model Card

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.

The above idea is sourced from a project named prompt-extend , it extending stable diffusion English prompts with suitable style cues using text generation. And people can try it on HuggingFace Space .

from transformers import T5Tokenizer, MT5ForConditionalGeneration
model = "svjack/prompt-extend-chinese"
device = "cpu"
tokenizer = T5Tokenizer.from_pretrained(model)
model = MT5ForConditionalGeneration.from_pretrained(model).to(device).eval()
prompt = "护国公克伦威尔"
encode = tokenizer(prompt, return_tensors='pt').to(device)
answer = model.generate(encode.input_ids)[0]
decoded = tokenizer.decode(answer, skip_special_tokens=True)
decoded
'''
的肖像,由,和,制作,在艺术站上趋势
'''

With the help of this generator, people can give some enhance to the stable diffusion model. Take svjack/Stable-Diffusion-FineTuned-zh-v1 for example. below image is the enhanced version of above.

第一次世界大战 第一次世界大战 第一次世界大战,在艺术站的潮流,8,高度详细,高质量,高分辨率,获 第一次世界大战,在艺术站的潮流,8,高度详细,高质量,高分辨率,获

And below example is pivotal.

护国公克伦威尔 护国公克伦威尔 护国公克伦威尔,的肖像,由,和,制作,在艺术站上趋势 护国公克伦威尔,的肖像,由,和,制作,在艺术站上趋势

Runs of svjack prompt-extend-chinese on huggingface.co

13
Total runs
0
24-hour runs
1
3-day runs
-1
7-day runs
1
30-day runs

More Information About prompt-extend-chinese huggingface.co Model

More prompt-extend-chinese license Visit here:

https://choosealicense.com/licenses/other

prompt-extend-chinese huggingface.co

prompt-extend-chinese huggingface.co is an AI model on huggingface.co that provides prompt-extend-chinese's model effect (), which can be used instantly with this svjack prompt-extend-chinese model. huggingface.co supports a free trial of the prompt-extend-chinese model, and also provides paid use of the prompt-extend-chinese. Support call prompt-extend-chinese model through api, including Node.js, Python, http.

prompt-extend-chinese huggingface.co Url

https://huggingface.co/svjack/prompt-extend-chinese

svjack prompt-extend-chinese online free

prompt-extend-chinese huggingface.co is an online trial and call api platform, which integrates prompt-extend-chinese's modeling effects, including api services, and provides a free online trial of prompt-extend-chinese, you can try prompt-extend-chinese online for free by clicking the link below.

svjack prompt-extend-chinese online free url in huggingface.co:

https://huggingface.co/svjack/prompt-extend-chinese

prompt-extend-chinese install

prompt-extend-chinese is an open source model from GitHub that offers a free installation service, and any user can find prompt-extend-chinese on GitHub to install. At the same time, huggingface.co provides the effect of prompt-extend-chinese install, users can directly use prompt-extend-chinese installed effect in huggingface.co for debugging and trial. It also supports api for free installation.

prompt-extend-chinese install url in huggingface.co:

https://huggingface.co/svjack/prompt-extend-chinese

Url of prompt-extend-chinese

prompt-extend-chinese huggingface.co Url

Provider of prompt-extend-chinese huggingface.co

svjack
ORGANIZATIONS

Other API from svjack

huggingface.co

Total runs: 19
Run Growth: 9
Growth Rate: 47.37%
Updated:February 20 2023
huggingface.co

Total runs: 14
Run Growth: -4
Growth Rate: -26.67%
Updated:February 23 2024
huggingface.co

Total runs: 2
Run Growth: 0
Growth Rate: 0.00%
Updated:March 05 2024