ixelszy commited on
Commit
56c2698
1 Parent(s): df5c5c1

Upload folder using huggingface_hub

Browse files
hitokomoru-xl-2500.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:6e32d2c364a88ab28f30ee34c2ec076d43cf623cc67d5247901fc427412cc871
3
+ size 6938040682
sdxl_finetune_config/config_file.toml ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ [sdxl_arguments]
2
+ cache_text_encoder_outputs = true
3
+ no_half_vae = true
4
+ min_timestep = 0
5
+ max_timestep = 1000
6
+ shuffle_caption = false
7
+
8
+ [model_arguments]
9
+ pretrained_model_name_or_path = "/content/pretrained_model/sd_xl_base_0.9.safetensors"
10
+ vae = "/content/vae/sdxl_vae.safetensors"
11
+
12
+ [dataset_arguments]
13
+ debug_dataset = false
14
+ in_json = "/content/fine_tune/meta_lat.json"
15
+ train_data_dir = "/content/fine_tune/train_data"
16
+ dataset_repeats = 1
17
+ keep_tokens = 0
18
+ resolution = "1024,1024"
19
+ caption_dropout_rate = 0
20
+ caption_tag_dropout_rate = 0
21
+ caption_dropout_every_n_epochs = 0
22
+ color_aug = false
23
+ token_warmup_min = 1
24
+ token_warmup_step = 0
25
+
26
+ [training_arguments]
27
+ output_dir = "/content/drive/MyDrive/kohya-trainer/output"
28
+ output_name = "sdxl_finetune"
29
+ save_precision = "fp16"
30
+ save_every_n_steps = 1000
31
+ train_batch_size = 4
32
+ max_token_length = 225
33
+ mem_eff_attn = false
34
+ xformers = true
35
+ max_train_steps = 2500
36
+ max_data_loader_n_workers = 8
37
+ persistent_data_loader_workers = true
38
+ gradient_checkpointing = true
39
+ gradient_accumulation_steps = 1
40
+ mixed_precision = "bf16"
41
+
42
+ [logging_arguments]
43
+ log_with = "tensorboard"
44
+ logging_dir = "/content/fine_tune/logs"
45
+ log_prefix = "sdxl_finetune"
46
+
47
+ [sample_prompt_arguments]
48
+ sample_every_n_steps = 100
49
+ sample_sampler = "euler_a"
50
+
51
+ [saving_arguments]
52
+ save_model_as = "safetensors"
53
+
54
+ [optimizer_arguments]
55
+ optimizer_type = "AdaFactor"
56
+ learning_rate = 4e-7
57
+ max_grad_norm = 1.0
58
+ optimizer_args = [ "scale_parameter=False", "relative_step=False", "warmup_init=False",]
59
+ lr_scheduler = "constant_with_warmup"
60
+ lr_warmup_steps = 100
61
+
62
+ [advanced_training_config]
sdxl_finetune_config/sample_prompt.toml ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ [prompt]
2
+ negative_prompt = "3d render, smooth, plastic, blurry, grainy, low-resolution, deep-fried, oversaturated"
3
+ width = 1024
4
+ height = 1024
5
+ scale = 7
6
+ sample_steps = 28
7
+ [[prompt.subset]]
8
+ prompt = "1girl, aqua eyes, baseball cap, blonde hair, closed mouth, earrings, green background, hat, hoop earrings, jewelry, looking at viewer, shirt, short hair, simple background, solo, upper body, yellow shirt"
9
+