sd-models / batoga /v1.0.md
gustproof's picture
Create v1.0.md
6804160
|
raw
history blame
8.29 kB

v1.0

A LoRA based on 1065 Battle Girl High School cards, recognizing 20+ characters to varying degrees.

Undertrained.

Usage

The style itself doesn't have a trigger word. For the characters, below are the character tags and respective top 20 related tags.

Hoshitsuki Miki,
brown hair, short hair, open mouth, smile, looking at viewer, blush, green eyes, 1girl, ahoge, hair ornament, solo, :d, skirt, multiple girls, blue eyes, bow, breasts, jewelry, thighhighs, gloves

Watagi Michelle,
blonde hair, open mouth, 1girl, smile, red eyes, blush, solo, looking at viewer, :d, hair bun, double bun, bow, skirt, short hair, breasts, thighhighs, hair ornament, bangs, long hair, multiple girls

Tokiwa Kurumi,
green eyes, 1girl, long hair, solo, green hair, looking at viewer, breasts, smile, open mouth, blush, hair ornament, cleavage, medium breasts, dress, flower, jewelry, skirt, gloves, brown hair, thighhighs

Narumi Haruka,
blue eyes, 1girl, grey hair, long hair, solo, smile, looking at viewer, blush, open mouth, braid, hair ornament, jewelry, brown hair, gloves, breasts, skirt, earrings, flower, multiple girls, dress

Kusunoki Asuha,
long hair, black hair, 1girl, looking at viewer, solo, blue hair, blush, open mouth, smile, blue eyes, bangs, skirt, green eyes, breasts, hair ornament, jewelry, gloves, flower, bow, aqua eyes

Asahina Kokomi,
blue eyes, brown hair, blush, 1girl, solo, open mouth, bangs, breasts, looking at viewer, smile, braid, medium breasts, cleavage, short hair, skirt, multiple girls, thighhighs, dress, 2girls, jewelry

Sadone,
green hair, red eyes, long hair, 1girl, open mouth, solo, bangs, looking at viewer, blush, twintails, smile, ahoge, bow, hair ornament, multiple girls, blunt bangs, dress, skirt, holding, sparkle

Sendoin Kaede,
blonde hair, long hair, purple eyes, 1girl, blush, solo, looking at viewer, smile, open mouth, drill hair, bangs, bow, dress, hair bow, sparkle, flower, skirt, jewelry, sky, holding

Tsubuzaki Anko,
long hair, 1girl, solo, twintails, brown hair, black hair, open mouth, looking at viewer, blush, breasts, hair ornament, hair between eyes, purple eyes, smile, cleavage, thighhighs, jewelry, skirt, large breasts, food

Serizawa Renge,
1girl, long hair, breasts, smile, solo, mole, looking at viewer, cleavage, blush, mole under eye, open mouth, pink hair, brown hair, pink eyes, jewelry, brown eyes, large breasts, medium breasts, gloves, skirt

Fujimiya Sakura,
brown hair, long hair, 1girl, solo, hair ornament, thick eyebrows, looking at viewer, blush, open mouth, bangs, smile, skirt, blunt bangs, hair bun, flower, single hair bun, bow, red eyes, multiple girls, purple eyes

Hasumi Urara,
red hair, long hair, yellow eyes, blush, smile, 1girl, twintails, looking at viewer, solo, open mouth, ahoge, thighhighs, ribbon, brown eyes, skirt, jewelry, multiple girls, hair ornament, hair ribbon, :d

Minami Hinata,
brown eyes, brown hair, open mouth, short hair, 1girl, smile, fang, solo, looking at viewer, blush, hair ornament, two side up, :d, skirt, black hair, outdoors, thighhighs, day, flower, bow

Wakaba Subaru,
short hair, green eyes, 1girl, open mouth, solo, green hair, smile, looking at viewer, blush, black hair, hair ornament, jewelry, ahoge, skirt, gloves, hairclip, earrings, multiple girls, brown hair, thighhighs

Kougami Kanon,
blonde hair, blue eyes, 1girl, blush, solo, looking at viewer, hair ornament, smile, open mouth, breasts, twintails, long hair, musical note, dress, short hair, gloves, flower, jewelry, musical note hair ornament, medium breasts

Kunieda Shiho,
blue hair, 1girl, blush, smile, breasts, looking at viewer, solo, hair ornament, yellow eyes, brown eyes, open mouth, short hair, large breasts, dress, cleavage, musical note, gloves, skirt, musical note hair ornament, medium breasts

Amano Nozomi,
blue eyes, 1girl, orange hair, long hair, looking at viewer, solo, smile, open mouth, jewelry, blush, bangs, breasts, necklace, holding, one eye closed, skirt, bow, gloves, medium breasts, hair ornament

Himukai Yuri,
red eyes, brown hair, long hair, 1girl, open mouth, solo, looking at viewer, smile, ponytail, blush, skirt, ribbon, :d, hair ribbon, thighhighs, jewelry, gloves, hair ornament, sparkle, multiple girls

Misaki,
brown hair, long hair, 1girl, looking at viewer, blush, green eyes, breasts, solo, open mouth, hair ornament, smile, multiple girls, bangs, very long hair, gloves, skirt, jewelry, dress, medium breasts, cleavage

Sekaide Mari,
brown hair, short hair, yellow eyes, blush, looking at viewer, breasts, smile, open mouth, multiple girls, 1girl, solo, blonde hair, medium breasts, hair ornament, skirt, thighhighs, glasses, blue hair, bangs, holding

Ameya Erika,
pink hair, pink eyes, long hair, smile, breasts, looking at viewer, 1girl, blush, solo, jewelry, open mouth, cleavage, large breasts, skirt, necklace, side ponytail, multiple girls, 2girls, earrings, thighhighs

Mitsurugi Furan,
blonde hair, smile, breasts, 1girl, braid, solo, purple eyes, long hair, blush, looking at viewer, cleavage, open mouth, medium breasts, grin, shorts, sky, sitting, skirt, sparkle, jacket

Yakumo Itsuki,
glasses, blue hair, blue eyes, long hair, red-framed eyewear, blush, open mouth, 1girl, solo, skirt, sitting, hair ornament, looking at viewer, breasts, multiple girls, sky, cloud, day, outdoors, smile

Nanashima Aoi,
brown hair, brown eyes, long hair, open mouth, smile, blush, looking at viewer, bangs, blunt bangs, flower, breasts, :d, multiple girls, 2girls, hair ornament, 1girl, solo, drill hair, skirt, gloves

Kusunoki Asuha C1,
long hair, bangs, blush, black hair, ahoge, open mouth, flower, green eyes, 1girl, solo, sparkle, blunt bangs, hair ornament, multiple girls, 2girls, blue hair, hair flower, shirt, blue eyes, smile

Training info

Training info Dataset:

  • 1065 Battle Girl High School cards collected from bg-search (exact duplicates merged)

Tags generated with SmilingWolf/wd-v1-4-convnextv2-tagger-v2 with a threshold of 0.35. No balancing and tag cleaning.

Inspired by a 2022 paper, a custom LR scheduler was used:

SequentialLR(optimizer, [
    LinearLR(optimizer, 0.1, total_iters=steps_per_epoch),
    CosineAnnealingWarmRestarts(optimizer, steps_per_epoch*2, T_mult=2)
], [steps_per_epoch])

Training cost: ~4 T4-hours

Data distribution:

            character  cards
1     Hoshitsuki Miki     77
2     Watagi Michelle     58
3       Tokiwa Kurumi     58
4       Narumi Haruka     56
5      Kusunoki Asuha     56
6      Asahina Kokomi     54
7              Sadone     54
8       Sendoin Kaede     53
9      Tsubuzaki Anko     53
10     Serizawa Renge     53
11    Fujimiya Sakura     52
12       Hasumi Urara     52
13      Minami Hinata     50
14      Wakaba Subaru     50
15      Kougami Kanon     49
16      Kunieda Shiho     49
17       Amano Nozomi     49
18       Himukai Yuri     46
19             Misaki     26
20       Sekaide Mari     18
21        Ameya Erika     17
22    Mitsurugi Furan     11
23      Yakumo Itsuki     10
24      Nanashima Aoi      9
25  Kusunoki Asuha C1      5

Training config

[model_arguments]
v2 = false
v_parameterization = false
pretrained_model_name_or_path = "animefull-final-pruned.ckpt"

[additional_network_arguments]
no_metadata = false
network_module = "lycoris.kohya"
network_dim = 16
network_alpha = 1
network_args = [ "conv_dim=0", "algo=loha",]
network_train_unet_only = false
network_train_text_encoder_only = false
cache_latents = false

[optimizer_arguments]
optimizer_type = "AdamW8bit"
learning_rate = 0.001
max_grad_norm = 1.0
lr_scheduler = "custom"
#lr_warmup_steps = 100

[dataset_arguments]
debug_dataset = false
# resolution: 576x704

[training_arguments]
save_precision = "fp16"
save_every_n_epochs = 1
max_token_length = 225
mem_eff_attn = false
xformers = true
max_train_epochs = 31
max_data_loader_n_workers = 0
persistent_data_loader_workers = false
gradient_checkpointing = false
gradient_accumulation_steps = 1
mixed_precision = "fp16"
clip_skip = 2
lowram = true

[sample_prompt_arguments]

[saving_arguments]
save_model_as = "safetensors"