--- license: mit datasets: - CyberHarem/tohsaka_rin_fatestaynightufotable - BangumiBase/fatestaynightufotable pipeline_tag: text-to-image tags: - art - not-for-all-audiences --- # LyCORIS model of Tohsaka Rin (Fate Stay Night [UFOTABLE]) ## What Is This? This is the LyCORIS model of waifu Tohsaka Rin (Fate Stay Night [UFOTABLE]). ## How Is It Trained? * This model is trained with [HCP-Diffusion](https://github.com/7eu7d7/HCP-Diffusion). * The [auto-training framework](https://github.com/deepghs/cyberharem) is maintained by [DeepGHS Team](https://huggingface.co/deepghs). * The base model used for training is [deepghs/animefull-latest](https://huggingface.co/deepghs/animefull-latest). The architecture is `SD1.5`. * Dataset used for training is the `stage3-p480-800` in [CyberHarem/tohsaka_rin_fatestaynightufotable](https://huggingface.co/datasets/CyberHarem/tohsaka_rin_fatestaynightufotable), which contains 1381 images. * The images in the dataset is auto-cropped from anime videos, more images for other waifus in the same anime can be found in [BangumiBase/fatestaynightufotable](https://huggingface.co/datasets/BangumiBase/fatestaynightufotable) * Batch size is 4, resolution is 720x720, clustering into 5 buckets. * Batch size for regularization dataset is 1, resolution is 720x720, clustering into 10 buckets. * Trained for 10000 steps, 40 checkpoints were saved and evaluated. * **Trigger word is `tohsaka_rin_fatestaynightufotable`.** * Pruned core tags for this waifu are `long_hair, black_hair, two_side_up, ribbon, hair_ribbon, blue_eyes, brown_hair`. You can add them to the prompt when some features of waifu (e.g. hair color) are not stable. ## How to Use It? After downloading the safetensors files for the specified step, you need to use them like common LyCORIS. For example, if you want to use the model from step 3750, you need to download [`3750/tohsaka_rin_fatestaynightufotable.safetensors`](https://huggingface.co/CyberHarem/tohsaka_rin_fatestaynightufotable_lokr/resolve/main/3750/tohsaka_rin_fatestaynightufotable.safetensors) as LyCORIS. By using this LyCORIS 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 3750. 2320 images (2.12 GiB) were generated for auto-testing. ![Metrics Plot](metrics_plot.png) The base model used for generating preview images is [Meina/MeinaMix_V11](https://huggingface.co/Meina/MeinaMix_V11). Here are the preview of the recommended steps: | Step | Epoch | CCIP | AI Corrupt | Bikini Plus | Score | Download | pattern_0 | pattern_1 | pattern_2 | pattern_3_0 | pattern_3_1 | pattern_4_0 | pattern_4_1 | pattern_5_0 | pattern_5_1 | pattern_6_0 | pattern_6_1 | pattern_6_2 | pattern_7 | pattern_8_0 | pattern_8_1 | pattern_9_0 | pattern_9_1 | pattern_10 | pattern_11 | pattern_12 | pattern_13 | pattern_14_0 | pattern_14_1 | portrait_0 | portrait_1 | portrait_2 | full_body_0 | full_body_1 | profile_0 | profile_1 | free_0 | free_1 | shorts | maid_0 | maid_1 | miko | yukata | suit | china | bikini_0 | bikini_1 | bikini_2 | sit | squat | kneel | jump | crossed_arms | angry | smile | cry | grin | n_lie_0 | n_lie_1 | n_stand_0 | n_stand_1 | n_stand_2 | n_sex_0 | n_sex_1 | |-------:|--------:|:----------|:-------------|:--------------|:----------|:---------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:------------------------------------------------|:------------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:--------------------------------|:------------------------------------|:--------------------------------|:----------------------------------|:----------------------------------------|:----------------------------------------|:----------------------------------------|:------------------------------|:----------------------------------|:----------------------------------|:--------------------------------|:------------------------------------------------|:----------------------------------|:----------------------------------|:------------------------------|:--------------------------------|:--------------------------------------|:--------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:--------------------------------------|:--------------------------------------| | 3750 | 11 | **0.968** | 0.819 | 0.849 | **0.830** | [Download](https://huggingface.co/CyberHarem/tohsaka_rin_fatestaynightufotable_lokr/resolve/main/3750/tohsaka_rin_fatestaynightufotable.zip) | ![pattern_0](3750/previews/pattern_0.png) | ![pattern_1](3750/previews/pattern_1.png) | ![pattern_2](3750/previews/pattern_2.png) | ![pattern_3_0](3750/previews/pattern_3_0.png) | ![pattern_3_1](3750/previews/pattern_3_1.png) | ![pattern_4_0](3750/previews/pattern_4_0.png) | ![pattern_4_1](3750/previews/pattern_4_1.png) | ![pattern_5_0](3750/previews/pattern_5_0.png) | ![pattern_5_1](3750/previews/pattern_5_1.png) | ![pattern_6_0](3750/previews/pattern_6_0.png) | ![pattern_6_1](3750/previews/pattern_6_1.png) | ![pattern_6_2](3750/previews/pattern_6_2.png) | ![pattern_7](3750/previews/pattern_7.png) | ![pattern_8_0](3750/previews/pattern_8_0.png) | ![pattern_8_1](3750/previews/pattern_8_1.png) | ![pattern_9_0](3750/previews/pattern_9_0.png) | ![pattern_9_1](3750/previews/pattern_9_1.png) | ![pattern_10](3750/previews/pattern_10.png) | ![pattern_11](3750/previews/pattern_11.png) | ![pattern_12](3750/previews/pattern_12.png) | ![pattern_13](3750/previews/pattern_13.png) | ![pattern_14_0](3750/previews/pattern_14_0.png) | ![pattern_14_1](3750/previews/pattern_14_1.png) | ![portrait_0](3750/previews/portrait_0.png) | ![portrait_1](3750/previews/portrait_1.png) | ![portrait_2](3750/previews/portrait_2.png) | ![full_body_0](3750/previews/full_body_0.png) | ![full_body_1](3750/previews/full_body_1.png) | ![profile_0](3750/previews/profile_0.png) | ![profile_1](3750/previews/profile_1.png) | ![free_0](3750/previews/free_0.png) | ![free_1](3750/previews/free_1.png) | ![shorts](3750/previews/shorts.png) | ![maid_0](3750/previews/maid_0.png) | ![maid_1](3750/previews/maid_1.png) | ![miko](3750/previews/miko.png) | ![yukata](3750/previews/yukata.png) | ![suit](3750/previews/suit.png) | ![china](3750/previews/china.png) | ![bikini_0](3750/previews/bikini_0.png) | ![bikini_1](3750/previews/bikini_1.png) | ![bikini_2](3750/previews/bikini_2.png) | ![sit](3750/previews/sit.png) | ![squat](3750/previews/squat.png) | ![kneel](3750/previews/kneel.png) | ![jump](3750/previews/jump.png) | ![crossed_arms](3750/previews/crossed_arms.png) | ![angry](3750/previews/angry.png) | ![smile](3750/previews/smile.png) | ![cry](3750/previews/cry.png) | ![grin](3750/previews/grin.png) | ![n_lie_0](3750/previews/n_lie_0.png) | ![n_lie_1](3750/previews/n_lie_1.png) | ![n_stand_0](3750/previews/n_stand_0.png) | ![n_stand_1](3750/previews/n_stand_1.png) | ![n_stand_2](3750/previews/n_stand_2.png) | ![n_sex_0](3750/previews/n_sex_0.png) | ![n_sex_1](3750/previews/n_sex_1.png) | | 2250 | 7 | 0.968 | 0.838 | 0.849 | 0.829 | [Download](https://huggingface.co/CyberHarem/tohsaka_rin_fatestaynightufotable_lokr/resolve/main/2250/tohsaka_rin_fatestaynightufotable.zip) | ![pattern_0](2250/previews/pattern_0.png) | ![pattern_1](2250/previews/pattern_1.png) | ![pattern_2](2250/previews/pattern_2.png) | ![pattern_3_0](2250/previews/pattern_3_0.png) | ![pattern_3_1](2250/previews/pattern_3_1.png) | ![pattern_4_0](2250/previews/pattern_4_0.png) | ![pattern_4_1](2250/previews/pattern_4_1.png) | ![pattern_5_0](2250/previews/pattern_5_0.png) | ![pattern_5_1](2250/previews/pattern_5_1.png) | ![pattern_6_0](2250/previews/pattern_6_0.png) | ![pattern_6_1](2250/previews/pattern_6_1.png) | ![pattern_6_2](2250/previews/pattern_6_2.png) | ![pattern_7](2250/previews/pattern_7.png) | ![pattern_8_0](2250/previews/pattern_8_0.png) | ![pattern_8_1](2250/previews/pattern_8_1.png) | ![pattern_9_0](2250/previews/pattern_9_0.png) | ![pattern_9_1](2250/previews/pattern_9_1.png) | ![pattern_10](2250/previews/pattern_10.png) | ![pattern_11](2250/previews/pattern_11.png) | ![pattern_12](2250/previews/pattern_12.png) | ![pattern_13](2250/previews/pattern_13.png) | ![pattern_14_0](2250/previews/pattern_14_0.png) | ![pattern_14_1](2250/previews/pattern_14_1.png) | ![portrait_0](2250/previews/portrait_0.png) | ![portrait_1](2250/previews/portrait_1.png) | ![portrait_2](2250/previews/portrait_2.png) | ![full_body_0](2250/previews/full_body_0.png) | ![full_body_1](2250/previews/full_body_1.png) | ![profile_0](2250/previews/profile_0.png) | ![profile_1](2250/previews/profile_1.png) | ![free_0](2250/previews/free_0.png) | ![free_1](2250/previews/free_1.png) | ![shorts](2250/previews/shorts.png) | ![maid_0](2250/previews/maid_0.png) | ![maid_1](2250/previews/maid_1.png) | ![miko](2250/previews/miko.png) | ![yukata](2250/previews/yukata.png) | ![suit](2250/previews/suit.png) | ![china](2250/previews/china.png) | ![bikini_0](2250/previews/bikini_0.png) | ![bikini_1](2250/previews/bikini_1.png) | ![bikini_2](2250/previews/bikini_2.png) | ![sit](2250/previews/sit.png) | ![squat](2250/previews/squat.png) | ![kneel](2250/previews/kneel.png) | ![jump](2250/previews/jump.png) | ![crossed_arms](2250/previews/crossed_arms.png) | ![angry](2250/previews/angry.png) | ![smile](2250/previews/smile.png) | ![cry](2250/previews/cry.png) | ![grin](2250/previews/grin.png) | ![n_lie_0](2250/previews/n_lie_0.png) | ![n_lie_1](2250/previews/n_lie_1.png) | ![n_stand_0](2250/previews/n_stand_0.png) | ![n_stand_1](2250/previews/n_stand_1.png) | ![n_stand_2](2250/previews/n_stand_2.png) | ![n_sex_0](2250/previews/n_sex_0.png) | ![n_sex_1](2250/previews/n_sex_1.png) | | 1500 | 5 | 0.964 | 0.822 | **0.859** | 0.825 | [Download](https://huggingface.co/CyberHarem/tohsaka_rin_fatestaynightufotable_lokr/resolve/main/1500/tohsaka_rin_fatestaynightufotable.zip) | ![pattern_0](1500/previews/pattern_0.png) | ![pattern_1](1500/previews/pattern_1.png) | ![pattern_2](1500/previews/pattern_2.png) | ![pattern_3_0](1500/previews/pattern_3_0.png) | ![pattern_3_1](1500/previews/pattern_3_1.png) | ![pattern_4_0](1500/previews/pattern_4_0.png) | ![pattern_4_1](1500/previews/pattern_4_1.png) | ![pattern_5_0](1500/previews/pattern_5_0.png) | ![pattern_5_1](1500/previews/pattern_5_1.png) | ![pattern_6_0](1500/previews/pattern_6_0.png) | ![pattern_6_1](1500/previews/pattern_6_1.png) | ![pattern_6_2](1500/previews/pattern_6_2.png) | ![pattern_7](1500/previews/pattern_7.png) | ![pattern_8_0](1500/previews/pattern_8_0.png) | ![pattern_8_1](1500/previews/pattern_8_1.png) | ![pattern_9_0](1500/previews/pattern_9_0.png) | ![pattern_9_1](1500/previews/pattern_9_1.png) | ![pattern_10](1500/previews/pattern_10.png) | ![pattern_11](1500/previews/pattern_11.png) | ![pattern_12](1500/previews/pattern_12.png) | ![pattern_13](1500/previews/pattern_13.png) | ![pattern_14_0](1500/previews/pattern_14_0.png) | ![pattern_14_1](1500/previews/pattern_14_1.png) | ![portrait_0](1500/previews/portrait_0.png) | ![portrait_1](1500/previews/portrait_1.png) | ![portrait_2](1500/previews/portrait_2.png) | ![full_body_0](1500/previews/full_body_0.png) | ![full_body_1](1500/previews/full_body_1.png) | ![profile_0](1500/previews/profile_0.png) | ![profile_1](1500/previews/profile_1.png) | ![free_0](1500/previews/free_0.png) | ![free_1](1500/previews/free_1.png) | ![shorts](1500/previews/shorts.png) | ![maid_0](1500/previews/maid_0.png) | ![maid_1](1500/previews/maid_1.png) | ![miko](1500/previews/miko.png) | ![yukata](1500/previews/yukata.png) | ![suit](1500/previews/suit.png) | ![china](1500/previews/china.png) | ![bikini_0](1500/previews/bikini_0.png) | ![bikini_1](1500/previews/bikini_1.png) | ![bikini_2](1500/previews/bikini_2.png) | ![sit](1500/previews/sit.png) | ![squat](1500/previews/squat.png) | ![kneel](1500/previews/kneel.png) | ![jump](1500/previews/jump.png) | ![crossed_arms](1500/previews/crossed_arms.png) | ![angry](1500/previews/angry.png) | ![smile](1500/previews/smile.png) | ![cry](1500/previews/cry.png) | ![grin](1500/previews/grin.png) | ![n_lie_0](1500/previews/n_lie_0.png) | ![n_lie_1](1500/previews/n_lie_1.png) | ![n_stand_0](1500/previews/n_stand_0.png) | ![n_stand_1](1500/previews/n_stand_1.png) | ![n_stand_2](1500/previews/n_stand_2.png) | ![n_sex_0](1500/previews/n_sex_0.png) | ![n_sex_1](1500/previews/n_sex_1.png) | | 2750 | 8 | 0.965 | 0.819 | 0.849 | 0.817 | [Download](https://huggingface.co/CyberHarem/tohsaka_rin_fatestaynightufotable_lokr/resolve/main/2750/tohsaka_rin_fatestaynightufotable.zip) | ![pattern_0](2750/previews/pattern_0.png) | ![pattern_1](2750/previews/pattern_1.png) | ![pattern_2](2750/previews/pattern_2.png) | ![pattern_3_0](2750/previews/pattern_3_0.png) | ![pattern_3_1](2750/previews/pattern_3_1.png) | ![pattern_4_0](2750/previews/pattern_4_0.png) | ![pattern_4_1](2750/previews/pattern_4_1.png) | ![pattern_5_0](2750/previews/pattern_5_0.png) | ![pattern_5_1](2750/previews/pattern_5_1.png) | ![pattern_6_0](2750/previews/pattern_6_0.png) | ![pattern_6_1](2750/previews/pattern_6_1.png) | ![pattern_6_2](2750/previews/pattern_6_2.png) | ![pattern_7](2750/previews/pattern_7.png) | ![pattern_8_0](2750/previews/pattern_8_0.png) | ![pattern_8_1](2750/previews/pattern_8_1.png) | ![pattern_9_0](2750/previews/pattern_9_0.png) | ![pattern_9_1](2750/previews/pattern_9_1.png) | ![pattern_10](2750/previews/pattern_10.png) | ![pattern_11](2750/previews/pattern_11.png) | ![pattern_12](2750/previews/pattern_12.png) | ![pattern_13](2750/previews/pattern_13.png) | ![pattern_14_0](2750/previews/pattern_14_0.png) | ![pattern_14_1](2750/previews/pattern_14_1.png) | ![portrait_0](2750/previews/portrait_0.png) | ![portrait_1](2750/previews/portrait_1.png) | ![portrait_2](2750/previews/portrait_2.png) | ![full_body_0](2750/previews/full_body_0.png) | ![full_body_1](2750/previews/full_body_1.png) | ![profile_0](2750/previews/profile_0.png) | ![profile_1](2750/previews/profile_1.png) | ![free_0](2750/previews/free_0.png) | ![free_1](2750/previews/free_1.png) | ![shorts](2750/previews/shorts.png) | ![maid_0](2750/previews/maid_0.png) | ![maid_1](2750/previews/maid_1.png) | ![miko](2750/previews/miko.png) | ![yukata](2750/previews/yukata.png) | ![suit](2750/previews/suit.png) | ![china](2750/previews/china.png) | ![bikini_0](2750/previews/bikini_0.png) | ![bikini_1](2750/previews/bikini_1.png) | ![bikini_2](2750/previews/bikini_2.png) | ![sit](2750/previews/sit.png) | ![squat](2750/previews/squat.png) | ![kneel](2750/previews/kneel.png) | ![jump](2750/previews/jump.png) | ![crossed_arms](2750/previews/crossed_arms.png) | ![angry](2750/previews/angry.png) | ![smile](2750/previews/smile.png) | ![cry](2750/previews/cry.png) | ![grin](2750/previews/grin.png) | ![n_lie_0](2750/previews/n_lie_0.png) | ![n_lie_1](2750/previews/n_lie_1.png) | ![n_stand_0](2750/previews/n_stand_0.png) | ![n_stand_1](2750/previews/n_stand_1.png) | ![n_stand_2](2750/previews/n_stand_2.png) | ![n_sex_0](2750/previews/n_sex_0.png) | ![n_sex_1](2750/previews/n_sex_1.png) | | 1250 | 4 | 0.959 | **0.851** | 0.852 | 0.796 | [Download](https://huggingface.co/CyberHarem/tohsaka_rin_fatestaynightufotable_lokr/resolve/main/1250/tohsaka_rin_fatestaynightufotable.zip) | ![pattern_0](1250/previews/pattern_0.png) | ![pattern_1](1250/previews/pattern_1.png) | ![pattern_2](1250/previews/pattern_2.png) | ![pattern_3_0](1250/previews/pattern_3_0.png) | ![pattern_3_1](1250/previews/pattern_3_1.png) | ![pattern_4_0](1250/previews/pattern_4_0.png) | ![pattern_4_1](1250/previews/pattern_4_1.png) | ![pattern_5_0](1250/previews/pattern_5_0.png) | ![pattern_5_1](1250/previews/pattern_5_1.png) | ![pattern_6_0](1250/previews/pattern_6_0.png) | ![pattern_6_1](1250/previews/pattern_6_1.png) | ![pattern_6_2](1250/previews/pattern_6_2.png) | ![pattern_7](1250/previews/pattern_7.png) | ![pattern_8_0](1250/previews/pattern_8_0.png) | ![pattern_8_1](1250/previews/pattern_8_1.png) | ![pattern_9_0](1250/previews/pattern_9_0.png) | ![pattern_9_1](1250/previews/pattern_9_1.png) | ![pattern_10](1250/previews/pattern_10.png) | ![pattern_11](1250/previews/pattern_11.png) | ![pattern_12](1250/previews/pattern_12.png) | ![pattern_13](1250/previews/pattern_13.png) | ![pattern_14_0](1250/previews/pattern_14_0.png) | ![pattern_14_1](1250/previews/pattern_14_1.png) | ![portrait_0](1250/previews/portrait_0.png) | ![portrait_1](1250/previews/portrait_1.png) | ![portrait_2](1250/previews/portrait_2.png) | ![full_body_0](1250/previews/full_body_0.png) | ![full_body_1](1250/previews/full_body_1.png) | ![profile_0](1250/previews/profile_0.png) | ![profile_1](1250/previews/profile_1.png) | ![free_0](1250/previews/free_0.png) | ![free_1](1250/previews/free_1.png) | ![shorts](1250/previews/shorts.png) | ![maid_0](1250/previews/maid_0.png) | ![maid_1](1250/previews/maid_1.png) | ![miko](1250/previews/miko.png) | ![yukata](1250/previews/yukata.png) | ![suit](1250/previews/suit.png) | ![china](1250/previews/china.png) | ![bikini_0](1250/previews/bikini_0.png) | ![bikini_1](1250/previews/bikini_1.png) | ![bikini_2](1250/previews/bikini_2.png) | ![sit](1250/previews/sit.png) | ![squat](1250/previews/squat.png) | ![kneel](1250/previews/kneel.png) | ![jump](1250/previews/jump.png) | ![crossed_arms](1250/previews/crossed_arms.png) | ![angry](1250/previews/angry.png) | ![smile](1250/previews/smile.png) | ![cry](1250/previews/cry.png) | ![grin](1250/previews/grin.png) | ![n_lie_0](1250/previews/n_lie_0.png) | ![n_lie_1](1250/previews/n_lie_1.png) | ![n_stand_0](1250/previews/n_stand_0.png) | ![n_stand_1](1250/previews/n_stand_1.png) | ![n_stand_2](1250/previews/n_stand_2.png) | ![n_sex_0](1250/previews/n_sex_0.png) | ![n_sex_1](1250/previews/n_sex_1.png) | ## Anything Else? Because the automation of LyCORIS 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 LyCORIS, 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 7750 to 10000](all/0.md) * [Steps From 5250 to 7500](all/1.md) * [Steps From 2750 to 5000](all/2.md) * [Steps From 250 to 2500](all/3.md)