|
# WaifuNijiMix |
|
|
|
* I'm not very good at writing in English, so I'm having ChatGPT assist me in writing the following. Please forgive that there may be some confusing expressions. |
|
|
|
## What is this? |
|
|
|
### 2.00aa |
|
|
|
WaifiNijiMix 2.0aa is a merged model based on the model that merged SD1.5 with Waifu Diffusion v1.3 using trainDifference. I have attempted to minimize the inclusion of related to NAI leaks, and after merging with other models using Add_difference, I adjust the application intensity by merging with the base model using weight_sum. |
|
|
|
Most models are based on SD1.4 as they contain NAI leak elements. However, I created this model with the purpose of investigating what kind of model would be created when based on SD1.5. It does not inherit from WaifuNijiMix 1.0a and is merged from scratch, but the models included are likely to have significant overlap, so the overall tendencies may not change much. |
|
|
|
I aim to address the issue of circular roofs appearing in outdoor backgrounds, which was a problem in WaifuNijiMix v1.0a, and strengthen weak NSFW components. |
|
|
|
Since including LoRA too much tended to increase catastrophic forgetting, I have limited its use to models with less forgetting and applied it in small amounts. |
|
|
|
|
|
### 1.0a |
|
|
|
WaifuNijiMix is a merged model based on Waifu Diffusion v1.3. It merged with the intention of minimizing the inclusion of NAI leak model-related data. |
|
|
|
All the merging with other models is done using Add_difference. multiple LoRA/LOCONs are added. |
|
|
|
The merging process employs Bayesian auto elemental weight merge. the weights are determined automatically at the elemental unit level, so I don't understand about the specific proportions. |
|
|
|
For art style adjustment from Various Lora, like NijiJourny's style. |
|
|
|
|
|
## Examples |
|
clip skip 2 |
|
|
|
### 2.00aa |
|
|
|
CFG scale 12 |
|
|
|
![sample_200_spring](sample_img/200_spring.png) |
|
![sample_200_summer](sample_img/200_summer.png) |
|
![sample_200_autumn](sample_img/200_autumn.png) |
|
![sample_200_winter](sample_img/200_winter.png) |
|
|
|
CFG scale 8 |
|
|
|
![sample_cafe](sample_img/cafe.png) |
|
|
|
### 1.0a |
|
|
|
<details> |
|
<summery>sample</summary> |
|
|
|
CFG scale 12 |
|
|
|
![sample_spring](sample_img/spring.png) |
|
![sample_summer](sample_img/summer.png) |
|
![sample_autumn](sample_img/autumn.png) |
|
![sample_winter](sample_img/winter.png) |
|
|
|
CFG scale 8 |
|
|
|
![sample_computer_repair](sample_img/computer_repair.png) |
|
![sample_veranda](sample_img/veranda.png) |
|
![sample_cafe](sample_img/cafe.png) |
|
![sample_fantasy](sample_img/fantasy.png) |
|
|
|
Q: I'm only getting full-body images. What should I do? |
|
|
|
A: Please try adding "upper_body" to the prompt. |
|
</details> |
|
|
|
--- |
|
|
|
Japanese desc. |
|
|
|
## ãã®ã¢ãã«ã¯ïŒ |
|
|
|
### 2.00aa |
|
|
|
WaifiNijiMix 2.0aaã¯SD1.5ã«trainDifferenceã§Waifu Diffusion v1.3ãããŒãžããã¢ãã«ãåºã«ããããŒãžã¢ãã«ã§ããNAIãªãŒã¯ã¢ãã«é¢é£ã®æ
å ±ããªãã¹ãå«ãŸãªãããã«ããŠãããä»ã¢ãã«ãšã®ããŒãžã¯å
šãŠAdd_differenceã§è¡ã£ãåŸãããŒã¹ã®ã¢ãã«ãšweight_sumããŒãžããããšã«ãã£ãŠé©çšåŒ·åºŠã調æŽããŠããŸãã |
|
|
|
äžã®ã¢ãã«ã®å€§åã¯NAIãªãŒã¯èŠçŽ ãå«ãã§ããããSD1.4ããŒã¹ã®ãã®ãšãªã£ãŠããŸããã1.5ããŒã¹ã§äœãããå Žåã«ã©ãããã¢ãã«ãã§ãããã£ãŠãããã調ã¹ããšããç®çã§äœæããŸããã1.0aãç¶æ¿ããŠãããã1ããããŒãžãçŽããŠããŸãããå«ãŸããŠããã¢ãã«ã¯å€åã«éè€ããŠããããèæ¯ã®åŸåãªã©ã¯ããå€ãããªããšæããŸãã |
|
|
|
1.0aã§åé¡ã®ãã£ãå±å€èæ¯ã«ãããŠå圢å±æ ¹ã衚瀺ãããåé¡ãžã®å¯Ÿå¿ã匱ãã£ãNSFWæåã®åŒ·åãç®æããŠããŸãã |
|
|
|
LoRAãããŸãå«ãããšç Žå±çå¿åŽãå¢ããåŸåã匷ãã£ããããå¿åŽãå°ãªããªãã®ã«éå®ããŠå°éé©çšããŠããŸãã |
|
|
|
<details> |
|
<summery>1.0a</summary> |
|
|
|
### 1.0a |
|
|
|
WaifuNijiMixã¯Waifu Diffusion v1.3ãåºã«ããããŒãžã¢ãã«ã§ããNAIãªãŒã¯ã¢ãã«é¢é£ã®æ
å ±ããªãã¹ãå«ãŸãªãããã«ããŠããŸãã |
|
|
|
ä»ã¢ãã«ãšã®ããŒãžã¯å
šãŠAdd_differenceã§è¡ã£ãŠããŸããããã«å€æ°ã®LoRA/LOCONãè¿œå ããŠããŸãã |
|
|
|
ããŒãžã«ã¯baysien auto elemental weight mergeã䜿ã£ãŠããŸããããã¯ãšã¬ã¡ã³ãåäœã§ã®éã¿ãèªåã§æ±ºå®ããä»çµã¿ã®ãããäœæè
èªèº«ã©ããªéã¿é
åãã¯ææ¡ããŠããŸãããïŒèª¿ã¹ãããŸãã調ã¹ãŠãäœããç解ã§ããçšã®éã§ã¯ãªãã®ã§âŠïŒ |
|
|
|
çµµæ調æŽã«NijiJournyç»é¢šåŠç¿ã®Loraçã䜿ã£ãŠããŸãã |
|
|
|
</details> |
|
|
|
|
|
## MIXã¢ãã«ãªã®ã«æ¬åœã«NAIãå«ãã§ããªãã®ïŒ |
|
|
|
ããŒãžã«çšããåã¢ãã«ã¯NAIãå«ãã§ãããšæšæž¬ããããããäžçªè¿ãNAIç³»ã¢ãã«ãšã®å·®åãåæããŠã¯ããŸãããã®ããå
ã®ã¢ãã«ãšããŠæšæž¬ããããŒãžã¢ãã«ãééã£ãŠããããå°éå·®åãå«ãŸããŠããŸã£ãŠããå¯èœæ§ããããŸãã |
|
|
|
念ã®ãã確èªããã2.00aaã§ã®ASimilarityCalculatior (inå±€ãŸã§æ¡åŒµ)ã§ã®å ãã®çµæã¯æ¬¡ã®ãšããã§ãã(äžéšå
ã¢ãã«åãããªããŒã ããŠããã®ã¯ã容赊ãã ããã) |
|
|
|
``` |
|
sd-v1-4.ckpt [7460a6fa] - 74.36% |
|
sd15pruned_emaonly.ckpt [81761151] - 82.72% |
|
wd13float32.ckpt [4470c325] - 76.25% |
|
wd-v1-2-full-ema.ckpt [45dee52b] - 74.54% |
|
novelai_animefull_final_pruned.ckpt [925997e9] - 75.51% |
|
novelai_animesfw_final_pruned.ckpt [1d4a34af] - 74.25% |
|
ACertainty.ckpt [0e200e66] - 72.04% |
|
Anything-V3.0-pruned.ckpt [2700c435] - 75.32% |
|
anything-v4.0-pruned-fp16.safetensors [53d80ac0] - 79.29% |
|
anything-v4.5-pruned-fp16.ckpt [fc018a75] - 79.12% |
|
AbyssOrangeMix.safetensors [cc44dbff] - 77.32% |
|
AbyssOrangeMix2_hard.safetensors [931f9552] - 77.41% |
|
AOM3A3_orangemixs.safetensors [9600da17] - 78.13% |
|
Elysium_V1.ckpt [44bf0551] - 79.16% |
|
Elysium_Anime_V3.safetensors [1a97f4ef] - 77.83% |
|
ElyOrangeMix.ckpt [6b508e59] - 78.38% |
|
Evt_M.safetensors [2a2c58bc] - 73.00% |
|
pastelmix-better-vae.safetensors [4048130a] - 77.42% |
|
grapefruitHentaiModel_grapefruitv4.safetensors [e7542b65] - 76.63% |
|
hassakuHentaiModel_hassakuv1.safetensors [b3fa28ba] - 76.64% |
|
offset_noise.ckpt [9453d9a1] - 82.77% |
|
nightSkyYOZORAStyle_yozoraV1PurnedFp16.safetensors [94245290] - 76.47% |
|
7th_anime_v3_C.safetensors [6b3ba9a7] - 76.52% |
|
Counterfeit-V2.5.safetensors [9b36871e] - 77.71% |
|
neverendingDreamNED_noVae.safetensors [9ce0df7a] - 79.68% |
|
``` |
|
|
|
* offset noiseãå«ãã§ããªãã®ã«è¿ãã®ã¯æ°å°ãªãsd1.5ç³»ã¢ãã«ã ãããïŒ |
|
* ææ©waifu diffusion 1.3ã®æåã匱ããã |
|
* NEDãdreamshaperãå«ãã§ããªãã®ã«NEDã«è¿ãããã®ã¯äžæããªã¢ã«ç³»ã¢ãã«ã«ãããŠã¯insta-cafeçã®sd1.5ç³»ã¢ãã«ãããã®ã§ãsd1.5èŠçŽ ã«åå¿ããïŒ |
|
|
|
<details> |
|
<summery>1.0a</summary> |
|
念ã®ãã確èªããã1.0aã§ã®ASimilarityCalculatiorå ãã®çµæã¯æ¬¡ã®ãšããã§ãã(äžéšå
ã¢ãã«åãããªããŒã ããŠããã®ã¯ã容赊ãã ããã) |
|
``` |
|
sd-v1-4.ckpt [7460a6fa] - 84.40% |
|
sd15pruned_emaonly.ckpt [81761151] - 65.68% |
|
wd-v1-2-full-ema.ckpt [45dee52b] - 84.85% |
|
wd13float32.ckpt [4470c325] - 86.76% |
|
ACertainty.ckpt [0e200e66] - 81.50% |
|
Anything-V3girls talking at living room, from below3.0-pruned.ckpt [2700c435] - 84.61% |
|
anything-v4.0-pruned-fp16.safetensors [53d80ac0] - 84.70% |
|
anything-v4.5-pruned-fp16.ckpt [fc018a75] - 85.14% |
|
AbyssOrangeMix2_hard.safetensors [931f9552] - 85.34% |
|
AOM3A1B.safetensors [9600da17] - 85.06% |
|
Elysium_V1.ckpt [44bf0551] - 86.46% |
|
Evt_M.safetensors [2a2c58bc] - 80.54% |
|
pastelmix-better-vae.safetensors [4048130a] - 85.33% |
|
grapefruitHentaiModel_grapefruitv22.safetensors [2506047e] - 84.93% |
|
colorBoxModel_colorBOX.safetensors [a80fee84] - 83.89% |
|
7th_anime_v3_C.safetensors [6b3ba9a7] - 84.55% |
|
Counterfeit-V2.5.safetensors [9b36871e] - 85.34% |
|
``` |
|
|
|
* NAIãå«ãã ããŒãžã¢ãã«ã§äžèšã¢ãã«ãšã®æ¯èŒãè¡ã£ãå Žåãå€ãã®ã¢ãã«ãšã®äžèŽçã90%以äžã«ãªãã |
|
* æãé«ãäžèŽçã瀺ããŠããã®ãwaifu diffusion 1.3 |
|
* Elysium_V1ãšã®äžèŽçãé«ãããããããElysiumèªäœãwaifu diffusionãšã®äžèŽçãNAIãšã®ããããé«ããwaifu diffusionãããŒãžããŠããïŒ |
|
* waifu diffusion 1.3ãšã®æ¯èŒã§ãã90%ãåã£ãŠããŸã£ãŠããã®ã¯ããããã足ããããŠææ©ãã»ãŠã¹ã®è¹ãšåããŠããã®ã§ã¯ïŒ æãã¯ããŒãžã®éäžã§ç Žå±çå¿åŽãããŒãžããŠããŸã£ãŠããã |
|
|
|
</details> |
|
|
|
|
|
## ã©ããããããªããŠçŸåšè«ŠããŠããèŠçŽ |
|
* ããããªããŒãºãåºãªãã |
|
* ããããªæ§å³ãåºãªãã |
|
* ã«ã¡ã©ã¢ã³ã°ã«é¢é£ã¯ãŒãã®å¹ããæªãorå¹ããªãã => 2.0aaã«ãŠæ¹å |
|
* 瞊é·ã«ãããšé²éªšã«æ§å³ãç ããã |
|
* ãã¡ã³ã¿ãžãŒç³»èæ¯ãåºã¥ããã => 2.0aaã«ãŠæ¹å |
|
|
|
### 察ç |
|
* åºãããæ§å³ããããªãcontrolnetã䜿ãã |
|
* LoRAãLECOã§ãã®ã¢ãã«å°çšã«åŠç¿ããå¿
èŠãããããïŒ |
|
|
|
## ãã®ã¢ãã«ãããŒãžããŠæ°ããã¢ãã«ãäœã£ãããããã¯WDç³»ã ãšãNAIäžäœ¿çšãåä¹ããã®ïŒ |
|
è¯å¿ã«ä»»ããŸããç°¡åãªå€æåºæºãšããŠã¯NAIç³»ã¢ãã«ãšéåžžã®weight sumããŒãžãäžåã§ããããã ãã ãšæããŸãã |
|
|
|
ãã®ã¢ãã«ã®ããŒãžãæåŠããŠããããã§ã¯ãªãã§ãããèªç±ã«ããŒãžããŠãã ãããå¹èœãšããŠã¯é«ãŸããããNAIæåãèãããããšãïŒ |
|
|
|
- ããŒãžã®èšç®åŒäžãåãéšåãå«ãŸããã¢ãã«å士ã§weight sumããŒãžãç¹°ãè¿ããšãç°ãªãéšåã ããé
åæ¯ã®åœ±é¿ãåããŠèããããŸããå
·äœçã«ã¯ä»¥äžã®éãã |
|
|
|
ããšãã°åãAãããšã«ããã¢ãã«BãšCãããŒãžããå Žåã®åŒãèããŸãã |
|
|
|
å
±ééšåã®ç¹åŸŽãAãšããŠãBãA+bãCãA+cãšè¡šããšããŸãã |
|
|
|
ãã®2ã€ã®ã¢ãã«ãsumããå Žåã®èšç®åŒã¯(1-α)(A+b)+α(A+c)ãšãªããåŒãæŽçãããšA+(1-α)b+αcã«ãªããŸãã |
|
|
|
ã€ãŸãã¯å
±ééšåAã¯äžåå€åããŠããªãã®ã«ãBã®ã¢ãã«ã®ç¹åŸŽãšCã®ã¢ãã«ã®ç¹åŸŽãèããããäžã§åããã£ãã¢ãã«ãäœãããŸãã |
|
|
|
ïŒããšããã®ã¢ãã«ãããŒãžããŠå
±ééšåãå°ãªãããŠãç°ãªãéšåãèãŸãããšã«ã¯å€ããããªãã®ã§ããã®ã¢ãã«ãããŒãžãããšããã§å¹æã¯éå®çã ãšæããŸãããïŒ |
|
|
|
## nsfwæåã¯ïŒ |
|
|
|
1.0aã§ã¯ããŸãåºãŸãããããŒãžã®éäžã§å¿ããŠããŸã£ãŠããŸãã |
|
|
|
2.00aaã§ã¯ãããªãã«åºåãããŸãããnegativeã§ã®å·¥å€«ããããããããŸããã |
|
|
|
## äžã®äžã®LoRAãããããããŒãžãããnsfwæåã足ããã®ã§ã¯ïŒ |
|
|
|
äžã®äžã®LoRAãã¹ãŠãæ£ååãããŠä»èŠçŽ ãžã®åœ±é¿ãæå°éã«ãããŠããã°ãã®éãã§ããã§ããããªããšã¯ãªãããã«åæããã¢ãã«(ããã³LoRA)ãå¢ãããã³ã«ã©ããã«ç Žå±çå¿åŽãçºçããŸãã |
|
|
|
ç¹å®ã®æ§å³ãè¿œå ããã代ããã«ä»ã®ãã®ã(äžéšãªããŸã ãããã¹ãŠã ã£ãã)å¿ããããŠããŸããããªã¢ãã«ããè¿œå ããŠä¿®æ£ããŠãç¹°ãè¿ãã®ã¯å¹çãæªãã§ãã |
|
|
|
LoRAãé©çšããŠåºåããç»åãçšããŠãæ£ååããªããèªåã§åŠç¿ããªãããæ¹ãæ©ããããŠæ£ç¢ºã§ãããã |
|
|
|
ä»åŸããŒãžã«ãããŠãç Žå±çå¿åŽãžã®å¯ŸåŠæ¹æ³ãçºèŠãããã°ããã§ããã |
|
|
|
|
|
|