Downloads · 30 days
29
2% of all-time downloads
ckpt/holodayo-xl-2.1
holodayo-xl-2.1 is a text-to-image model from ckpt. Use it when you need an image from a text prompt. It is set up for diffusers. The card lists the license as other.
Downloads · 30 days
29
2% of all-time downloads
All-time downloads
1.4K
Public
Parameters
2.6B
27.6 GB on disk
Likes
3
Public
Click a slice to open those files.
.safetensors27.9 GB · 100%
From the Hugging Face model README
Holodayo XL 2.1 is the latest version of the Yodayo Holodayo XL series, following the previous iteration, Holodayo XL 1.0. This open-source model is built upon Animagine XL V3, a specialized SDXL model designed for generating high-quality anime-style artwork. Holodayo XL 2.1 has undergone additional fine-tuning and optimization to focus specifically on generating images that accurately represent the visual style and aesthetics of the Virtual Youtuber franchise.
Holodayo XL 2.1 was trained to fix everything wrong in Holodayo XL 2.0, such as bad hands, bad anatomy, catastrophic forgetting due to the text encoder being trained during the fine-tuning phase, and an overexposed art style by decreasing the aesthetic datasets.
ComfyUI or Stable Diffusion WebuidiffusersFirst install the required libraries:
pip install diffusers transformers accelerate safetensors --upgrade
Then run image generation with the following example code:
import torch
from diffusers import StableDiffusionXLPipeline
pipe = StableDiffusionXLPipeline.from_pretrained(
"yodayo-ai/holodayo-xl-2.1",
torch_dtype=torch.float16,
use_safetensors=True,
custom_pipeline="lpw_stable_diffusion_xl",
add_watermarker=False,
variant="fp16"
)
pipe.to('cuda')
prompt = "1girl, nakiri ayame, nakiri ayame \(1st costume\), hololive, solo, upper body, v, smile, looking at viewer, outdoors, night, masterpiece, best quality, very aesthetic, absurdres"
negative_prompt = "nsfw, (low quality, worst quality:1.2), very displeasing, 3d, watermark, signature, ugly, poorly drawn"
image = pipe(
prompt,
negative_prompt=negative_prompt,
width=832,
height=1216,
guidance_scale=7,
num_inference_steps=28
).images[0]
image.save("./waifu.png")
For optimal results, it's recommended to follow the structured prompt template because we train the model like this:
1girl/1boy, character name, from which series, by which artists, everything else in any order.
Holodayo XL 2.1 inherits special tags from Animagine XL 3.1 to enhance image generation by steering results toward quality, rating, creation date, and aesthetic. This inheritance ensures that Holodayo XL 2.1 can produce high-quality, relevant, and aesthetically pleasing images. While the model can generate images without these tags, using them helps achieve better results.
To guide the model towards generating high-aesthetic images, use the following recommended settings:
nsfw, (low quality, worst quality:1.2), very displeasing, 3d, watermark, signature, ugly, poorly drawn
masterpiece, best quality, very aesthetic, absurdres
1024 x 1024, 1152 x 896, 896 x 1152, 1216 x 832, 832 x 1216, 1344 x 768, 768 x 1344, 1536 x 640, 640 x 1536
These are the key hyperparameters used during training:
| Feature | Pretraining | Finetuning |
|---|---|---|
| Hardware | 2x H100 80GB PCIe | 2x A100 80GB PCIe |
| Batch Size | 64 | 48 |
| Gradient Accumulation Steps | 2 | 1 |
| Noise Offset | None | 0.0357 |
| Epochs | 10 | 10 |
| UNet Learning Rate | 7.5e-6 | 7.5e-6 |
| Text Encoder Learning Rate | 3.75e-6 | None |
| Optimizer | AdamW8bit | Adafactor |
| Optimizer Args | Weight Decay: 0.1, Betas: (0.9, 0.99) | Scale Parameter: False, Relative Step: False, Warmup Init: False |
| Scheduler | Constant with Warmups | Constant with Warmups |
| Warmup Steps | 0.5% | 0.5% |
Holodayo XL 2.1 falls under Fair AI Public License 1.0-SD license, which is compatible with Stable Diffusion models’ license. Key points: