khanon commited on
Commit
ccb87c0
1 Parent(s): 368c718

adds new Arona LoRA

Browse files
arona/README.md ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Arona (Blue Archive)
2
+ アロナ (ブルーアーカイブ) / 아로나 (블루 아카이브)
3
+
4
+ [**Download here.**](https://huggingface.co/khanon/lora-training/blob/main/arona/chara-arona-v1.safetensors)
5
+
6
+ ## Table of Contents
7
+ - [Preview](#preview)
8
+ - [Usage](#usage)
9
+ - [Training](#training)
10
+ - [Revisions](#revisions)
11
+
12
+ ## Preview
13
+
14
+ ![Arona preview](chara-arona-v1.png)
15
+ ![Arona normal](example-001-7thAnimeA-v1.png)
16
+ ![Arona swimsuit](example-002-AOM2-v1.png)
17
+
18
+ ## Usage
19
+
20
+ Use any or all of the following tags to summon Arona: `arona, 1girl, white hairband, bow hairband, halo, short hair, single braid`
21
+ - You can also add `blue eyes, two-tone hair, multicolored hair, blue hair, pink hair` if necessary.
22
+ - `mechanical halo` can sometimes improve the quality of Arona's halo.
23
+ - I tried tagging her different halo types (`heart halo`, `red halo`, etc.) but the AI doesn't recognize them very well.
24
+
25
+ For her normal outfit: `school uniform, blue shirt, white sailor collar, long sleeves, white bowtie, white choker`
26
+ - Images where her stomach was visible were tagged `midriff peek` or `midriff`. The AI seems to like showing her this way by default, but you can prompt those tags to strengthen the effect (or negative prompt them to try to remove it).
27
+
28
+ For her swimsuit outfit: `swimsuit, official alternate costume, black bikini, frills, frilled bikini`
29
+
30
+ Arona frequently appears in the ruined classroom, which I have tried to tag consistently. Use `ruined classroom, school desk, shallow water, cloud` to produce this background.
31
+
32
+ Not all tags may be necessary.
33
+
34
+ ## Training
35
+ *Exact parameters are provided in the accompanying JSON files.*
36
+ - Trained on a set of 250 images.
37
+ - Datset included a mixture of SFW/NSFW
38
+ - 5 repeats
39
+ - 3 batch size, 4 epochs
40
+ - `(250 * 5) / 3 * 4` = 1667 steps
41
+ - Initially tagged with WD1.4 convnextv2 model. Tags pruned/edited for consistency.
42
+ - `constant_with_warmup` scheduler
43
+ - 1.5e-5 text encoder LR
44
+ - 1.5e-4 unet LR
45
+ - 1e-5 optimizer LR
46
+ - Used network_dimension 128 (same as usual) / network alpha 128 (default)
47
+ - New: increased training resolution to 832x832.
48
+ - Trained without VAE.
49
+ - [Dataset can be found on the mega.co.nz repository.](https://mega.nz/folder/q6IyzAoB#xVogEUENCNG9D-C7mTftFQ)
50
+
51
+ ## Revisions
52
+ - v1 (2023-02-10)
53
+ - Initial release.
arona/chara-arona-v1.png ADDED

Git LFS Details

  • SHA256: 71d44a9906cf1bcbcc9e7d3f5818a7d91ac0b49cd8755e43bc77a13ea1e19e99
  • Pointer size: 131 Bytes
  • Size of remote file: 459 kB
arona/chara-arona-v1.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:b06df5d863fefe0ad49666b7d9f717b31382b83768de9822c861d6dbabe8a8b8
3
+ size 151123899
arona/example-001-7thAnimeA-v1.png ADDED

Git LFS Details

  • SHA256: a6d74bef8d7204c318ca117702bacd919d7c53bb9af305c485cafe0089691e6d
  • Pointer size: 132 Bytes
  • Size of remote file: 7.11 MB
arona/example-002-AOM2-v1.png ADDED

Git LFS Details

  • SHA256: f22396920527d22794f5525f4b212917904057e6826cd7dacc760038d94727ce
  • Pointer size: 132 Bytes
  • Size of remote file: 7.09 MB
arona/lora_chara_arona_v1_250i5r.json ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "pretrained_model_name_or_path": "G:/sd/repo/models/Stable-diffusion/nai-animefull-final-pruned.safetensors",
3
+ "v2": false,
4
+ "v_parameterization": false,
5
+ "logging_dir": "",
6
+ "train_data_dir": "G:/sd/training/datasets/arona/dataset",
7
+ "reg_data_dir": "",
8
+ "output_dir": "G:/sd/lora/trained/chara/arona",
9
+ "max_resolution": "832,832",
10
+ "learning_rate": "1e-5",
11
+ "lr_scheduler": "constant_with_warmup",
12
+ "lr_warmup": "5",
13
+ "train_batch_size": 3,
14
+ "epoch": "4",
15
+ "save_every_n_epochs": "",
16
+ "mixed_precision": "fp16",
17
+ "save_precision": "fp16",
18
+ "seed": "31337",
19
+ "num_cpu_threads_per_process": 32,
20
+ "cache_latents": true,
21
+ "caption_extension": ".txt",
22
+ "enable_bucket": true,
23
+ "gradient_checkpointing": false,
24
+ "full_fp16": false,
25
+ "no_token_padding": false,
26
+ "stop_text_encoder_training": 0,
27
+ "use_8bit_adam": true,
28
+ "xformers": true,
29
+ "save_model_as": "safetensors",
30
+ "shuffle_caption": true,
31
+ "save_state": false,
32
+ "resume": "",
33
+ "prior_loss_weight": 1.0,
34
+ "text_encoder_lr": "1.5e-5",
35
+ "unet_lr": "1.5e-4",
36
+ "network_dim": 128,
37
+ "lora_network_weights": "",
38
+ "color_aug": false,
39
+ "flip_aug": false,
40
+ "clip_skip": 2,
41
+ "gradient_accumulation_steps": 1.0,
42
+ "mem_eff_attn": false,
43
+ "output_name": "chara-arona-v1",
44
+ "model_list": "",
45
+ "max_token_length": "150",
46
+ "max_train_epochs": "",
47
+ "max_data_loader_n_workers": "",
48
+ "network_alpha": 128,
49
+ "training_comment": "Character: `arona, 1girl, white hairband, halo, short hair, single braid`\nStandard outfit: `school uniform, blue shirt, white sailor collar, long sleeves, white bowtie, white choker`\nSwimsuit: `swimsuit, official alternate costume, black bikini, frills, frilled bikini`\nClassroom: `ruined classroom, school desk, shallow water, cloud, day`\n250 images * 5 repeats / 3 batch size * 4 epochs = 1666 steps",
50
+ "keep_tokens": 2,
51
+ "lr_scheduler_num_cycles": "",
52
+ "lr_scheduler_power": "",
53
+ "persistent_data_loader_workers": true
54
+ }