--- license: mit datasets: - CyberHarem/sten_mkii_girlsfrontline pipeline_tag: text-to-image tags: - art - not-for-all-audiences --- # Lora of sten_mkii/ステンMK-II/司登MkⅡ (Girls' Frontline) ## What Is This? This is the LoRA model of waifu sten_mkii/ステンMK-II/司登MkⅡ (Girls' Frontline). ## 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/sten_mkii_girlsfrontline](https://huggingface.co/datasets/CyberHarem/sten_mkii_girlsfrontline), which contains 82 images. * Batch size is 4, resolution is 720x720, clustering into 5 buckets. * Batch size for regularization dataset is 16, resolution is 720x720, clustering into 20 buckets. * Trained for 840 steps, 40 checkpoints were saved and evaluated. * **Trigger word is `sten_mkii_girlsfrontline`.** * Pruned core tags for this waifu are `twintails, blonde_hair, long_hair, hat, beret, red_headwear, breasts, ribbon, yellow_eyes, bangs, hair_ribbon, medium_breasts`. 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 315, you need to download [`315/sten_mkii_girlsfrontline.pt`](https://huggingface.co/CyberHarem/sten_mkii_girlsfrontline/resolve/main/315/sten_mkii_girlsfrontline.pt) as the embedding and [`315/sten_mkii_girlsfrontline.safetensors`](https://huggingface.co/CyberHarem/sten_mkii_girlsfrontline/resolve/main/315/sten_mkii_girlsfrontline.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 315. 1480 images (1.51 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 | 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 | |-------:|--------:|:----------|:-------------|:--------------|:----------|:---------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:-----------------------------------------|:-------------------------------------------|:-------------------------------------------|:-------------------------------------------|:---------------------------------------------|:---------------------------------------------|:-----------------------------------------|:-----------------------------------------|:-----------------------------------|:-----------------------------------|:-----------------------------------|:-----------------------------------|:-----------------------------------|:-------------------------------|:-----------------------------------|:-------------------------------|:---------------------------------|:---------------------------------------|:---------------------------------------|:---------------------------------------|:-----------------------------|:---------------------------------|:---------------------------------|:-------------------------------|:-----------------------------------------------|:---------------------------------|:---------------------------------|:-----------------------------|:-------------------------------|:-------------------------------------|:-------------------------------------|:-----------------------------------------|:-----------------------------------------|:-----------------------------------------|:-------------------------------------|:-------------------------------------| | 315 | 16 | 0.832 | **0.977** | **0.869** | **0.819** | [Download](https://huggingface.co/CyberHarem/sten_mkii_girlsfrontline/resolve/main/315/sten_mkii_girlsfrontline.zip) | ![pattern_0](315/previews/pattern_0.png) | ![pattern_1](315/previews/pattern_1.png) | ![portrait_0](315/previews/portrait_0.png) | ![portrait_1](315/previews/portrait_1.png) | ![portrait_2](315/previews/portrait_2.png) | ![full_body_0](315/previews/full_body_0.png) | ![full_body_1](315/previews/full_body_1.png) | ![profile_0](315/previews/profile_0.png) | ![profile_1](315/previews/profile_1.png) | ![free_0](315/previews/free_0.png) | ![free_1](315/previews/free_1.png) | ![shorts](315/previews/shorts.png) | ![maid_0](315/previews/maid_0.png) | ![maid_1](315/previews/maid_1.png) | ![miko](315/previews/miko.png) | ![yukata](315/previews/yukata.png) | ![suit](315/previews/suit.png) | ![china](315/previews/china.png) | ![bikini_0](315/previews/bikini_0.png) | ![bikini_1](315/previews/bikini_1.png) | ![bikini_2](315/previews/bikini_2.png) | ![sit](315/previews/sit.png) | ![squat](315/previews/squat.png) | ![kneel](315/previews/kneel.png) | ![jump](315/previews/jump.png) | ![crossed_arms](315/previews/crossed_arms.png) | ![angry](315/previews/angry.png) | ![smile](315/previews/smile.png) | ![cry](315/previews/cry.png) | ![grin](315/previews/grin.png) | ![n_lie_0](315/previews/n_lie_0.png) | ![n_lie_1](315/previews/n_lie_1.png) | ![n_stand_0](315/previews/n_stand_0.png) | ![n_stand_1](315/previews/n_stand_1.png) | ![n_stand_2](315/previews/n_stand_2.png) | ![n_sex_0](315/previews/n_sex_0.png) | ![n_sex_1](315/previews/n_sex_1.png) | | 441 | 22 | **0.859** | 0.941 | 0.852 | 0.810 | [Download](https://huggingface.co/CyberHarem/sten_mkii_girlsfrontline/resolve/main/441/sten_mkii_girlsfrontline.zip) | ![pattern_0](441/previews/pattern_0.png) | ![pattern_1](441/previews/pattern_1.png) | ![portrait_0](441/previews/portrait_0.png) | ![portrait_1](441/previews/portrait_1.png) | ![portrait_2](441/previews/portrait_2.png) | ![full_body_0](441/previews/full_body_0.png) | ![full_body_1](441/previews/full_body_1.png) | ![profile_0](441/previews/profile_0.png) | ![profile_1](441/previews/profile_1.png) | ![free_0](441/previews/free_0.png) | ![free_1](441/previews/free_1.png) | ![shorts](441/previews/shorts.png) | ![maid_0](441/previews/maid_0.png) | ![maid_1](441/previews/maid_1.png) | ![miko](441/previews/miko.png) | ![yukata](441/previews/yukata.png) | ![suit](441/previews/suit.png) | ![china](441/previews/china.png) | ![bikini_0](441/previews/bikini_0.png) | ![bikini_1](441/previews/bikini_1.png) | ![bikini_2](441/previews/bikini_2.png) | ![sit](441/previews/sit.png) | ![squat](441/previews/squat.png) | ![kneel](441/previews/kneel.png) | ![jump](441/previews/jump.png) | ![crossed_arms](441/previews/crossed_arms.png) | ![angry](441/previews/angry.png) | ![smile](441/previews/smile.png) | ![cry](441/previews/cry.png) | ![grin](441/previews/grin.png) | ![n_lie_0](441/previews/n_lie_0.png) | ![n_lie_1](441/previews/n_lie_1.png) | ![n_stand_0](441/previews/n_stand_0.png) | ![n_stand_1](441/previews/n_stand_1.png) | ![n_stand_2](441/previews/n_stand_2.png) | ![n_sex_0](441/previews/n_sex_0.png) | ![n_sex_1](441/previews/n_sex_1.png) | | 672 | 33 | 0.828 | 0.935 | 0.850 | 0.787 | [Download](https://huggingface.co/CyberHarem/sten_mkii_girlsfrontline/resolve/main/672/sten_mkii_girlsfrontline.zip) | ![pattern_0](672/previews/pattern_0.png) | ![pattern_1](672/previews/pattern_1.png) | ![portrait_0](672/previews/portrait_0.png) | ![portrait_1](672/previews/portrait_1.png) | ![portrait_2](672/previews/portrait_2.png) | ![full_body_0](672/previews/full_body_0.png) | ![full_body_1](672/previews/full_body_1.png) | ![profile_0](672/previews/profile_0.png) | ![profile_1](672/previews/profile_1.png) | ![free_0](672/previews/free_0.png) | ![free_1](672/previews/free_1.png) | ![shorts](672/previews/shorts.png) | ![maid_0](672/previews/maid_0.png) | ![maid_1](672/previews/maid_1.png) | ![miko](672/previews/miko.png) | ![yukata](672/previews/yukata.png) | ![suit](672/previews/suit.png) | ![china](672/previews/china.png) | ![bikini_0](672/previews/bikini_0.png) | ![bikini_1](672/previews/bikini_1.png) | ![bikini_2](672/previews/bikini_2.png) | ![sit](672/previews/sit.png) | ![squat](672/previews/squat.png) | ![kneel](672/previews/kneel.png) | ![jump](672/previews/jump.png) | ![crossed_arms](672/previews/crossed_arms.png) | ![angry](672/previews/angry.png) | ![smile](672/previews/smile.png) | ![cry](672/previews/cry.png) | ![grin](672/previews/grin.png) | ![n_lie_0](672/previews/n_lie_0.png) | ![n_lie_1](672/previews/n_lie_1.png) | ![n_stand_0](672/previews/n_stand_0.png) | ![n_stand_1](672/previews/n_stand_1.png) | ![n_stand_2](672/previews/n_stand_2.png) | ![n_sex_0](672/previews/n_sex_0.png) | ![n_sex_1](672/previews/n_sex_1.png) | | 504 | 25 | 0.797 | 0.935 | 0.862 | 0.787 | [Download](https://huggingface.co/CyberHarem/sten_mkii_girlsfrontline/resolve/main/504/sten_mkii_girlsfrontline.zip) | ![pattern_0](504/previews/pattern_0.png) | ![pattern_1](504/previews/pattern_1.png) | ![portrait_0](504/previews/portrait_0.png) | ![portrait_1](504/previews/portrait_1.png) | ![portrait_2](504/previews/portrait_2.png) | ![full_body_0](504/previews/full_body_0.png) | ![full_body_1](504/previews/full_body_1.png) | ![profile_0](504/previews/profile_0.png) | ![profile_1](504/previews/profile_1.png) | ![free_0](504/previews/free_0.png) | ![free_1](504/previews/free_1.png) | ![shorts](504/previews/shorts.png) | ![maid_0](504/previews/maid_0.png) | ![maid_1](504/previews/maid_1.png) | ![miko](504/previews/miko.png) | ![yukata](504/previews/yukata.png) | ![suit](504/previews/suit.png) | ![china](504/previews/china.png) | ![bikini_0](504/previews/bikini_0.png) | ![bikini_1](504/previews/bikini_1.png) | ![bikini_2](504/previews/bikini_2.png) | ![sit](504/previews/sit.png) | ![squat](504/previews/squat.png) | ![kneel](504/previews/kneel.png) | ![jump](504/previews/jump.png) | ![crossed_arms](504/previews/crossed_arms.png) | ![angry](504/previews/angry.png) | ![smile](504/previews/smile.png) | ![cry](504/previews/cry.png) | ![grin](504/previews/grin.png) | ![n_lie_0](504/previews/n_lie_0.png) | ![n_lie_1](504/previews/n_lie_1.png) | ![n_stand_0](504/previews/n_stand_0.png) | ![n_stand_1](504/previews/n_stand_1.png) | ![n_stand_2](504/previews/n_stand_2.png) | ![n_sex_0](504/previews/n_sex_0.png) | ![n_sex_1](504/previews/n_sex_1.png) | | 819 | 40 | 0.835 | 0.950 | 0.848 | 0.786 | [Download](https://huggingface.co/CyberHarem/sten_mkii_girlsfrontline/resolve/main/819/sten_mkii_girlsfrontline.zip) | ![pattern_0](819/previews/pattern_0.png) | ![pattern_1](819/previews/pattern_1.png) | ![portrait_0](819/previews/portrait_0.png) | ![portrait_1](819/previews/portrait_1.png) | ![portrait_2](819/previews/portrait_2.png) | ![full_body_0](819/previews/full_body_0.png) | ![full_body_1](819/previews/full_body_1.png) | ![profile_0](819/previews/profile_0.png) | ![profile_1](819/previews/profile_1.png) | ![free_0](819/previews/free_0.png) | ![free_1](819/previews/free_1.png) | ![shorts](819/previews/shorts.png) | ![maid_0](819/previews/maid_0.png) | ![maid_1](819/previews/maid_1.png) | ![miko](819/previews/miko.png) | ![yukata](819/previews/yukata.png) | ![suit](819/previews/suit.png) | ![china](819/previews/china.png) | ![bikini_0](819/previews/bikini_0.png) | ![bikini_1](819/previews/bikini_1.png) | ![bikini_2](819/previews/bikini_2.png) | ![sit](819/previews/sit.png) | ![squat](819/previews/squat.png) | ![kneel](819/previews/kneel.png) | ![jump](819/previews/jump.png) | ![crossed_arms](819/previews/crossed_arms.png) | ![angry](819/previews/angry.png) | ![smile](819/previews/smile.png) | ![cry](819/previews/cry.png) | ![grin](819/previews/grin.png) | ![n_lie_0](819/previews/n_lie_0.png) | ![n_lie_1](819/previews/n_lie_1.png) | ![n_stand_0](819/previews/n_stand_0.png) | ![n_stand_1](819/previews/n_stand_1.png) | ![n_stand_2](819/previews/n_stand_2.png) | ![n_sex_0](819/previews/n_sex_0.png) | ![n_sex_1](819/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 651 to 840](all/0.md) * [Steps From 441 to 630](all/1.md) * [Steps From 231 to 420](all/2.md) * [Steps From 21 to 210](all/3.md)