--- license: mit datasets: - CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru - BangumiBase/yahariorenoseishunlovecomewamachigatteiru pipeline_tag: text-to-image tags: - art - not-for-all-audiences --- # Lora of Hikigaya Komachi (Yahari Ore no Seishun LoveCome wa Machigatte Iru) ## What Is This? This is the LoRA model of waifu Hikigaya Komachi (Yahari Ore no Seishun LoveCome wa Machigatte Iru). ## 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). * Dataset used for training is the `stage3-p480-800` in [CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru](https://huggingface.co/datasets/CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru), which contains 463 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/yahariorenoseishunlovecomewamachigatteiru](https://huggingface.co/datasets/BangumiBase/yahariorenoseishunlovecomewamachigatteiru) * Batch size is 4, resolution is 720x720, clustering into 5 buckets. * Batch size for regularization dataset is 7, resolution is 720x720, clustering into 10 buckets. * Trained for 4640 steps, 40 checkpoints were saved and evaluated. * **Trigger word is `hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru`.** * Pruned core tags for this waifu are `short_hair, black_hair, ahoge, hair_ornament, hairclip, x_hair_ornament`. You can add them to the prompt when some features of waifu (e.g. hair color) are not stable. ## How to Use It? ### If You Are Using A1111 WebUI v1.7+ **Just use it like the classic LoRA**. The LoRA we provided are bundled with the embedding file. ### If You Are Using A1111 WebUI v1.6 or Lower After downloading the pt and safetensors files for the specified step, you need to use them simultaneously. The pt file will be used as an embedding, while the safetensors file will be loaded for Lora. For example, if you want to use the model from step 1624, you need to download [`1624/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.pt`](https://huggingface.co/CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru/resolve/main/1624/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.pt) as the embedding and [`1624/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.safetensors`](https://huggingface.co/CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru/resolve/main/1624/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.safetensors) for loading Lora. By using both files together, 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 1624. 1720 images (1.41 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_0 | pattern_0_1 | pattern_0_2 | pattern_1 | pattern_2 | pattern_3 | pattern_4 | pattern_5 | 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 | |-------:|--------:|:----------|:-------------|:--------------|:----------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:--------------------------------------------|:--------------------------------------------|:--------------------------------------------|:----------------------------------------------|:----------------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:------------------------------------|:--------------------------------|:------------------------------------|:--------------------------------|:----------------------------------|:----------------------------------------|:----------------------------------------|:----------------------------------------|:------------------------------|:----------------------------------|:----------------------------------|:--------------------------------|:------------------------------------------------|:----------------------------------|:----------------------------------|:------------------------------|:--------------------------------|:--------------------------------------|:--------------------------------------|:------------------------------------------|:------------------------------------------|:------------------------------------------|:--------------------------------------|:--------------------------------------| | 1624 | 15 | 0.768 | 0.900 | 0.828 | **0.802** | [Download](https://huggingface.co/CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru/resolve/main/1624/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.zip) | ![pattern_0_0](1624/previews/pattern_0_0.png) | ![pattern_0_1](1624/previews/pattern_0_1.png) | ![pattern_0_2](1624/previews/pattern_0_2.png) | ![pattern_1](1624/previews/pattern_1.png) | ![pattern_2](1624/previews/pattern_2.png) | ![pattern_3](1624/previews/pattern_3.png) | ![pattern_4](1624/previews/pattern_4.png) | ![pattern_5](1624/previews/pattern_5.png) | ![portrait_0](1624/previews/portrait_0.png) | ![portrait_1](1624/previews/portrait_1.png) | ![portrait_2](1624/previews/portrait_2.png) | ![full_body_0](1624/previews/full_body_0.png) | ![full_body_1](1624/previews/full_body_1.png) | ![profile_0](1624/previews/profile_0.png) | ![profile_1](1624/previews/profile_1.png) | ![free_0](1624/previews/free_0.png) | ![free_1](1624/previews/free_1.png) | ![shorts](1624/previews/shorts.png) | ![maid_0](1624/previews/maid_0.png) | ![maid_1](1624/previews/maid_1.png) | ![miko](1624/previews/miko.png) | ![yukata](1624/previews/yukata.png) | ![suit](1624/previews/suit.png) | ![china](1624/previews/china.png) | ![bikini_0](1624/previews/bikini_0.png) | ![bikini_1](1624/previews/bikini_1.png) | ![bikini_2](1624/previews/bikini_2.png) | ![sit](1624/previews/sit.png) | ![squat](1624/previews/squat.png) | ![kneel](1624/previews/kneel.png) | ![jump](1624/previews/jump.png) | ![crossed_arms](1624/previews/crossed_arms.png) | ![angry](1624/previews/angry.png) | ![smile](1624/previews/smile.png) | ![cry](1624/previews/cry.png) | ![grin](1624/previews/grin.png) | ![n_lie_0](1624/previews/n_lie_0.png) | ![n_lie_1](1624/previews/n_lie_1.png) | ![n_stand_0](1624/previews/n_stand_0.png) | ![n_stand_1](1624/previews/n_stand_1.png) | ![n_stand_2](1624/previews/n_stand_2.png) | ![n_sex_0](1624/previews/n_sex_0.png) | ![n_sex_1](1624/previews/n_sex_1.png) | | 1972 | 18 | 0.742 | **0.931** | **0.832** | 0.780 | [Download](https://huggingface.co/CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru/resolve/main/1972/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.zip) | ![pattern_0_0](1972/previews/pattern_0_0.png) | ![pattern_0_1](1972/previews/pattern_0_1.png) | ![pattern_0_2](1972/previews/pattern_0_2.png) | ![pattern_1](1972/previews/pattern_1.png) | ![pattern_2](1972/previews/pattern_2.png) | ![pattern_3](1972/previews/pattern_3.png) | ![pattern_4](1972/previews/pattern_4.png) | ![pattern_5](1972/previews/pattern_5.png) | ![portrait_0](1972/previews/portrait_0.png) | ![portrait_1](1972/previews/portrait_1.png) | ![portrait_2](1972/previews/portrait_2.png) | ![full_body_0](1972/previews/full_body_0.png) | ![full_body_1](1972/previews/full_body_1.png) | ![profile_0](1972/previews/profile_0.png) | ![profile_1](1972/previews/profile_1.png) | ![free_0](1972/previews/free_0.png) | ![free_1](1972/previews/free_1.png) | ![shorts](1972/previews/shorts.png) | ![maid_0](1972/previews/maid_0.png) | ![maid_1](1972/previews/maid_1.png) | ![miko](1972/previews/miko.png) | ![yukata](1972/previews/yukata.png) | ![suit](1972/previews/suit.png) | ![china](1972/previews/china.png) | ![bikini_0](1972/previews/bikini_0.png) | ![bikini_1](1972/previews/bikini_1.png) | ![bikini_2](1972/previews/bikini_2.png) | ![sit](1972/previews/sit.png) | ![squat](1972/previews/squat.png) | ![kneel](1972/previews/kneel.png) | ![jump](1972/previews/jump.png) | ![crossed_arms](1972/previews/crossed_arms.png) | ![angry](1972/previews/angry.png) | ![smile](1972/previews/smile.png) | ![cry](1972/previews/cry.png) | ![grin](1972/previews/grin.png) | ![n_lie_0](1972/previews/n_lie_0.png) | ![n_lie_1](1972/previews/n_lie_1.png) | ![n_stand_0](1972/previews/n_stand_0.png) | ![n_stand_1](1972/previews/n_stand_1.png) | ![n_stand_2](1972/previews/n_stand_2.png) | ![n_sex_0](1972/previews/n_sex_0.png) | ![n_sex_1](1972/previews/n_sex_1.png) | | 3132 | 28 | **0.769** | 0.872 | 0.797 | 0.769 | [Download](https://huggingface.co/CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru/resolve/main/3132/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.zip) | ![pattern_0_0](3132/previews/pattern_0_0.png) | ![pattern_0_1](3132/previews/pattern_0_1.png) | ![pattern_0_2](3132/previews/pattern_0_2.png) | ![pattern_1](3132/previews/pattern_1.png) | ![pattern_2](3132/previews/pattern_2.png) | ![pattern_3](3132/previews/pattern_3.png) | ![pattern_4](3132/previews/pattern_4.png) | ![pattern_5](3132/previews/pattern_5.png) | ![portrait_0](3132/previews/portrait_0.png) | ![portrait_1](3132/previews/portrait_1.png) | ![portrait_2](3132/previews/portrait_2.png) | ![full_body_0](3132/previews/full_body_0.png) | ![full_body_1](3132/previews/full_body_1.png) | ![profile_0](3132/previews/profile_0.png) | ![profile_1](3132/previews/profile_1.png) | ![free_0](3132/previews/free_0.png) | ![free_1](3132/previews/free_1.png) | ![shorts](3132/previews/shorts.png) | ![maid_0](3132/previews/maid_0.png) | ![maid_1](3132/previews/maid_1.png) | ![miko](3132/previews/miko.png) | ![yukata](3132/previews/yukata.png) | ![suit](3132/previews/suit.png) | ![china](3132/previews/china.png) | ![bikini_0](3132/previews/bikini_0.png) | ![bikini_1](3132/previews/bikini_1.png) | ![bikini_2](3132/previews/bikini_2.png) | ![sit](3132/previews/sit.png) | ![squat](3132/previews/squat.png) | ![kneel](3132/previews/kneel.png) | ![jump](3132/previews/jump.png) | ![crossed_arms](3132/previews/crossed_arms.png) | ![angry](3132/previews/angry.png) | ![smile](3132/previews/smile.png) | ![cry](3132/previews/cry.png) | ![grin](3132/previews/grin.png) | ![n_lie_0](3132/previews/n_lie_0.png) | ![n_lie_1](3132/previews/n_lie_1.png) | ![n_stand_0](3132/previews/n_stand_0.png) | ![n_stand_1](3132/previews/n_stand_1.png) | ![n_stand_2](3132/previews/n_stand_2.png) | ![n_sex_0](3132/previews/n_sex_0.png) | ![n_sex_1](3132/previews/n_sex_1.png) | | 2552 | 23 | 0.736 | 0.892 | 0.810 | 0.754 | [Download](https://huggingface.co/CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru/resolve/main/2552/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.zip) | ![pattern_0_0](2552/previews/pattern_0_0.png) | ![pattern_0_1](2552/previews/pattern_0_1.png) | ![pattern_0_2](2552/previews/pattern_0_2.png) | ![pattern_1](2552/previews/pattern_1.png) | ![pattern_2](2552/previews/pattern_2.png) | ![pattern_3](2552/previews/pattern_3.png) | ![pattern_4](2552/previews/pattern_4.png) | ![pattern_5](2552/previews/pattern_5.png) | ![portrait_0](2552/previews/portrait_0.png) | ![portrait_1](2552/previews/portrait_1.png) | ![portrait_2](2552/previews/portrait_2.png) | ![full_body_0](2552/previews/full_body_0.png) | ![full_body_1](2552/previews/full_body_1.png) | ![profile_0](2552/previews/profile_0.png) | ![profile_1](2552/previews/profile_1.png) | ![free_0](2552/previews/free_0.png) | ![free_1](2552/previews/free_1.png) | ![shorts](2552/previews/shorts.png) | ![maid_0](2552/previews/maid_0.png) | ![maid_1](2552/previews/maid_1.png) | ![miko](2552/previews/miko.png) | ![yukata](2552/previews/yukata.png) | ![suit](2552/previews/suit.png) | ![china](2552/previews/china.png) | ![bikini_0](2552/previews/bikini_0.png) | ![bikini_1](2552/previews/bikini_1.png) | ![bikini_2](2552/previews/bikini_2.png) | ![sit](2552/previews/sit.png) | ![squat](2552/previews/squat.png) | ![kneel](2552/previews/kneel.png) | ![jump](2552/previews/jump.png) | ![crossed_arms](2552/previews/crossed_arms.png) | ![angry](2552/previews/angry.png) | ![smile](2552/previews/smile.png) | ![cry](2552/previews/cry.png) | ![grin](2552/previews/grin.png) | ![n_lie_0](2552/previews/n_lie_0.png) | ![n_lie_1](2552/previews/n_lie_1.png) | ![n_stand_0](2552/previews/n_stand_0.png) | ![n_stand_1](2552/previews/n_stand_1.png) | ![n_stand_2](2552/previews/n_stand_2.png) | ![n_sex_0](2552/previews/n_sex_0.png) | ![n_sex_1](2552/previews/n_sex_1.png) | | 2088 | 19 | 0.732 | 0.861 | 0.809 | 0.750 | [Download](https://huggingface.co/CyberHarem/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru/resolve/main/2088/hikigaya_komachi_yahariorenoseishunlovecomewamachigatteiru.zip) | ![pattern_0_0](2088/previews/pattern_0_0.png) | ![pattern_0_1](2088/previews/pattern_0_1.png) | ![pattern_0_2](2088/previews/pattern_0_2.png) | ![pattern_1](2088/previews/pattern_1.png) | ![pattern_2](2088/previews/pattern_2.png) | ![pattern_3](2088/previews/pattern_3.png) | ![pattern_4](2088/previews/pattern_4.png) | ![pattern_5](2088/previews/pattern_5.png) | ![portrait_0](2088/previews/portrait_0.png) | ![portrait_1](2088/previews/portrait_1.png) | ![portrait_2](2088/previews/portrait_2.png) | ![full_body_0](2088/previews/full_body_0.png) | ![full_body_1](2088/previews/full_body_1.png) | ![profile_0](2088/previews/profile_0.png) | ![profile_1](2088/previews/profile_1.png) | ![free_0](2088/previews/free_0.png) | ![free_1](2088/previews/free_1.png) | ![shorts](2088/previews/shorts.png) | ![maid_0](2088/previews/maid_0.png) | ![maid_1](2088/previews/maid_1.png) | ![miko](2088/previews/miko.png) | ![yukata](2088/previews/yukata.png) | ![suit](2088/previews/suit.png) | ![china](2088/previews/china.png) | ![bikini_0](2088/previews/bikini_0.png) | ![bikini_1](2088/previews/bikini_1.png) | ![bikini_2](2088/previews/bikini_2.png) | ![sit](2088/previews/sit.png) | ![squat](2088/previews/squat.png) | ![kneel](2088/previews/kneel.png) | ![jump](2088/previews/jump.png) | ![crossed_arms](2088/previews/crossed_arms.png) | ![angry](2088/previews/angry.png) | ![smile](2088/previews/smile.png) | ![cry](2088/previews/cry.png) | ![grin](2088/previews/grin.png) | ![n_lie_0](2088/previews/n_lie_0.png) | ![n_lie_1](2088/previews/n_lie_1.png) | ![n_stand_0](2088/previews/n_stand_0.png) | ![n_stand_1](2088/previews/n_stand_1.png) | ![n_stand_2](2088/previews/n_stand_2.png) | ![n_sex_0](2088/previews/n_sex_0.png) | ![n_sex_1](2088/previews/n_sex_1.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 3596 to 4640](all/0.md) * [Steps From 2436 to 3480](all/1.md) * [Steps From 1276 to 2320](all/2.md) * [Steps From 116 to 1160](all/3.md)