--- license: mit datasets: - CyberHarem/alhaitham_genshin pipeline_tag: text-to-image tags: - art - not-for-all-audiences --- # LoRA model of alhaitham/アルハイゼン/艾尔海森 (Genshin Impact) ## What Is This? This is the LoRA model of waifu alhaitham/アルハイゼン/艾尔海森 (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/alhaitham_genshin](https://huggingface.co/datasets/CyberHarem/alhaitham_genshin), which contains 1249 images. * **Trigger word is `alhaitham_genshin`.** * Pruned core tags for this waifu are `grey hair, short hair, multicolored hair, green eyes, ahoge, hair over one eye, swept bangs, sidelocks, hair between eyes, 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/alhaitham_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 1162, you need to download [`1162/alhaitham_genshin.safetensors`](https://huggingface.co/CyberHarem/alhaitham_genshin/resolve/main/1162/alhaitham_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 1162. 1220 images (1.23 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_0 | pattern_0_1 | pattern_1 | pattern_2_0 | pattern_2_1 | pattern_3_0 | pattern_3_1 | pattern_4_0 | pattern_4_1 | pattern_5_0 | pattern_5_1 | pattern_6 | pattern_7_0 | pattern_7_1 | pattern_8 | pattern_9 | pattern_10_0 | pattern_10_1 | pattern_11 | pattern_12 | pattern_13 | pattern_14_0 | pattern_14_1 | pattern_15 | pattern_16 | pattern_17 | pattern_18 | 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 | |-------:|--------:|:----------|:-------------|:--------------|:----------|:--------------------------------------------------------------------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------------|:------------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:------------------------------------------------|:------------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------|:------------------------------------|:----------------------------------|:--------------------------------------|:--------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------|:------------------------------------|:----------------------------------------|:----------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:------------------------------|:----------------------------------|:----------------------------------|:--------------------------------|:------------------------------------------------|:----------------------------------|:----------------------------------|:------------------------------|:--------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------| | 1162 | 7 | 0.993 | 0.987 | 0.815 | **0.761** | [Download](https://huggingface.co/CyberHarem/alhaitham_genshin/resolve/main/1162/alhaitham_genshin.zip) | ![pattern_0_0](1162/previews/pattern_0_0.png) | ![pattern_0_1](1162/previews/pattern_0_1.png) | ![pattern_1](1162/previews/pattern_1.png) | ![pattern_2_0](1162/previews/pattern_2_0.png) | ![pattern_2_1](1162/previews/pattern_2_1.png) | ![pattern_3_0](1162/previews/pattern_3_0.png) | ![pattern_3_1](1162/previews/pattern_3_1.png) | ![pattern_4_0](1162/previews/pattern_4_0.png) | ![pattern_4_1](1162/previews/pattern_4_1.png) | ![pattern_5_0](1162/previews/pattern_5_0.png) | ![pattern_5_1](1162/previews/pattern_5_1.png) | ![pattern_6](1162/previews/pattern_6.png) | ![pattern_7_0](1162/previews/pattern_7_0.png) | ![pattern_7_1](1162/previews/pattern_7_1.png) | ![pattern_8](1162/previews/pattern_8.png) | ![pattern_9](1162/previews/pattern_9.png) | ![pattern_10_0](1162/previews/pattern_10_0.png) | ![pattern_10_1](1162/previews/pattern_10_1.png) | ![pattern_11](1162/previews/pattern_11.png) | ![pattern_12](1162/previews/pattern_12.png) | ![pattern_13](1162/previews/pattern_13.png) | ![pattern_14_0](1162/previews/pattern_14_0.png) | ![pattern_14_1](1162/previews/pattern_14_1.png) | ![pattern_15](1162/previews/pattern_15.png) | ![pattern_16](1162/previews/pattern_16.png) | ![pattern_17](1162/previews/pattern_17.png) | ![pattern_18](1162/previews/pattern_18.png) | ![portrait_0](1162/previews/portrait_0.png) | ![portrait_1](1162/previews/portrait_1.png) | ![portrait_2](1162/previews/portrait_2.png) | ![full_body_0](1162/previews/full_body_0.png) | ![full_body_1](1162/previews/full_body_1.png) | ![profile_0](1162/previews/profile_0.png) | ![profile_1](1162/previews/profile_1.png) | ![free_0](1162/previews/free_0.png) | ![free_1](1162/previews/free_1.png) | ![short](1162/previews/short.png) | ![shirt_0](1162/previews/shirt_0.png) | ![shirt_1](1162/previews/shirt_1.png) | ![uniform_0](1162/previews/uniform_0.png) | ![uniform_1](1162/previews/uniform_1.png) | ![uniform_2](1162/previews/uniform_2.png) | ![suit_0](1162/previews/suit_0.png) | ![suit_1](1162/previews/suit_1.png) | ![jacket_0](1162/previews/jacket_0.png) | ![jacket_1](1162/previews/jacket_1.png) | ![swim_0](1162/previews/swim_0.png) | ![swim_1](1162/previews/swim_1.png) | ![swim_2](1162/previews/swim_2.png) | ![sit](1162/previews/sit.png) | ![squat](1162/previews/squat.png) | ![kneel](1162/previews/kneel.png) | ![jump](1162/previews/jump.png) | ![crossed_arms](1162/previews/crossed_arms.png) | ![angry](1162/previews/angry.png) | ![smile](1162/previews/smile.png) | ![cry](1162/previews/cry.png) | ![grin](1162/previews/grin.png) | ![n_stand_0](1162/previews/n_stand_0.png) | ![n_stand_1](1162/previews/n_stand_1.png) | ![n_stand_2](1162/previews/n_stand_2.png) | | 3320 | 20 | 0.993 | 0.984 | 0.814 | 0.759 | [Download](https://huggingface.co/CyberHarem/alhaitham_genshin/resolve/main/3320/alhaitham_genshin.zip) | ![pattern_0_0](3320/previews/pattern_0_0.png) | ![pattern_0_1](3320/previews/pattern_0_1.png) | ![pattern_1](3320/previews/pattern_1.png) | ![pattern_2_0](3320/previews/pattern_2_0.png) | ![pattern_2_1](3320/previews/pattern_2_1.png) | ![pattern_3_0](3320/previews/pattern_3_0.png) | ![pattern_3_1](3320/previews/pattern_3_1.png) | ![pattern_4_0](3320/previews/pattern_4_0.png) | ![pattern_4_1](3320/previews/pattern_4_1.png) | ![pattern_5_0](3320/previews/pattern_5_0.png) | ![pattern_5_1](3320/previews/pattern_5_1.png) | ![pattern_6](3320/previews/pattern_6.png) | ![pattern_7_0](3320/previews/pattern_7_0.png) | ![pattern_7_1](3320/previews/pattern_7_1.png) | ![pattern_8](3320/previews/pattern_8.png) | ![pattern_9](3320/previews/pattern_9.png) | ![pattern_10_0](3320/previews/pattern_10_0.png) | ![pattern_10_1](3320/previews/pattern_10_1.png) | ![pattern_11](3320/previews/pattern_11.png) | ![pattern_12](3320/previews/pattern_12.png) | ![pattern_13](3320/previews/pattern_13.png) | ![pattern_14_0](3320/previews/pattern_14_0.png) | ![pattern_14_1](3320/previews/pattern_14_1.png) | ![pattern_15](3320/previews/pattern_15.png) | ![pattern_16](3320/previews/pattern_16.png) | ![pattern_17](3320/previews/pattern_17.png) | ![pattern_18](3320/previews/pattern_18.png) | ![portrait_0](3320/previews/portrait_0.png) | ![portrait_1](3320/previews/portrait_1.png) | ![portrait_2](3320/previews/portrait_2.png) | ![full_body_0](3320/previews/full_body_0.png) | ![full_body_1](3320/previews/full_body_1.png) | ![profile_0](3320/previews/profile_0.png) | ![profile_1](3320/previews/profile_1.png) | ![free_0](3320/previews/free_0.png) | ![free_1](3320/previews/free_1.png) | ![short](3320/previews/short.png) | ![shirt_0](3320/previews/shirt_0.png) | ![shirt_1](3320/previews/shirt_1.png) | ![uniform_0](3320/previews/uniform_0.png) | ![uniform_1](3320/previews/uniform_1.png) | ![uniform_2](3320/previews/uniform_2.png) | ![suit_0](3320/previews/suit_0.png) | ![suit_1](3320/previews/suit_1.png) | ![jacket_0](3320/previews/jacket_0.png) | ![jacket_1](3320/previews/jacket_1.png) | ![swim_0](3320/previews/swim_0.png) | ![swim_1](3320/previews/swim_1.png) | ![swim_2](3320/previews/swim_2.png) | ![sit](3320/previews/sit.png) | ![squat](3320/previews/squat.png) | ![kneel](3320/previews/kneel.png) | ![jump](3320/previews/jump.png) | ![crossed_arms](3320/previews/crossed_arms.png) | ![angry](3320/previews/angry.png) | ![smile](3320/previews/smile.png) | ![cry](3320/previews/cry.png) | ![grin](3320/previews/grin.png) | ![n_stand_0](3320/previews/n_stand_0.png) | ![n_stand_1](3320/previews/n_stand_1.png) | ![n_stand_2](3320/previews/n_stand_2.png) | | 1992 | 12 | **0.993** | 0.983 | 0.809 | 0.750 | [Download](https://huggingface.co/CyberHarem/alhaitham_genshin/resolve/main/1992/alhaitham_genshin.zip) | ![pattern_0_0](1992/previews/pattern_0_0.png) | ![pattern_0_1](1992/previews/pattern_0_1.png) | ![pattern_1](1992/previews/pattern_1.png) | ![pattern_2_0](1992/previews/pattern_2_0.png) | ![pattern_2_1](1992/previews/pattern_2_1.png) | ![pattern_3_0](1992/previews/pattern_3_0.png) | ![pattern_3_1](1992/previews/pattern_3_1.png) | ![pattern_4_0](1992/previews/pattern_4_0.png) | ![pattern_4_1](1992/previews/pattern_4_1.png) | ![pattern_5_0](1992/previews/pattern_5_0.png) | ![pattern_5_1](1992/previews/pattern_5_1.png) | ![pattern_6](1992/previews/pattern_6.png) | ![pattern_7_0](1992/previews/pattern_7_0.png) | ![pattern_7_1](1992/previews/pattern_7_1.png) | ![pattern_8](1992/previews/pattern_8.png) | ![pattern_9](1992/previews/pattern_9.png) | ![pattern_10_0](1992/previews/pattern_10_0.png) | ![pattern_10_1](1992/previews/pattern_10_1.png) | ![pattern_11](1992/previews/pattern_11.png) | ![pattern_12](1992/previews/pattern_12.png) | ![pattern_13](1992/previews/pattern_13.png) | ![pattern_14_0](1992/previews/pattern_14_0.png) | ![pattern_14_1](1992/previews/pattern_14_1.png) | ![pattern_15](1992/previews/pattern_15.png) | ![pattern_16](1992/previews/pattern_16.png) | ![pattern_17](1992/previews/pattern_17.png) | ![pattern_18](1992/previews/pattern_18.png) | ![portrait_0](1992/previews/portrait_0.png) | ![portrait_1](1992/previews/portrait_1.png) | ![portrait_2](1992/previews/portrait_2.png) | ![full_body_0](1992/previews/full_body_0.png) | ![full_body_1](1992/previews/full_body_1.png) | ![profile_0](1992/previews/profile_0.png) | ![profile_1](1992/previews/profile_1.png) | ![free_0](1992/previews/free_0.png) | ![free_1](1992/previews/free_1.png) | ![short](1992/previews/short.png) | ![shirt_0](1992/previews/shirt_0.png) | ![shirt_1](1992/previews/shirt_1.png) | ![uniform_0](1992/previews/uniform_0.png) | ![uniform_1](1992/previews/uniform_1.png) | ![uniform_2](1992/previews/uniform_2.png) | ![suit_0](1992/previews/suit_0.png) | ![suit_1](1992/previews/suit_1.png) | ![jacket_0](1992/previews/jacket_0.png) | ![jacket_1](1992/previews/jacket_1.png) | ![swim_0](1992/previews/swim_0.png) | ![swim_1](1992/previews/swim_1.png) | ![swim_2](1992/previews/swim_2.png) | ![sit](1992/previews/sit.png) | ![squat](1992/previews/squat.png) | ![kneel](1992/previews/kneel.png) | ![jump](1992/previews/jump.png) | ![crossed_arms](1992/previews/crossed_arms.png) | ![angry](1992/previews/angry.png) | ![smile](1992/previews/smile.png) | ![cry](1992/previews/cry.png) | ![grin](1992/previews/grin.png) | ![n_stand_0](1992/previews/n_stand_0.png) | ![n_stand_1](1992/previews/n_stand_1.png) | ![n_stand_2](1992/previews/n_stand_2.png) | | 1494 | 9 | 0.992 | 0.986 | **0.817** | 0.727 | [Download](https://huggingface.co/CyberHarem/alhaitham_genshin/resolve/main/1494/alhaitham_genshin.zip) | ![pattern_0_0](1494/previews/pattern_0_0.png) | ![pattern_0_1](1494/previews/pattern_0_1.png) | ![pattern_1](1494/previews/pattern_1.png) | ![pattern_2_0](1494/previews/pattern_2_0.png) | ![pattern_2_1](1494/previews/pattern_2_1.png) | ![pattern_3_0](1494/previews/pattern_3_0.png) | ![pattern_3_1](1494/previews/pattern_3_1.png) | ![pattern_4_0](1494/previews/pattern_4_0.png) | ![pattern_4_1](1494/previews/pattern_4_1.png) | ![pattern_5_0](1494/previews/pattern_5_0.png) | ![pattern_5_1](1494/previews/pattern_5_1.png) | ![pattern_6](1494/previews/pattern_6.png) | ![pattern_7_0](1494/previews/pattern_7_0.png) | ![pattern_7_1](1494/previews/pattern_7_1.png) | ![pattern_8](1494/previews/pattern_8.png) | ![pattern_9](1494/previews/pattern_9.png) | ![pattern_10_0](1494/previews/pattern_10_0.png) | ![pattern_10_1](1494/previews/pattern_10_1.png) | ![pattern_11](1494/previews/pattern_11.png) | ![pattern_12](1494/previews/pattern_12.png) | ![pattern_13](1494/previews/pattern_13.png) | ![pattern_14_0](1494/previews/pattern_14_0.png) | ![pattern_14_1](1494/previews/pattern_14_1.png) | ![pattern_15](1494/previews/pattern_15.png) | ![pattern_16](1494/previews/pattern_16.png) | ![pattern_17](1494/previews/pattern_17.png) | ![pattern_18](1494/previews/pattern_18.png) | ![portrait_0](1494/previews/portrait_0.png) | ![portrait_1](1494/previews/portrait_1.png) | ![portrait_2](1494/previews/portrait_2.png) | ![full_body_0](1494/previews/full_body_0.png) | ![full_body_1](1494/previews/full_body_1.png) | ![profile_0](1494/previews/profile_0.png) | ![profile_1](1494/previews/profile_1.png) | ![free_0](1494/previews/free_0.png) | ![free_1](1494/previews/free_1.png) | ![short](1494/previews/short.png) | ![shirt_0](1494/previews/shirt_0.png) | ![shirt_1](1494/previews/shirt_1.png) | ![uniform_0](1494/previews/uniform_0.png) | ![uniform_1](1494/previews/uniform_1.png) | ![uniform_2](1494/previews/uniform_2.png) | ![suit_0](1494/previews/suit_0.png) | ![suit_1](1494/previews/suit_1.png) | ![jacket_0](1494/previews/jacket_0.png) | ![jacket_1](1494/previews/jacket_1.png) | ![swim_0](1494/previews/swim_0.png) | ![swim_1](1494/previews/swim_1.png) | ![swim_2](1494/previews/swim_2.png) | ![sit](1494/previews/sit.png) | ![squat](1494/previews/squat.png) | ![kneel](1494/previews/kneel.png) | ![jump](1494/previews/jump.png) | ![crossed_arms](1494/previews/crossed_arms.png) | ![angry](1494/previews/angry.png) | ![smile](1494/previews/smile.png) | ![cry](1494/previews/cry.png) | ![grin](1494/previews/grin.png) | ![n_stand_0](1494/previews/n_stand_0.png) | ![n_stand_1](1494/previews/n_stand_1.png) | ![n_stand_2](1494/previews/n_stand_2.png) | | 664 | 4 | 0.991 | **0.991** | 0.815 | 0.711 | [Download](https://huggingface.co/CyberHarem/alhaitham_genshin/resolve/main/664/alhaitham_genshin.zip) | ![pattern_0_0](664/previews/pattern_0_0.png) | ![pattern_0_1](664/previews/pattern_0_1.png) | ![pattern_1](664/previews/pattern_1.png) | ![pattern_2_0](664/previews/pattern_2_0.png) | ![pattern_2_1](664/previews/pattern_2_1.png) | ![pattern_3_0](664/previews/pattern_3_0.png) | ![pattern_3_1](664/previews/pattern_3_1.png) | ![pattern_4_0](664/previews/pattern_4_0.png) | ![pattern_4_1](664/previews/pattern_4_1.png) | ![pattern_5_0](664/previews/pattern_5_0.png) | ![pattern_5_1](664/previews/pattern_5_1.png) | ![pattern_6](664/previews/pattern_6.png) | ![pattern_7_0](664/previews/pattern_7_0.png) | ![pattern_7_1](664/previews/pattern_7_1.png) | ![pattern_8](664/previews/pattern_8.png) | ![pattern_9](664/previews/pattern_9.png) | ![pattern_10_0](664/previews/pattern_10_0.png) | ![pattern_10_1](664/previews/pattern_10_1.png) | ![pattern_11](664/previews/pattern_11.png) | ![pattern_12](664/previews/pattern_12.png) | ![pattern_13](664/previews/pattern_13.png) | ![pattern_14_0](664/previews/pattern_14_0.png) | ![pattern_14_1](664/previews/pattern_14_1.png) | ![pattern_15](664/previews/pattern_15.png) | ![pattern_16](664/previews/pattern_16.png) | ![pattern_17](664/previews/pattern_17.png) | ![pattern_18](664/previews/pattern_18.png) | ![portrait_0](664/previews/portrait_0.png) | ![portrait_1](664/previews/portrait_1.png) | ![portrait_2](664/previews/portrait_2.png) | ![full_body_0](664/previews/full_body_0.png) | ![full_body_1](664/previews/full_body_1.png) | ![profile_0](664/previews/profile_0.png) | ![profile_1](664/previews/profile_1.png) | ![free_0](664/previews/free_0.png) | ![free_1](664/previews/free_1.png) | ![short](664/previews/short.png) | ![shirt_0](664/previews/shirt_0.png) | ![shirt_1](664/previews/shirt_1.png) | ![uniform_0](664/previews/uniform_0.png) | ![uniform_1](664/previews/uniform_1.png) | ![uniform_2](664/previews/uniform_2.png) | ![suit_0](664/previews/suit_0.png) | ![suit_1](664/previews/suit_1.png) | ![jacket_0](664/previews/jacket_0.png) | ![jacket_1](664/previews/jacket_1.png) | ![swim_0](664/previews/swim_0.png) | ![swim_1](664/previews/swim_1.png) | ![swim_2](664/previews/swim_2.png) | ![sit](664/previews/sit.png) | ![squat](664/previews/squat.png) | ![kneel](664/previews/kneel.png) | ![jump](664/previews/jump.png) | ![crossed_arms](664/previews/crossed_arms.png) | ![angry](664/previews/angry.png) | ![smile](664/previews/smile.png) | ![cry](664/previews/cry.png) | ![grin](664/previews/grin.png) | ![n_stand_0](664/previews/n_stand_0.png) | ![n_stand_1](664/previews/n_stand_1.png) | ![n_stand_2](664/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 1826 to 3320](all/0.md) * [Steps From 166 to 1660](all/1.md)