--- license: mit datasets: - CyberHarem/xiao_genshin pipeline_tag: text-to-image tags: - art - not-for-all-audiences --- # LoRA model of xiao/魈/魈 (Genshin Impact) ## What Is This? This is the LoRA model of waifu xiao/魈/魈 (Genshin Impact). ## How Is It Trained? * This model is trained with [kohya-ss/sd-scripts](https://github.com/kohya-ss/sd-scripts), and the test images are generated with [a1111's webui](AUTOMATIC1111/stable-diffusion-webui) and [API sdk](https://github.com/mix1009/sdwebuiapi). * The [auto-training framework](https://github.com/deepghs/cyberharem) is maintained by [DeepGHS Team](https://huggingface.co/deepghs). The architecture of base model is is `SD1.5`. * Dataset used for training is the `stage3-p480-1200` in [CyberHarem/xiao_genshin](https://huggingface.co/datasets/CyberHarem/xiao_genshin), which contains 1238 images. * **Trigger word is `xiao_genshin`.** * Pruned core tags for this waifu are `multicolored hair, green hair, yellow eyes, facial mark, black hair, tassel, ahoge, parted bangs`. You can add them to the prompt when some features of waifu (e.g. hair color) are not stable. * For more details in training, you can take a look at [training configuration file](https://huggingface.co/CyberHarem/xiao_genshin/resolve/main/train.toml). * For more details in LoRA, you can download it, and read the metadata with a1111's webui. ## How to Use It? After downloading the safetensors files for the specified step, you need to use them like common LoRA. * Recommended LoRA weight is 0.5-0.85. * Recommended trigger word weight is 0.7-1.1. For example, if you want to use the model from step 2028, you need to download [`2028/xiao_genshin.safetensors`](https://huggingface.co/CyberHarem/xiao_genshin/resolve/main/2028/xiao_genshin.safetensors) as LoRA. By using this model, you can generate images for the desired characters. ## Which Step Should I Use? We selected 5 good steps for you to choose. The best one is step 2028. 1160 images (1.14 GiB) were generated for auto-testing. ![Metrics Plot](metrics_plot.png) Here are the preview of the recommended steps: | Step | Epoch | CCIP | AI Corrupt | Bikini Plus | Score | Download | pattern_0 | pattern_1_0 | pattern_1_1 | pattern_2_0 | pattern_2_1 | pattern_3 | pattern_4 | pattern_5 | pattern_6_0 | pattern_6_1 | pattern_6_2 | pattern_7_0 | pattern_7_1 | pattern_8_0 | pattern_8_1 | pattern_9_0 | pattern_9_1 | pattern_9_2 | pattern_10_0 | pattern_10_1 | pattern_11 | pattern_12 | pattern_13_0 | pattern_13_1 | portrait_0 | portrait_1 | portrait_2 | full_body_0 | full_body_1 | profile_0 | profile_1 | free_0 | free_1 | short | shirt_0 | shirt_1 | uniform_0 | uniform_1 | uniform_2 | suit_0 | suit_1 | jacket_0 | jacket_1 | swim_0 | swim_1 | swim_2 | sit | squat | kneel | jump | crossed_arms | angry | smile | cry | grin | n_stand_0 | n_stand_1 | n_stand_2 | |-------:|--------:|:----------|:-------------|:--------------|:----------|:----------------------------------------------------------------------------------------------|:------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------------|:------------------------------------------------|:--------------------------------------------|:--------------------------------------------|:------------------------------------------------|:------------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------|:------------------------------------|:----------------------------------|:--------------------------------------|:--------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------|:------------------------------------|:----------------------------------------|:----------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:------------------------------|:----------------------------------|:----------------------------------|:--------------------------------|:------------------------------------------------|:----------------------------------|:----------------------------------|:------------------------------|:--------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------| | 2028 | 12 | **0.999** | 0.979 | 0.815 | **0.700** | [Download](https://huggingface.co/CyberHarem/xiao_genshin/resolve/main/2028/xiao_genshin.zip) | ![pattern_0](2028/previews/pattern_0.png) | ![pattern_1_0](2028/previews/pattern_1_0.png) | ![pattern_1_1](2028/previews/pattern_1_1.png) | ![pattern_2_0](2028/previews/pattern_2_0.png) | ![pattern_2_1](2028/previews/pattern_2_1.png) | ![pattern_3](2028/previews/pattern_3.png) | ![pattern_4](2028/previews/pattern_4.png) | ![pattern_5](2028/previews/pattern_5.png) | ![pattern_6_0](2028/previews/pattern_6_0.png) | ![pattern_6_1](2028/previews/pattern_6_1.png) | ![pattern_6_2](2028/previews/pattern_6_2.png) | ![pattern_7_0](2028/previews/pattern_7_0.png) | ![pattern_7_1](2028/previews/pattern_7_1.png) | ![pattern_8_0](2028/previews/pattern_8_0.png) | ![pattern_8_1](2028/previews/pattern_8_1.png) | ![pattern_9_0](2028/previews/pattern_9_0.png) | ![pattern_9_1](2028/previews/pattern_9_1.png) | ![pattern_9_2](2028/previews/pattern_9_2.png) | ![pattern_10_0](2028/previews/pattern_10_0.png) | ![pattern_10_1](2028/previews/pattern_10_1.png) | ![pattern_11](2028/previews/pattern_11.png) | ![pattern_12](2028/previews/pattern_12.png) | ![pattern_13_0](2028/previews/pattern_13_0.png) | ![pattern_13_1](2028/previews/pattern_13_1.png) | ![portrait_0](2028/previews/portrait_0.png) | ![portrait_1](2028/previews/portrait_1.png) | ![portrait_2](2028/previews/portrait_2.png) | ![full_body_0](2028/previews/full_body_0.png) | ![full_body_1](2028/previews/full_body_1.png) | ![profile_0](2028/previews/profile_0.png) | ![profile_1](2028/previews/profile_1.png) | ![free_0](2028/previews/free_0.png) | ![free_1](2028/previews/free_1.png) | ![short](2028/previews/short.png) | ![shirt_0](2028/previews/shirt_0.png) | ![shirt_1](2028/previews/shirt_1.png) | ![uniform_0](2028/previews/uniform_0.png) | ![uniform_1](2028/previews/uniform_1.png) | ![uniform_2](2028/previews/uniform_2.png) | ![suit_0](2028/previews/suit_0.png) | ![suit_1](2028/previews/suit_1.png) | ![jacket_0](2028/previews/jacket_0.png) | ![jacket_1](2028/previews/jacket_1.png) | ![swim_0](2028/previews/swim_0.png) | ![swim_1](2028/previews/swim_1.png) | ![swim_2](2028/previews/swim_2.png) | ![sit](2028/previews/sit.png) | ![squat](2028/previews/squat.png) | ![kneel](2028/previews/kneel.png) | ![jump](2028/previews/jump.png) | ![crossed_arms](2028/previews/crossed_arms.png) | ![angry](2028/previews/angry.png) | ![smile](2028/previews/smile.png) | ![cry](2028/previews/cry.png) | ![grin](2028/previews/grin.png) | ![n_stand_0](2028/previews/n_stand_0.png) | ![n_stand_1](2028/previews/n_stand_1.png) | ![n_stand_2](2028/previews/n_stand_2.png) | | 3380 | 20 | 0.999 | 0.984 | 0.820 | 0.699 | [Download](https://huggingface.co/CyberHarem/xiao_genshin/resolve/main/3380/xiao_genshin.zip) | ![pattern_0](3380/previews/pattern_0.png) | ![pattern_1_0](3380/previews/pattern_1_0.png) | ![pattern_1_1](3380/previews/pattern_1_1.png) | ![pattern_2_0](3380/previews/pattern_2_0.png) | ![pattern_2_1](3380/previews/pattern_2_1.png) | ![pattern_3](3380/previews/pattern_3.png) | ![pattern_4](3380/previews/pattern_4.png) | ![pattern_5](3380/previews/pattern_5.png) | ![pattern_6_0](3380/previews/pattern_6_0.png) | ![pattern_6_1](3380/previews/pattern_6_1.png) | ![pattern_6_2](3380/previews/pattern_6_2.png) | ![pattern_7_0](3380/previews/pattern_7_0.png) | ![pattern_7_1](3380/previews/pattern_7_1.png) | ![pattern_8_0](3380/previews/pattern_8_0.png) | ![pattern_8_1](3380/previews/pattern_8_1.png) | ![pattern_9_0](3380/previews/pattern_9_0.png) | ![pattern_9_1](3380/previews/pattern_9_1.png) | ![pattern_9_2](3380/previews/pattern_9_2.png) | ![pattern_10_0](3380/previews/pattern_10_0.png) | ![pattern_10_1](3380/previews/pattern_10_1.png) | ![pattern_11](3380/previews/pattern_11.png) | ![pattern_12](3380/previews/pattern_12.png) | ![pattern_13_0](3380/previews/pattern_13_0.png) | ![pattern_13_1](3380/previews/pattern_13_1.png) | ![portrait_0](3380/previews/portrait_0.png) | ![portrait_1](3380/previews/portrait_1.png) | ![portrait_2](3380/previews/portrait_2.png) | ![full_body_0](3380/previews/full_body_0.png) | ![full_body_1](3380/previews/full_body_1.png) | ![profile_0](3380/previews/profile_0.png) | ![profile_1](3380/previews/profile_1.png) | ![free_0](3380/previews/free_0.png) | ![free_1](3380/previews/free_1.png) | ![short](3380/previews/short.png) | ![shirt_0](3380/previews/shirt_0.png) | ![shirt_1](3380/previews/shirt_1.png) | ![uniform_0](3380/previews/uniform_0.png) | ![uniform_1](3380/previews/uniform_1.png) | ![uniform_2](3380/previews/uniform_2.png) | ![suit_0](3380/previews/suit_0.png) | ![suit_1](3380/previews/suit_1.png) | ![jacket_0](3380/previews/jacket_0.png) | ![jacket_1](3380/previews/jacket_1.png) | ![swim_0](3380/previews/swim_0.png) | ![swim_1](3380/previews/swim_1.png) | ![swim_2](3380/previews/swim_2.png) | ![sit](3380/previews/sit.png) | ![squat](3380/previews/squat.png) | ![kneel](3380/previews/kneel.png) | ![jump](3380/previews/jump.png) | ![crossed_arms](3380/previews/crossed_arms.png) | ![angry](3380/previews/angry.png) | ![smile](3380/previews/smile.png) | ![cry](3380/previews/cry.png) | ![grin](3380/previews/grin.png) | ![n_stand_0](3380/previews/n_stand_0.png) | ![n_stand_1](3380/previews/n_stand_1.png) | ![n_stand_2](3380/previews/n_stand_2.png) | | 2197 | 13 | 0.999 | 0.983 | 0.814 | 0.697 | [Download](https://huggingface.co/CyberHarem/xiao_genshin/resolve/main/2197/xiao_genshin.zip) | ![pattern_0](2197/previews/pattern_0.png) | ![pattern_1_0](2197/previews/pattern_1_0.png) | ![pattern_1_1](2197/previews/pattern_1_1.png) | ![pattern_2_0](2197/previews/pattern_2_0.png) | ![pattern_2_1](2197/previews/pattern_2_1.png) | ![pattern_3](2197/previews/pattern_3.png) | ![pattern_4](2197/previews/pattern_4.png) | ![pattern_5](2197/previews/pattern_5.png) | ![pattern_6_0](2197/previews/pattern_6_0.png) | ![pattern_6_1](2197/previews/pattern_6_1.png) | ![pattern_6_2](2197/previews/pattern_6_2.png) | ![pattern_7_0](2197/previews/pattern_7_0.png) | ![pattern_7_1](2197/previews/pattern_7_1.png) | ![pattern_8_0](2197/previews/pattern_8_0.png) | ![pattern_8_1](2197/previews/pattern_8_1.png) | ![pattern_9_0](2197/previews/pattern_9_0.png) | ![pattern_9_1](2197/previews/pattern_9_1.png) | ![pattern_9_2](2197/previews/pattern_9_2.png) | ![pattern_10_0](2197/previews/pattern_10_0.png) | ![pattern_10_1](2197/previews/pattern_10_1.png) | ![pattern_11](2197/previews/pattern_11.png) | ![pattern_12](2197/previews/pattern_12.png) | ![pattern_13_0](2197/previews/pattern_13_0.png) | ![pattern_13_1](2197/previews/pattern_13_1.png) | ![portrait_0](2197/previews/portrait_0.png) | ![portrait_1](2197/previews/portrait_1.png) | ![portrait_2](2197/previews/portrait_2.png) | ![full_body_0](2197/previews/full_body_0.png) | ![full_body_1](2197/previews/full_body_1.png) | ![profile_0](2197/previews/profile_0.png) | ![profile_1](2197/previews/profile_1.png) | ![free_0](2197/previews/free_0.png) | ![free_1](2197/previews/free_1.png) | ![short](2197/previews/short.png) | ![shirt_0](2197/previews/shirt_0.png) | ![shirt_1](2197/previews/shirt_1.png) | ![uniform_0](2197/previews/uniform_0.png) | ![uniform_1](2197/previews/uniform_1.png) | ![uniform_2](2197/previews/uniform_2.png) | ![suit_0](2197/previews/suit_0.png) | ![suit_1](2197/previews/suit_1.png) | ![jacket_0](2197/previews/jacket_0.png) | ![jacket_1](2197/previews/jacket_1.png) | ![swim_0](2197/previews/swim_0.png) | ![swim_1](2197/previews/swim_1.png) | ![swim_2](2197/previews/swim_2.png) | ![sit](2197/previews/sit.png) | ![squat](2197/previews/squat.png) | ![kneel](2197/previews/kneel.png) | ![jump](2197/previews/jump.png) | ![crossed_arms](2197/previews/crossed_arms.png) | ![angry](2197/previews/angry.png) | ![smile](2197/previews/smile.png) | ![cry](2197/previews/cry.png) | ![grin](2197/previews/grin.png) | ![n_stand_0](2197/previews/n_stand_0.png) | ![n_stand_1](2197/previews/n_stand_1.png) | ![n_stand_2](2197/previews/n_stand_2.png) | | 2366 | 14 | 0.999 | **0.990** | **0.823** | 0.695 | [Download](https://huggingface.co/CyberHarem/xiao_genshin/resolve/main/2366/xiao_genshin.zip) | ![pattern_0](2366/previews/pattern_0.png) | ![pattern_1_0](2366/previews/pattern_1_0.png) | ![pattern_1_1](2366/previews/pattern_1_1.png) | ![pattern_2_0](2366/previews/pattern_2_0.png) | ![pattern_2_1](2366/previews/pattern_2_1.png) | ![pattern_3](2366/previews/pattern_3.png) | ![pattern_4](2366/previews/pattern_4.png) | ![pattern_5](2366/previews/pattern_5.png) | ![pattern_6_0](2366/previews/pattern_6_0.png) | ![pattern_6_1](2366/previews/pattern_6_1.png) | ![pattern_6_2](2366/previews/pattern_6_2.png) | ![pattern_7_0](2366/previews/pattern_7_0.png) | ![pattern_7_1](2366/previews/pattern_7_1.png) | ![pattern_8_0](2366/previews/pattern_8_0.png) | ![pattern_8_1](2366/previews/pattern_8_1.png) | ![pattern_9_0](2366/previews/pattern_9_0.png) | ![pattern_9_1](2366/previews/pattern_9_1.png) | ![pattern_9_2](2366/previews/pattern_9_2.png) | ![pattern_10_0](2366/previews/pattern_10_0.png) | ![pattern_10_1](2366/previews/pattern_10_1.png) | ![pattern_11](2366/previews/pattern_11.png) | ![pattern_12](2366/previews/pattern_12.png) | ![pattern_13_0](2366/previews/pattern_13_0.png) | ![pattern_13_1](2366/previews/pattern_13_1.png) | ![portrait_0](2366/previews/portrait_0.png) | ![portrait_1](2366/previews/portrait_1.png) | ![portrait_2](2366/previews/portrait_2.png) | ![full_body_0](2366/previews/full_body_0.png) | ![full_body_1](2366/previews/full_body_1.png) | ![profile_0](2366/previews/profile_0.png) | ![profile_1](2366/previews/profile_1.png) | ![free_0](2366/previews/free_0.png) | ![free_1](2366/previews/free_1.png) | ![short](2366/previews/short.png) | ![shirt_0](2366/previews/shirt_0.png) | ![shirt_1](2366/previews/shirt_1.png) | ![uniform_0](2366/previews/uniform_0.png) | ![uniform_1](2366/previews/uniform_1.png) | ![uniform_2](2366/previews/uniform_2.png) | ![suit_0](2366/previews/suit_0.png) | ![suit_1](2366/previews/suit_1.png) | ![jacket_0](2366/previews/jacket_0.png) | ![jacket_1](2366/previews/jacket_1.png) | ![swim_0](2366/previews/swim_0.png) | ![swim_1](2366/previews/swim_1.png) | ![swim_2](2366/previews/swim_2.png) | ![sit](2366/previews/sit.png) | ![squat](2366/previews/squat.png) | ![kneel](2366/previews/kneel.png) | ![jump](2366/previews/jump.png) | ![crossed_arms](2366/previews/crossed_arms.png) | ![angry](2366/previews/angry.png) | ![smile](2366/previews/smile.png) | ![cry](2366/previews/cry.png) | ![grin](2366/previews/grin.png) | ![n_stand_0](2366/previews/n_stand_0.png) | ![n_stand_1](2366/previews/n_stand_1.png) | ![n_stand_2](2366/previews/n_stand_2.png) | | 2873 | 17 | 0.999 | 0.976 | 0.814 | 0.694 | [Download](https://huggingface.co/CyberHarem/xiao_genshin/resolve/main/2873/xiao_genshin.zip) | ![pattern_0](2873/previews/pattern_0.png) | ![pattern_1_0](2873/previews/pattern_1_0.png) | ![pattern_1_1](2873/previews/pattern_1_1.png) | ![pattern_2_0](2873/previews/pattern_2_0.png) | ![pattern_2_1](2873/previews/pattern_2_1.png) | ![pattern_3](2873/previews/pattern_3.png) | ![pattern_4](2873/previews/pattern_4.png) | ![pattern_5](2873/previews/pattern_5.png) | ![pattern_6_0](2873/previews/pattern_6_0.png) | ![pattern_6_1](2873/previews/pattern_6_1.png) | ![pattern_6_2](2873/previews/pattern_6_2.png) | ![pattern_7_0](2873/previews/pattern_7_0.png) | ![pattern_7_1](2873/previews/pattern_7_1.png) | ![pattern_8_0](2873/previews/pattern_8_0.png) | ![pattern_8_1](2873/previews/pattern_8_1.png) | ![pattern_9_0](2873/previews/pattern_9_0.png) | ![pattern_9_1](2873/previews/pattern_9_1.png) | ![pattern_9_2](2873/previews/pattern_9_2.png) | ![pattern_10_0](2873/previews/pattern_10_0.png) | ![pattern_10_1](2873/previews/pattern_10_1.png) | ![pattern_11](2873/previews/pattern_11.png) | ![pattern_12](2873/previews/pattern_12.png) | ![pattern_13_0](2873/previews/pattern_13_0.png) | ![pattern_13_1](2873/previews/pattern_13_1.png) | ![portrait_0](2873/previews/portrait_0.png) | ![portrait_1](2873/previews/portrait_1.png) | ![portrait_2](2873/previews/portrait_2.png) | ![full_body_0](2873/previews/full_body_0.png) | ![full_body_1](2873/previews/full_body_1.png) | ![profile_0](2873/previews/profile_0.png) | ![profile_1](2873/previews/profile_1.png) | ![free_0](2873/previews/free_0.png) | ![free_1](2873/previews/free_1.png) | ![short](2873/previews/short.png) | ![shirt_0](2873/previews/shirt_0.png) | ![shirt_1](2873/previews/shirt_1.png) | ![uniform_0](2873/previews/uniform_0.png) | ![uniform_1](2873/previews/uniform_1.png) | ![uniform_2](2873/previews/uniform_2.png) | ![suit_0](2873/previews/suit_0.png) | ![suit_1](2873/previews/suit_1.png) | ![jacket_0](2873/previews/jacket_0.png) | ![jacket_1](2873/previews/jacket_1.png) | ![swim_0](2873/previews/swim_0.png) | ![swim_1](2873/previews/swim_1.png) | ![swim_2](2873/previews/swim_2.png) | ![sit](2873/previews/sit.png) | ![squat](2873/previews/squat.png) | ![kneel](2873/previews/kneel.png) | ![jump](2873/previews/jump.png) | ![crossed_arms](2873/previews/crossed_arms.png) | ![angry](2873/previews/angry.png) | ![smile](2873/previews/smile.png) | ![cry](2873/previews/cry.png) | ![grin](2873/previews/grin.png) | ![n_stand_0](2873/previews/n_stand_0.png) | ![n_stand_1](2873/previews/n_stand_1.png) | ![n_stand_2](2873/previews/n_stand_2.png) | ## Anything Else? Because the automation of LoRA training always annoys some people. So for the following groups, it is not recommended to use this model and we express regret: 1. Individuals who cannot tolerate any deviations from the original character design, even in the slightest detail. 2. Individuals who are facing the application scenarios with high demands for accuracy in recreating character outfits. 3. Individuals who cannot accept the potential randomness in AI-generated images based on the Stable Diffusion algorithm. 4. Individuals who are not comfortable with the fully automated process of training character models using LoRA, or those who believe that training character models must be done purely through manual operations to avoid disrespecting the characters. 5. Individuals who finds the generated image content offensive to their values. ## All Steps We uploaded the files in all steps. you can check the images, metrics and download them in the following links: * [Steps From 1859 to 3380](all/0.md) * [Steps From 169 to 1690](all/1.md)