Instructions to use hakurei/waifu-diffusion with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Diffusers
How to use hakurei/waifu-diffusion with Diffusers:
pip install -U diffusers transformers accelerate
import torch from diffusers import DiffusionPipeline # switch to "mps" for apple devices pipe = DiffusionPipeline.from_pretrained("hakurei/waifu-diffusion", dtype=torch.bfloat16, device_map="cuda") prompt = "Astronaut in a jungle, cold color palette, muted colors, detailed, 8k" image = pipe(prompt).images[0] - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- Draw Things
- DiffusionBee
Update README
Browse files
README.md
CHANGED
|
@@ -13,14 +13,13 @@ inference: false
|
|
| 13 |
|
| 14 |
waifu-diffusion is a latent text-to-image diffusion model that has been conditioned on high-quality anime images through fine-tuning.
|
| 15 |
|
| 16 |
-
<img src=https://cdn.discordapp.com/attachments/
|
| 17 |
-
<sub>Prompt: touhou 1girl komeiji_koishi portrait</sub>
|
| 18 |
|
| 19 |
## Model Description
|
| 20 |
|
| 21 |
The model originally used for fine-tuning is [Stable Diffusion V1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4), which is a latent image diffusion model trained on [LAION2B-en](https://huggingface.co/datasets/laion/laion2B-en).
|
| 22 |
|
| 23 |
-
The current model has been fine-tuned with a learning rate of 5.0e-
|
| 24 |
|
| 25 |
## Training Data & Annotative Prompting
|
| 26 |
|
|
|
|
| 13 |
|
| 14 |
waifu-diffusion is a latent text-to-image diffusion model that has been conditioned on high-quality anime images through fine-tuning.
|
| 15 |
|
| 16 |
+
<img src=https://cdn.discordapp.com/attachments/930499731451428926/1017258164439220254/unknown.png width=20% height=20%>
|
|
|
|
| 17 |
|
| 18 |
## Model Description
|
| 19 |
|
| 20 |
The model originally used for fine-tuning is [Stable Diffusion V1-4](https://huggingface.co/CompVis/stable-diffusion-v1-4), which is a latent image diffusion model trained on [LAION2B-en](https://huggingface.co/datasets/laion/laion2B-en).
|
| 21 |
|
| 22 |
+
The current model has been fine-tuned with a learning rate of 5.0e-6 for 4 epochs on 56k Danbooru text-image pairs which all have an aesthetic rating greater than `6.0`.
|
| 23 |
|
| 24 |
## Training Data & Annotative Prompting
|
| 25 |
|