Sentinel7 commited on
Commit
d243614
·
verified ·
1 Parent(s): d49868e

Upload 1972981/3172362/README.md with huggingface_hub

Browse files
Files changed (1) hide show
  1. 1972981/3172362/README.md +245 -0
1972981/3172362/README.md ADDED
@@ -0,0 +1,245 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ license: other
3
+ tags:
4
+ - blowjob
5
+ - braless
6
+ - concept
7
+ - cowgirl
8
+ - cum
9
+ - dildo
10
+ - doggystyle
11
+ - missionary
12
+ - nudes
13
+ - penis
14
+ - porn
15
+ - prone
16
+ - selfies
17
+ - sex
18
+ - strapon
19
+ - vagina
20
+ ---
21
+
22
+ # Sex, Nudes, Other Fun Stuff (SNOFS) - Krea 2 v1.2 - 3172362
23
+
24
+ **Model Type**: LORA
25
+
26
+ **Base Model**: Krea 2
27
+
28
+ **Trigger Words**: None
29
+
30
+ **Tags**: blowjob, braless, concept, cowgirl, cum, dildo, doggystyle, missionary, nudes, penis, porn, prone, selfies, sex, strapon, vagina
31
+
32
+ ## Gallery
33
+
34
+ <table>
35
+ <tr>
36
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/3f3f3fef-951e-42ea-8d07-da11543e8bf3/original=true/138180987.jpeg" width="200"></td>
37
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d81ba514-c916-4fd8-9e37-c86590c8394f/original=true/138180968.jpeg" width="200"></td>
38
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2e63291a-bf27-4f80-8233-4448d463e554/original=true/138180972.jpeg" width="200"></td>
39
+ </tr>
40
+ <tr>
41
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2ad8c754-cc43-4e95-a52c-ef28be42f684/original=true/138180984.jpeg" width="200"></td>
42
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2f75daff-64ae-4ba5-b2f1-fe0d3dbd0d19/original=true/138180970.jpeg" width="200"></td>
43
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/d475e9ff-3530-471e-9d7a-96bda7d7624d/original=true/138180971.jpeg" width="200"></td>
44
+ </tr>
45
+ <tr>
46
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/2a358958-4440-4017-b922-d0dd11a00866/original=true/138180973.jpeg" width="200"></td>
47
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/1ad36d95-7302-4a5b-bd5b-8796a63f250b/original=true/138180985.jpeg" width="200"></td>
48
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/fc269c6f-cc2b-4cd7-acd4-d43f8cb00e07/original=true/138180967.jpeg" width="200"></td>
49
+ </tr>
50
+ <tr>
51
+ <td><img src="https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/8d9643ae-e639-4926-a6f0-f16128488232/original=true/138180986.jpeg" width="200"></td>
52
+ </tr>
53
+ </table>
54
+
55
+ ## Description
56
+
57
+ **Want to support my work or help fund the training of this dataset on other models? Join the Patreon in my profile, and if you do - thank you!**
58
+
59
+ ### Krea 2 V1.2:
60
+
61
+ Further training. For those struggling with the images sometimes wanting to come out as digital art/too smooth, I have several solutions:
62
+ Part of the problem is probably the further I train this very large lokr, it's moving further away from what the turbo model (and extracted turbo model) expect. For now, simply bumping up the number of steps helps greatly.
63
+
64
+ If that isn't enough, I updated my two-stage sampler node set with a three-stage sampler:
65
+ <https://github.com/Auryg/Krea-2-Two-Stage-Sampler>
66
+
67
+ The idea for the two-stage sampler that you can generate without the turbo lora for the first bit, which helps with variation, and then bump to a second stage with the turbo lora to keep things fast. For the three-stage variation, you can then bump back to doing it without the turbo lora for the last bit. This not only helps by itself, but you can also put something in the negative prompt like "illustration, smooth, render, anime" or whatever. You can also generate at a lower resolution to start and then bump it up.
68
+
69
+ If you look at my workflows attached to the posted images you'll see variations of things that I tried, including implementing a shift value for the first stage. ComfyUI uses a static shift value for Krea 2, which is what is supposed to be used for the Turbo variation. However, the non-turbo Krea 2 doesn't use a static shift value. Whether or not correctly setting that helps is still undecided on my end, but hey, you can try it.
70
+
71
+ ### Ideogram:
72
+
73
+ Ideogram model has been updated, and is available here: <https://civitai.red/models/2781404/sex-nudes-other-fun-stuff-ideogram-snofs>
74
+
75
+ General Information:
76
+ --------------------
77
+
78
+ *SNOFS was trained on natural language (or JSON, for Ideogram), not tags. It will work best if you use full sentences to describe what you want.*
79
+
80
+ Not using ComfyUI/your inference software doesn't support lokr? I've put up a merged version here. You can also use the merged base model to train off of: <https://civitai.red/models/2416142/snofs-sex-nudes-and-other-fun-stuff-flux-2-klein-9b-base-and-distilled?modelVersionId=2985440>
81
+
82
+ Here's a list of some of the terms that work well:
83
+
84
+ * anus
85
+ * blowjob
86
+ * boudoir
87
+ * condoms
88
+ * deepthroat
89
+ * braless
90
+ * cowgirl position
91
+ * cum
92
+ * cunnilingus (be specific and maybe put kissing in the negative prompt)
93
+ * deepthroat
94
+ * dildo
95
+ * doggystyle position
96
+ * fingering (anal and vaginal)
97
+ * hand in panties
98
+ * handjob
99
+ * hitachi magic wand
100
+ * implied blowjob
101
+ * ipcam / nightvision ipcam
102
+ * masturbating (might want to put penis in negative prompt, or specify what she's rubbing for women)
103
+ * massage
104
+ * missionary position
105
+ * naked, nude, etc.
106
+ * penis
107
+ * pregnant (and can specify trimester)
108
+ * prone position
109
+ * reverse cowgirl position
110
+ * sex
111
+ * sheer
112
+ * snapchat (and caption/text/etc)
113
+ * selfie (and mirror selfie)
114
+ * spooning position
115
+ * strap-on dildo
116
+ * tentacles
117
+ * licking testicles
118
+ * undressing
119
+ * vagina
120
+ * wet clothes
121
+
122
+ Depending on the version, the following might work:
123
+
124
+ * anal sex
125
+ * anilingus
126
+
127
+ But also keep in mind that it was trained on stuff like "her panties are pulled down to her thighs," not "panty pull."
128
+
129
+ These models are under the following license:
130
+
131
+ <https://huggingface.co/Ashen3/SNOFS>
132
+
133
+ ### Flux 2 Klein 9b V1.4:
134
+
135
+ Additional training. Some of the training was done using <https://github.com/BuffaloBuffaloBuffaloBuffalo/ai-toolkit-perceptual> , training against depth. Considering how much of SNOFS is two people intermingled with close skin colors, it seemed like a novel idea. It did seem to rapidly help with that sort of thing. On the downside, it seemed to create a bit of a texture issue on very close up images. I did some more training after to try to bring that back and was somewhat successful, but I think I'd need to increase the weight decay to really make that happen. Since everything else was in a good state I decided to release as-is. If you do have that texture issue, try adding "goosebumps" as a negative prompt.
136
+
137
+ ### Flux 2 Klein 9b V1.2:
138
+
139
+ More training - anal still doesn't work super reliably. Added images with terms like 'condom-wrapped penis,' 'boudoir' and 'anilingus' (again, doesn't work super great yet).
140
+
141
+ ### Flux 2 Klein 9b V1.1:
142
+
143
+ Additional training means far less body horror, even on the distilled version (but, you know, still some there). When using the distilled version of the model try playing around with more steps, adding a little cfg, etc.
144
+
145
+ ### Flux 2 Klein 9b V1:
146
+
147
+ Flux 2 Klein's awesome VAE means it picks up fine details incredibly well. While it still needs more training, I have some other stuff to train in the meantime so I thought it was worth it to push this out now as it can do some things incredibly well. Expect some body horror, *especially if you use it with the distilled version of the model for text-to-image*. I found that perhaps using more steps than 4 was helpful with the distilled version, but I also didn't try it much. Using this with the base model has far less anatomy issues. I expect them both to improve further with more training.
148
+
149
+ Right now, for text-to-image I recommend the base model. For editing, I recommend the distilled model. Note that SNOFS wasn't specifically trained on any image pairs for editing.
150
+
151
+ **Training details** (skip to the version 1.3 details below if you just want to know what this model can at least somewhat do right now):
152
+
153
+ I trained this as a factor 4 lokr using AI Toolkit this time. I used AI-Toolkit because when I started the training the other options had issues with their lycoris output and ComfyUI.
154
+
155
+ I think my starting learning rate was way too high at 1e-4 with an effective batch size of 4-6 or so. I quickly decreased it but it was perhaps still too high starting at 5e-5. I'm running a different training run at 1e-5 right now and it's still learning quite quickly. I might try to further train this at a very low LR and see what happens instead of starting fresh. Note: this is probably largely because of my large lokr size. I wanted to ensure I had "room" for all of the concepts but it can make things spicy.
156
+
157
+ I think the main issue people are coming into with training both this and Z-Image are what timesteps you train on. This was mostly trained on a high shift value of 3-5 as in inference Flux 2 Klein stays above the 800 timestep mark for most of the generation and maybe does 1 step out of 50 at below 200. I found I needed to test as I went and see where the generations went wrong and try to adjust on the fly.
158
+
159
+ ### Version 1.3:
160
+
161
+ Further training to further refine things. This *might* be the last version; I wasn't really making this for myself and I'm guessing the community wants me to make something for Z-Image. I'll at least try that out once the base model is out.
162
+
163
+ Note that the list is not exhaustive at all. It was trained on natural language (and that's how you should prompt!), so many concepts are in there.
164
+
165
+ ### Version 1.2:
166
+
167
+ Further training, expanded the dataset even more.
168
+
169
+ Also, I see a lot of people mixing this with other NSFW general loras. I'd recommend you try it by itself first.
170
+
171
+ Note: While you can use the lightning lora with this, keep in mind it won't lead to the best results. It's great for testing prompts, but it tends to mess with anatomy, smooth out texture, and lead to less variation on the same prompt.
172
+
173
+ ### Version 1:
174
+
175
+ This past weekend I was gone. I decided to let my 5090 chug along making a lokr for Qwen on ~5,000 hand fixed captions on sex, nudes, and other fun stuff of hand picked images with hand removed watermarks. I wasn't expecting it to get so good so quickly, so I did a few more night's worth of training. I'll do some additional training at some point here but it's already good enough to play around with.
176
+
177
+ It can do basic sex positions, blowjobs, cum, selfies, dildos, snapchat selfies with captions, etc. Female genitals are still a bit hit and miss, male genitals aren't bad. With it being a lokr and it being trained on so many images it's wildly flexible and can be used with perfect likeness of other loras.
178
+
179
+ Note that sometimes it'll do the wrong sex position even if you name it, and I'm unsure why as the captions have no errors. It will perhaps clear up a bit with more training.
180
+
181
+ I used Musubi Tuner and it was a heck of time getting it to train a lokr. I had to use another lycoris library for it (which is somewhere in the issues on the github page, IIRC), but it's possible the main one has Qwen support by now. Here are my training settings, though note that I reduced my LR over time and I also started with sigmoid timestep sampling. I was training at 640x640 and 1328x1328 buckets:
182
+
183
+ accelerate launch --num\_cpu\_threads\_per\_process 1 --mixed\_precision bf16 src\musubi\_tuner\qwen\_image\_train\_[network.py](http://network.py) `
184
+
185
+ --dit Q:\AI\Models\DiffusionModels\qwen\_image\_bf16.safetensors `
186
+
187
+ --vae Q:\AI\Models\VAE\qwen\_vae\_for\_training.safetensors `
188
+
189
+ --text\_encoder Q:\AI\Models\CLIP\qwen\_2.5\_vl\_7b.safetensors `
190
+
191
+ --dataset\_config S:\AI\Musubi\datasetWoman.toml `
192
+
193
+ --sdpa --mixed\_precision bf16 `
194
+
195
+ --gradient\_accumulation\_steps 4 `
196
+
197
+ --timestep\_sampling qinglong\_qwen `
198
+
199
+ --optimizer\_type adamw8bit `
200
+
201
+ --learning\_rate 3e-4 --lr\_scheduler linear --lr\_scheduler\_min\_lr\_ratio=1e-5 --lr\_warmup\_steps 150 `
202
+
203
+ --blocks\_to\_swap 25 `
204
+
205
+ --gradient\_checkpointing --gradient\_checkpointing\_cpu\_offload --max\_data\_loader\_n\_workers 2 --persistent\_data\_loader\_workers `
206
+
207
+ --network\_module lycoris.kohya `
208
+
209
+ --network\_args "algo=lokr" "factor=10" "bypass\_mode=False" "use\_fnmatch=True" "target\_module=Linear" `
210
+
211
+ "target\_name=unet.transformer\_blocks.\*.[attn.to](http://attn.to)\_q" `
212
+
213
+ "target\_name=unet.transformer\_blocks.\*.[attn.to](http://attn.to)\_k" `
214
+
215
+ "target\_name=unet.transformer\_blocks.\*.[attn.to](http://attn.to)\_v" `
216
+
217
+ "target\_name=unet.transformer\_blocks.\*.[attn.to](http://attn.to)\_out.0" `
218
+
219
+ "target\_name=unet.transformer\_blocks.\*.attn.add\_q\_proj" `
220
+
221
+ "target\_name=unet.transformer\_blocks.\*.attn.add\_k\_proj" `
222
+
223
+ "target\_name=unet.transformer\_blocks.\*.attn.add\_v\_proj" `
224
+
225
+ "target\_name=unet.transformer\_blocks.\*.[attn.to](http://attn.to)\_add\_out" `
226
+
227
+ "target\_name=unet.transformer\_blocks.\*.img\_[mlp.net](http://mlp.net).0.proj" `
228
+
229
+ "target\_name=unet.transformer\_blocks.\*.img\_[mlp.net](http://mlp.net).2" `
230
+
231
+ --network\_dim 1000000000 `
232
+
233
+ --save\_every\_n\_steps 250 --max\_train\_epochs 10--logging\_dir=logs `
234
+
235
+ --output\_dir Q:/AI/Models/Trained/Loras/Musubi/QwenWoman --output\_name WomanGirls
236
+
237
+ ---
238
+
239
+ Author: [Ashen3](https://civitai.com/user/Ashen3)
240
+
241
+ Model: [CivitAI Model Page](https://civitai.com/models/1972981?modelVersionId=3172362)
242
+
243
+ Archive: [CivArchive Page](https://civarchive.com/models/1972981?modelVersionId=3172362)
244
+
245
+ <!-- Version: 20260730_upload -->