AstraliteHeart
commited on
Commit
•
6058cdd
1
Parent(s):
7fcd017
Update README.md
Browse files
README.md
CHANGED
@@ -11,55 +11,27 @@ thumbnail: "https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/449d42a8-2
|
|
11 |
|
12 |
# pony-soup-v2
|
13 |
|
14 |
-
**WIP**
|
15 |
-
**DRAFT**
|
16 |
-
|
17 |
pony-diffusion is a latent text-to-image diffusion model that has been conditioned on high-quality pony, furry and other non photorealistic SFW and NSFW images through fine-tuning.
|
18 |
|
19 |
**WARNING:** This model is capable of producing NSFW content so it's recommended to use 'safe' tag in prompt in combination with negative prompt for image features you may want to suppress (i.e. nudity).
|
20 |
|
21 |
-
**Despite its name, this model is capable of producing wide range of furry and cartoon images as side effect of improving data diversity (with exception of anime stlyes, for which Waifu Diffusion is much stronger choice).**
|
22 |
-
|
23 |
-
Special thanks to [Waifu-Diffusion](https://huggingface.co/hakurei/waifu-diffusion) for providing finetuning expertise and advising through the process, without their help this project would not exist.
|
24 |
-
|
25 |
-
[![Open In Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1mSharzQFPD4mIUxNwBG7LCLAzGUS8Bmy?usp=sharing)
|
26 |
-
|
27 |
**Please join PurpleSmartAI Discord to use this model with our free SD bot and get early access to pony-diffusion-v4.**
|
28 |
|
29 |
[![Join Discord Server to try next generation models](https://discordapp.com/api/guilds/670866322619498507/widget.png?style=banner2)](https://discord.gg/pYsdjMfu3q)
|
30 |
|
31 |
-
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/
|
32 |
-
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/
|
33 |
-
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/
|
34 |
-
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/
|
35 |
-
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/
|
36 |
-
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/f70fde75-f7ba-4c78-8229-3e39314aaf43/public width=25% height=25%>
|
37 |
-
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/422c26b6-38fa-4e0b-9c33-cffe4dc6f879/public width=25% height=25%>
|
38 |
|
39 |
-
You can see more samples at [PurpleSmartAI](https://purplesmart.ai/collection/top?nsfw=0&page=1&gen_type=txt2img&model=
|
40 |
|
41 |
[PyTorch Model(Use this with Automatic1111 or other SD UIs)](https://mega.nz/file/VXl2FaxJ#LWl_lnwHZE8DiIZF8D1CvkguR400BVU6ET6WXWtPgFk)
|
42 |
|
43 |
## Model Description
|
44 |
|
45 |
-
|
46 |
-
|
47 |
-
This particular checkpoint has been fine-tuned with a learning rate of 5.0e-6 for 20 epochs on approximately 1.7M pony, furry and other cartoon text-image pairs (using metadata from derpibooru, e621 and danbooru).
|
48 |
-
|
49 |
-
## Improvements over previous models
|
50 |
-
|
51 |
-
### Better disentanglement of tag based prompts
|
52 |
-
Aka ["using Hidden States of CLIP’s Penultimate Layer"](https://blog.novelai.net/novelai-improvements-on-stable-diffusion-e10d38db82ac#:~:text=Using%20Hidden%20States%20of%20CLIP%E2%80%99s%20Penultimate%20Layer), a technique adopted by SD2 which should lead to generally higher quality and more tag driven outputs.
|
53 |
-
In our experiments using penultimate CLIP was not always the best choice so trying both CLIP skip of 1 and 2 is recommended.
|
54 |
-
|
55 |
-
### Better support for non square images and increase of default resolution to 768px
|
56 |
-
This should allow you to generate full body image with resolution 512x768px without triggering "double head" glitches.
|
57 |
-
|
58 |
-
### Removed SFM/3D bias
|
59 |
-
V2 model demostrated bias toward 3d/sfw visual styles so special care has been applied to restrict exposure to 3d/sfm images during training.
|
60 |
-
|
61 |
-
### Improver data diversity
|
62 |
-
We ran multiple experiments finetuning models on 300k pony only and 600k pony only datasets, the resulting models demostrated worse quality for pony specific data. We concluded that despite more complicated prompting (and lack of pony bias by default), inclusion of large amount of non pony specific highly ranked non photorealistic images generally has strong positive efect.
|
63 |
|
64 |
## License
|
65 |
|
@@ -81,7 +53,7 @@ This model can be used for entertainment purposes and as a generative art assist
|
|
81 |
import torch
|
82 |
from torch import autocast
|
83 |
from diffusers import StableDiffusionPipeline, DDIMScheduler
|
84 |
-
model_id = "AstraliteHeart/pony-
|
85 |
device = "cuda"
|
86 |
pipe = StableDiffusionPipeline.from_pretrained(
|
87 |
model_id,
|
@@ -107,6 +79,4 @@ image.save("cute_poner.png")
|
|
107 |
|
108 |
This project would not have been possible without the incredible work by the [CompVis Researchers](https://ommer-lab.com/).
|
109 |
|
110 |
-
- [Waifu-Diffusion for helping with finetuning and providing starting checkpoint](https://huggingface.co/hakurei/waifu-diffusion)
|
111 |
-
|
112 |
In order to reach us, you can join our [Discord server](https://discord.gg/WG78ZbSB).
|
|
|
11 |
|
12 |
# pony-soup-v2
|
13 |
|
|
|
|
|
|
|
14 |
pony-diffusion is a latent text-to-image diffusion model that has been conditioned on high-quality pony, furry and other non photorealistic SFW and NSFW images through fine-tuning.
|
15 |
|
16 |
**WARNING:** This model is capable of producing NSFW content so it's recommended to use 'safe' tag in prompt in combination with negative prompt for image features you may want to suppress (i.e. nudity).
|
17 |
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
**Please join PurpleSmartAI Discord to use this model with our free SD bot and get early access to pony-diffusion-v4.**
|
19 |
|
20 |
[![Join Discord Server to try next generation models](https://discordapp.com/api/guilds/670866322619498507/widget.png?style=banner2)](https://discord.gg/pYsdjMfu3q)
|
21 |
|
22 |
+
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/dbfcba5d-ffc3-4eab-a1fd-b19d0570be12/public width=25% height=25%>
|
23 |
+
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/4bd1a8de-8980-4f71-94c4-4cd13c89d99f/public width=25% height=25%>
|
24 |
+
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/c855e3c3-93c5-4209-89ac-6e00a7e523b6/public width=25% height=25%>
|
25 |
+
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/f3a600e9-5d14-4989-adfe-f4c75f2f7c2d/public width=25% height=25%>
|
26 |
+
<img src=https://imagedelivery.net/_wFNZAzgWNWPmneM1cyjcw/artifact/56edb0db-c4b8-44eb-aa4f-59299e29121f/public width=25% height=25%>
|
|
|
|
|
27 |
|
28 |
+
You can see more samples at [PurpleSmartAI](https://purplesmart.ai/collection/top?nsfw=0&page=1&gen_type=txt2img&model=7&order=created_desc)
|
29 |
|
30 |
[PyTorch Model(Use this with Automatic1111 or other SD UIs)](https://mega.nz/file/VXl2FaxJ#LWl_lnwHZE8DiIZF8D1CvkguR400BVU6ET6WXWtPgFk)
|
31 |
|
32 |
## Model Description
|
33 |
|
34 |
+
TBD
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
## License
|
37 |
|
|
|
53 |
import torch
|
54 |
from torch import autocast
|
55 |
from diffusers import StableDiffusionPipeline, DDIMScheduler
|
56 |
+
model_id = "AstraliteHeart/pony-soup-v2"
|
57 |
device = "cuda"
|
58 |
pipe = StableDiffusionPipeline.from_pretrained(
|
59 |
model_id,
|
|
|
79 |
|
80 |
This project would not have been possible without the incredible work by the [CompVis Researchers](https://ommer-lab.com/).
|
81 |
|
|
|
|
|
82 |
In order to reach us, you can join our [Discord server](https://discord.gg/WG78ZbSB).
|