Aspriring commited on
Commit
efe5ccd
·
verified ·
1 Parent(s): 00e9b28

End of training

Browse files
Files changed (32) hide show
  1. README.md +65 -0
  2. checkpoint-10000/unet/config.json +68 -0
  3. checkpoint-10000/unet/diffusion_pytorch_model.safetensors +3 -0
  4. checkpoint-10000/unet_ema/config.json +75 -0
  5. checkpoint-10000/unet_ema/diffusion_pytorch_model.safetensors +3 -0
  6. feature_extractor/preprocessor_config.json +27 -0
  7. logs/text2image-fine-tune/1746591139.4196455/events.out.tfevents.1746591139.d743d3a65c23.8350.1 +3 -0
  8. logs/text2image-fine-tune/1746591139.4211645/hparams.yml +56 -0
  9. logs/text2image-fine-tune/1746593157.6585672/events.out.tfevents.1746593157.d743d3a65c23.17195.1 +3 -0
  10. logs/text2image-fine-tune/1746593157.6601374/hparams.yml +56 -0
  11. logs/text2image-fine-tune/1746593810.4418373/events.out.tfevents.1746593810.d743d3a65c23.20033.1 +3 -0
  12. logs/text2image-fine-tune/1746593810.4433692/hparams.yml +56 -0
  13. logs/text2image-fine-tune/1746594610.1907237/events.out.tfevents.1746594610.d743d3a65c23.23296.1 +3 -0
  14. logs/text2image-fine-tune/1746594610.196609/hparams.yml +56 -0
  15. logs/text2image-fine-tune/events.out.tfevents.1746591139.d743d3a65c23.8350.0 +3 -0
  16. logs/text2image-fine-tune/events.out.tfevents.1746593157.d743d3a65c23.17195.0 +3 -0
  17. logs/text2image-fine-tune/events.out.tfevents.1746593810.d743d3a65c23.20033.0 +3 -0
  18. logs/text2image-fine-tune/events.out.tfevents.1746594610.d743d3a65c23.23296.0 +3 -0
  19. model_index.json +38 -0
  20. safety_checker/config.json +47 -0
  21. safety_checker/model.safetensors +3 -0
  22. scheduler/scheduler_config.json +15 -0
  23. text_encoder/config.json +24 -0
  24. text_encoder/model.safetensors +3 -0
  25. tokenizer/merges.txt +0 -0
  26. tokenizer/special_tokens_map.json +24 -0
  27. tokenizer/tokenizer_config.json +31 -0
  28. tokenizer/vocab.json +0 -0
  29. unet/config.json +68 -0
  30. unet/diffusion_pytorch_model.safetensors +3 -0
  31. vae/config.json +38 -0
  32. vae/diffusion_pytorch_model.safetensors +3 -0
README.md ADDED
@@ -0,0 +1,65 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ base_model: stable-diffusion-v1-5/stable-diffusion-v1-5
3
+ library_name: diffusers
4
+ license: creativeml-openrail-m
5
+ inference: true
6
+ tags:
7
+ - stable-diffusion
8
+ - stable-diffusion-diffusers
9
+ - text-to-image
10
+ - diffusers
11
+ - diffusers-training
12
+ ---
13
+
14
+ <!-- This model card has been generated automatically according to the information the training script had access to. You
15
+ should probably proofread and complete it, then remove this comment. -->
16
+
17
+
18
+ # Text-to-image finetuning - Aspriring/DGM_Final_Model
19
+
20
+ This pipeline was finetuned from **stable-diffusion-v1-5/stable-diffusion-v1-5** on the **HuggingFaceM4/FairFace** dataset. Below are some example images generated with the finetuned pipeline using the following prompts: None:
21
+
22
+
23
+
24
+ ## Pipeline usage
25
+
26
+ You can use the pipeline like so:
27
+
28
+ ```python
29
+ from diffusers import DiffusionPipeline
30
+ import torch
31
+
32
+ pipeline = DiffusionPipeline.from_pretrained("Aspriring/DGM_Final_Model", torch_dtype=torch.float16)
33
+ prompt = "Generate a headshot of a man"
34
+ image = pipeline(prompt).images[0]
35
+ image.save("my_image.png")
36
+ ```
37
+
38
+ ## Training info
39
+
40
+ These are the key hyperparameters used during training:
41
+
42
+ * Epochs: 2
43
+ * Learning rate: 1e-05
44
+ * Batch size: 1
45
+ * Gradient accumulation steps: 4
46
+ * Image resolution: 512
47
+ * Mixed-precision: fp16
48
+
49
+
50
+
51
+ ## Intended uses & limitations
52
+
53
+ #### How to use
54
+
55
+ ```python
56
+ # TODO: add an example code snippet for running this diffusion pipeline
57
+ ```
58
+
59
+ #### Limitations and bias
60
+
61
+ [TODO: provide examples of latent issues and potential remediations]
62
+
63
+ ## Training details
64
+
65
+ [TODO: describe the data used to train the model]
checkpoint-10000/unet/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.34.0.dev0",
4
+ "_name_or_path": "stable-diffusion-v1-5/stable-diffusion-v1-5",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": null,
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": 8,
10
+ "attention_type": "default",
11
+ "block_out_channels": [
12
+ 320,
13
+ 640,
14
+ 1280,
15
+ 1280
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
19
+ "class_embeddings_concat": false,
20
+ "conv_in_kernel": 3,
21
+ "conv_out_kernel": 3,
22
+ "cross_attention_dim": 768,
23
+ "cross_attention_norm": null,
24
+ "down_block_types": [
25
+ "CrossAttnDownBlock2D",
26
+ "CrossAttnDownBlock2D",
27
+ "CrossAttnDownBlock2D",
28
+ "DownBlock2D"
29
+ ],
30
+ "downsample_padding": 1,
31
+ "dropout": 0.0,
32
+ "dual_cross_attention": false,
33
+ "encoder_hid_dim": null,
34
+ "encoder_hid_dim_type": null,
35
+ "flip_sin_to_cos": true,
36
+ "freq_shift": 0,
37
+ "in_channels": 4,
38
+ "layers_per_block": 2,
39
+ "mid_block_only_cross_attention": null,
40
+ "mid_block_scale_factor": 1,
41
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
42
+ "norm_eps": 1e-05,
43
+ "norm_num_groups": 32,
44
+ "num_attention_heads": null,
45
+ "num_class_embeds": null,
46
+ "only_cross_attention": false,
47
+ "out_channels": 4,
48
+ "projection_class_embeddings_input_dim": null,
49
+ "resnet_out_scale_factor": 1.0,
50
+ "resnet_skip_time_act": false,
51
+ "resnet_time_scale_shift": "default",
52
+ "reverse_transformer_layers_per_block": null,
53
+ "sample_size": 64,
54
+ "time_cond_proj_dim": null,
55
+ "time_embedding_act_fn": null,
56
+ "time_embedding_dim": null,
57
+ "time_embedding_type": "positional",
58
+ "timestep_post_act": null,
59
+ "transformer_layers_per_block": 1,
60
+ "up_block_types": [
61
+ "UpBlock2D",
62
+ "CrossAttnUpBlock2D",
63
+ "CrossAttnUpBlock2D",
64
+ "CrossAttnUpBlock2D"
65
+ ],
66
+ "upcast_attention": false,
67
+ "use_linear_projection": false
68
+ }
checkpoint-10000/unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c19f9503ca2136a8897d10cf7e00090e8be17c46f00d2ce89ea93cfac3ef3958
3
+ size 3438167536
checkpoint-10000/unet_ema/config.json ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.34.0.dev0",
4
+ "_name_or_path": "stable-diffusion-v1-5/stable-diffusion-v1-5",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": null,
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": 8,
10
+ "attention_type": "default",
11
+ "block_out_channels": [
12
+ 320,
13
+ 640,
14
+ 1280,
15
+ 1280
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
19
+ "class_embeddings_concat": false,
20
+ "conv_in_kernel": 3,
21
+ "conv_out_kernel": 3,
22
+ "cross_attention_dim": 768,
23
+ "cross_attention_norm": null,
24
+ "decay": 0.9999,
25
+ "down_block_types": [
26
+ "CrossAttnDownBlock2D",
27
+ "CrossAttnDownBlock2D",
28
+ "CrossAttnDownBlock2D",
29
+ "DownBlock2D"
30
+ ],
31
+ "downsample_padding": 1,
32
+ "dropout": 0.0,
33
+ "dual_cross_attention": false,
34
+ "encoder_hid_dim": null,
35
+ "encoder_hid_dim_type": null,
36
+ "flip_sin_to_cos": true,
37
+ "freq_shift": 0,
38
+ "in_channels": 4,
39
+ "inv_gamma": 1.0,
40
+ "layers_per_block": 2,
41
+ "mid_block_only_cross_attention": null,
42
+ "mid_block_scale_factor": 1,
43
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
44
+ "min_decay": 0.0,
45
+ "norm_eps": 1e-05,
46
+ "norm_num_groups": 32,
47
+ "num_attention_heads": null,
48
+ "num_class_embeds": null,
49
+ "only_cross_attention": false,
50
+ "optimization_step": 10000,
51
+ "out_channels": 4,
52
+ "power": 0.6666666666666666,
53
+ "projection_class_embeddings_input_dim": null,
54
+ "resnet_out_scale_factor": 1.0,
55
+ "resnet_skip_time_act": false,
56
+ "resnet_time_scale_shift": "default",
57
+ "reverse_transformer_layers_per_block": null,
58
+ "sample_size": 64,
59
+ "time_cond_proj_dim": null,
60
+ "time_embedding_act_fn": null,
61
+ "time_embedding_dim": null,
62
+ "time_embedding_type": "positional",
63
+ "timestep_post_act": null,
64
+ "transformer_layers_per_block": 1,
65
+ "up_block_types": [
66
+ "UpBlock2D",
67
+ "CrossAttnUpBlock2D",
68
+ "CrossAttnUpBlock2D",
69
+ "CrossAttnUpBlock2D"
70
+ ],
71
+ "upcast_attention": false,
72
+ "update_after_step": 0,
73
+ "use_ema_warmup": false,
74
+ "use_linear_projection": false
75
+ }
checkpoint-10000/unet_ema/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:22bb8d80a22ea8e2a7e4f1ef6e8d7f7a0bc1ee2825a01872c0f136b27108f5ac
3
+ size 3438167536
feature_extractor/preprocessor_config.json ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "crop_size": {
3
+ "height": 224,
4
+ "width": 224
5
+ },
6
+ "do_center_crop": true,
7
+ "do_convert_rgb": true,
8
+ "do_normalize": true,
9
+ "do_rescale": true,
10
+ "do_resize": true,
11
+ "image_mean": [
12
+ 0.48145466,
13
+ 0.4578275,
14
+ 0.40821073
15
+ ],
16
+ "image_processor_type": "CLIPImageProcessor",
17
+ "image_std": [
18
+ 0.26862954,
19
+ 0.26130258,
20
+ 0.27577711
21
+ ],
22
+ "resample": 3,
23
+ "rescale_factor": 0.00392156862745098,
24
+ "size": {
25
+ "shortest_edge": 224
26
+ }
27
+ }
logs/text2image-fine-tune/1746591139.4196455/events.out.tfevents.1746591139.d743d3a65c23.8350.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:cfc01515830e3a682de508789045ccb08ae95b8238ccf92e45859942725b825b
3
+ size 2733
logs/text2image-fine-tune/1746591139.4211645/hparams.yml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.01
5
+ allow_tf32: false
6
+ cache_dir: null
7
+ caption_column: text
8
+ center_crop: true
9
+ checkpointing_steps: 500
10
+ checkpoints_total_limit: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: '0.25'
13
+ dataset_name: HuggingFaceM4/FairFace
14
+ dream_detail_preservation: 1.0
15
+ dream_training: false
16
+ enable_xformers_memory_efficient_attention: true
17
+ foreach_ema: false
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: true
20
+ hub_model_id: Aspriring/DGM_Final_Model
21
+ hub_token: null
22
+ image_column: image
23
+ image_interpolation_mode: lanczos
24
+ input_perturbation: 0
25
+ learning_rate: 1.0e-05
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ lr_scheduler: constant
29
+ lr_warmup_steps: 0
30
+ max_grad_norm: 1.0
31
+ max_train_samples: null
32
+ max_train_steps: 10000
33
+ mixed_precision: fp16
34
+ noise_offset: 0
35
+ non_ema_revision: null
36
+ num_train_epochs: 2
37
+ offload_ema: false
38
+ output_dir: DGM_Final_Model
39
+ prediction_type: null
40
+ pretrained_model_name_or_path: stable-diffusion-v1-5/stable-diffusion-v1-5
41
+ push_to_hub: true
42
+ random_flip: true
43
+ report_to: tensorboard
44
+ resolution: 512
45
+ resume_from_checkpoint: checkpoint-10000
46
+ revision: null
47
+ scale_lr: false
48
+ seed: null
49
+ snr_gamma: null
50
+ tracker_project_name: text2image-fine-tune
51
+ train_batch_size: 1
52
+ train_data_dir: null
53
+ use_8bit_adam: false
54
+ use_ema: true
55
+ validation_epochs: 5
56
+ variant: null
logs/text2image-fine-tune/1746593157.6585672/events.out.tfevents.1746593157.d743d3a65c23.17195.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17c73f4bbf5d45b8605d24fe437ed7b713a479b57fbad6899696a0eb2b248515
3
+ size 2733
logs/text2image-fine-tune/1746593157.6601374/hparams.yml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.01
5
+ allow_tf32: false
6
+ cache_dir: null
7
+ caption_column: text
8
+ center_crop: true
9
+ checkpointing_steps: 500
10
+ checkpoints_total_limit: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: '0.25'
13
+ dataset_name: HuggingFaceM4/FairFace
14
+ dream_detail_preservation: 1.0
15
+ dream_training: false
16
+ enable_xformers_memory_efficient_attention: true
17
+ foreach_ema: false
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: true
20
+ hub_model_id: Aspriring/DGM_Final_Model
21
+ hub_token: null
22
+ image_column: image
23
+ image_interpolation_mode: lanczos
24
+ input_perturbation: 0
25
+ learning_rate: 1.0e-05
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ lr_scheduler: constant
29
+ lr_warmup_steps: 0
30
+ max_grad_norm: 1.0
31
+ max_train_samples: null
32
+ max_train_steps: 10000
33
+ mixed_precision: fp16
34
+ noise_offset: 0
35
+ non_ema_revision: null
36
+ num_train_epochs: 2
37
+ offload_ema: false
38
+ output_dir: DGM_Final_Model
39
+ prediction_type: null
40
+ pretrained_model_name_or_path: stable-diffusion-v1-5/stable-diffusion-v1-5
41
+ push_to_hub: true
42
+ random_flip: true
43
+ report_to: tensorboard
44
+ resolution: 512
45
+ resume_from_checkpoint: checkpoint-10000
46
+ revision: null
47
+ scale_lr: false
48
+ seed: null
49
+ snr_gamma: null
50
+ tracker_project_name: text2image-fine-tune
51
+ train_batch_size: 1
52
+ train_data_dir: null
53
+ use_8bit_adam: false
54
+ use_ema: true
55
+ validation_epochs: 5
56
+ variant: null
logs/text2image-fine-tune/1746593810.4418373/events.out.tfevents.1746593810.d743d3a65c23.20033.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:ace4825f66fc471f635cf45e6a8f05fbf4a420e1e3b1e9c436880c6dc1a33642
3
+ size 2733
logs/text2image-fine-tune/1746593810.4433692/hparams.yml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.01
5
+ allow_tf32: false
6
+ cache_dir: null
7
+ caption_column: text
8
+ center_crop: true
9
+ checkpointing_steps: 500
10
+ checkpoints_total_limit: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: '0.25'
13
+ dataset_name: HuggingFaceM4/FairFace
14
+ dream_detail_preservation: 1.0
15
+ dream_training: false
16
+ enable_xformers_memory_efficient_attention: true
17
+ foreach_ema: false
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: true
20
+ hub_model_id: Aspriring/DGM_Final_Model
21
+ hub_token: null
22
+ image_column: image
23
+ image_interpolation_mode: lanczos
24
+ input_perturbation: 0
25
+ learning_rate: 1.0e-05
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ lr_scheduler: constant
29
+ lr_warmup_steps: 0
30
+ max_grad_norm: 1.0
31
+ max_train_samples: null
32
+ max_train_steps: 10000
33
+ mixed_precision: fp16
34
+ noise_offset: 0
35
+ non_ema_revision: null
36
+ num_train_epochs: 2
37
+ offload_ema: false
38
+ output_dir: DGM_Final_Model
39
+ prediction_type: null
40
+ pretrained_model_name_or_path: stable-diffusion-v1-5/stable-diffusion-v1-5
41
+ push_to_hub: true
42
+ random_flip: true
43
+ report_to: tensorboard
44
+ resolution: 512
45
+ resume_from_checkpoint: checkpoint-10000
46
+ revision: null
47
+ scale_lr: false
48
+ seed: null
49
+ snr_gamma: null
50
+ tracker_project_name: text2image-fine-tune
51
+ train_batch_size: 1
52
+ train_data_dir: null
53
+ use_8bit_adam: false
54
+ use_ema: true
55
+ validation_epochs: 5
56
+ variant: null
logs/text2image-fine-tune/1746594610.1907237/events.out.tfevents.1746594610.d743d3a65c23.23296.1 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e11f410b2aec03401ab241a70e6135cd34ed9ef2037b35f6dc8f7c45240195f4
3
+ size 2733
logs/text2image-fine-tune/1746594610.196609/hparams.yml ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ adam_beta1: 0.9
2
+ adam_beta2: 0.999
3
+ adam_epsilon: 1.0e-08
4
+ adam_weight_decay: 0.01
5
+ allow_tf32: false
6
+ cache_dir: null
7
+ caption_column: text
8
+ center_crop: true
9
+ checkpointing_steps: 500
10
+ checkpoints_total_limit: null
11
+ dataloader_num_workers: 0
12
+ dataset_config_name: '0.25'
13
+ dataset_name: HuggingFaceM4/FairFace
14
+ dream_detail_preservation: 1.0
15
+ dream_training: false
16
+ enable_xformers_memory_efficient_attention: true
17
+ foreach_ema: false
18
+ gradient_accumulation_steps: 4
19
+ gradient_checkpointing: true
20
+ hub_model_id: Aspriring/DGM_Final_Model
21
+ hub_token: null
22
+ image_column: image
23
+ image_interpolation_mode: lanczos
24
+ input_perturbation: 0
25
+ learning_rate: 1.0e-05
26
+ local_rank: -1
27
+ logging_dir: logs
28
+ lr_scheduler: constant
29
+ lr_warmup_steps: 0
30
+ max_grad_norm: 1.0
31
+ max_train_samples: null
32
+ max_train_steps: 10000
33
+ mixed_precision: fp16
34
+ noise_offset: 0
35
+ non_ema_revision: null
36
+ num_train_epochs: 2
37
+ offload_ema: false
38
+ output_dir: DGM_Final_Model
39
+ prediction_type: null
40
+ pretrained_model_name_or_path: stable-diffusion-v1-5/stable-diffusion-v1-5
41
+ push_to_hub: true
42
+ random_flip: true
43
+ report_to: tensorboard
44
+ resolution: 512
45
+ resume_from_checkpoint: checkpoint-10000
46
+ revision: null
47
+ scale_lr: false
48
+ seed: null
49
+ snr_gamma: null
50
+ tracker_project_name: text2image-fine-tune
51
+ train_batch_size: 1
52
+ train_data_dir: null
53
+ use_8bit_adam: false
54
+ use_ema: true
55
+ validation_epochs: 5
56
+ variant: null
logs/text2image-fine-tune/events.out.tfevents.1746591139.d743d3a65c23.8350.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:edbe16865f7c7dd49a2bda13f560f09749a9d51b2748789adf20cbb235a9e51d
3
+ size 88
logs/text2image-fine-tune/events.out.tfevents.1746593157.d743d3a65c23.17195.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:20bab69f474b3960ad0dcfaaa246f2f0aaa3083c02d7e9d4ba39c5d7245feb5f
3
+ size 88
logs/text2image-fine-tune/events.out.tfevents.1746593810.d743d3a65c23.20033.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:926e5c5c42b9245b79eac8a15c01496c2fb1e8bfba9e5f79e56cc12bfe4a3862
3
+ size 88
logs/text2image-fine-tune/events.out.tfevents.1746594610.d743d3a65c23.23296.0 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7f4499580ef60f400050c06de9541bc0b6883be0ac502ae61df1be580722769e
3
+ size 88
model_index.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.34.0.dev0",
4
+ "_name_or_path": "stable-diffusion-v1-5/stable-diffusion-v1-5",
5
+ "feature_extractor": [
6
+ "transformers",
7
+ "CLIPImageProcessor"
8
+ ],
9
+ "image_encoder": [
10
+ null,
11
+ null
12
+ ],
13
+ "requires_safety_checker": true,
14
+ "safety_checker": [
15
+ "stable_diffusion",
16
+ "StableDiffusionSafetyChecker"
17
+ ],
18
+ "scheduler": [
19
+ "diffusers",
20
+ "PNDMScheduler"
21
+ ],
22
+ "text_encoder": [
23
+ "transformers",
24
+ "CLIPTextModel"
25
+ ],
26
+ "tokenizer": [
27
+ "transformers",
28
+ "CLIPTokenizer"
29
+ ],
30
+ "unet": [
31
+ "diffusers",
32
+ "UNet2DConditionModel"
33
+ ],
34
+ "vae": [
35
+ "diffusers",
36
+ "AutoencoderKL"
37
+ ]
38
+ }
safety_checker/config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "StableDiffusionSafetyChecker"
4
+ ],
5
+ "initializer_factor": 1.0,
6
+ "logit_scale_init_value": 2.6592,
7
+ "model_type": "clip",
8
+ "projection_dim": 768,
9
+ "text_config": {
10
+ "attention_dropout": 0.0,
11
+ "dropout": 0.0,
12
+ "hidden_act": "quick_gelu",
13
+ "hidden_size": 768,
14
+ "initializer_factor": 1.0,
15
+ "initializer_range": 0.02,
16
+ "intermediate_size": 3072,
17
+ "layer_norm_eps": 1e-05,
18
+ "max_position_embeddings": 77,
19
+ "model_type": "clip_text_model",
20
+ "num_attention_heads": 12,
21
+ "num_hidden_layers": 12,
22
+ "projection_dim": 512,
23
+ "torch_dtype": "float32",
24
+ "vocab_size": 49408
25
+ },
26
+ "torch_dtype": "float32",
27
+ "transformers_version": "4.51.3",
28
+ "vision_config": {
29
+ "_attn_implementation_autoset": true,
30
+ "attention_dropout": 0.0,
31
+ "dropout": 0.0,
32
+ "hidden_act": "quick_gelu",
33
+ "hidden_size": 1024,
34
+ "image_size": 224,
35
+ "initializer_factor": 1.0,
36
+ "initializer_range": 0.02,
37
+ "intermediate_size": 4096,
38
+ "layer_norm_eps": 1e-05,
39
+ "model_type": "clip_vision_model",
40
+ "num_attention_heads": 16,
41
+ "num_channels": 3,
42
+ "num_hidden_layers": 24,
43
+ "patch_size": 14,
44
+ "projection_dim": 512,
45
+ "torch_dtype": "float32"
46
+ }
47
+ }
safety_checker/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fb351a5ded815c3ff744968ad9c6b218d071b9d313d04f35e813b84b4c0ffde8
3
+ size 1215979664
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "PNDMScheduler",
3
+ "_diffusers_version": "0.34.0.dev0",
4
+ "beta_end": 0.012,
5
+ "beta_schedule": "scaled_linear",
6
+ "beta_start": 0.00085,
7
+ "clip_sample": false,
8
+ "num_train_timesteps": 1000,
9
+ "prediction_type": "epsilon",
10
+ "set_alpha_to_one": false,
11
+ "skip_prk_steps": true,
12
+ "steps_offset": 1,
13
+ "timestep_spacing": "leading",
14
+ "trained_betas": null
15
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "CLIPTextModel"
4
+ ],
5
+ "attention_dropout": 0.0,
6
+ "bos_token_id": 0,
7
+ "dropout": 0.0,
8
+ "eos_token_id": 2,
9
+ "hidden_act": "quick_gelu",
10
+ "hidden_size": 768,
11
+ "initializer_factor": 1.0,
12
+ "initializer_range": 0.02,
13
+ "intermediate_size": 3072,
14
+ "layer_norm_eps": 1e-05,
15
+ "max_position_embeddings": 77,
16
+ "model_type": "clip_text_model",
17
+ "num_attention_heads": 12,
18
+ "num_hidden_layers": 12,
19
+ "pad_token_id": 1,
20
+ "projection_dim": 768,
21
+ "torch_dtype": "float16",
22
+ "transformers_version": "4.51.3",
23
+ "vocab_size": 49408
24
+ }
text_encoder/model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:660c6f5b1abae9dc498ac2d21e1347d2abdb0cf6c0c0c8576cd796491d9a6cdd
3
+ size 246144152
tokenizer/merges.txt ADDED
The diff for this file is too large to render. See raw diff
 
tokenizer/special_tokens_map.json ADDED
@@ -0,0 +1,24 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "bos_token": {
3
+ "content": "<|startoftext|>",
4
+ "lstrip": false,
5
+ "normalized": true,
6
+ "rstrip": false,
7
+ "single_word": false
8
+ },
9
+ "eos_token": {
10
+ "content": "<|endoftext|>",
11
+ "lstrip": false,
12
+ "normalized": true,
13
+ "rstrip": false,
14
+ "single_word": false
15
+ },
16
+ "pad_token": "<|endoftext|>",
17
+ "unk_token": {
18
+ "content": "<|endoftext|>",
19
+ "lstrip": false,
20
+ "normalized": true,
21
+ "rstrip": false,
22
+ "single_word": false
23
+ }
24
+ }
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "add_prefix_space": false,
3
+ "added_tokens_decoder": {
4
+ "49406": {
5
+ "content": "<|startoftext|>",
6
+ "lstrip": false,
7
+ "normalized": true,
8
+ "rstrip": false,
9
+ "single_word": false,
10
+ "special": true
11
+ },
12
+ "49407": {
13
+ "content": "<|endoftext|>",
14
+ "lstrip": false,
15
+ "normalized": true,
16
+ "rstrip": false,
17
+ "single_word": false,
18
+ "special": true
19
+ }
20
+ },
21
+ "bos_token": "<|startoftext|>",
22
+ "clean_up_tokenization_spaces": false,
23
+ "do_lower_case": true,
24
+ "eos_token": "<|endoftext|>",
25
+ "errors": "replace",
26
+ "extra_special_tokens": {},
27
+ "model_max_length": 77,
28
+ "pad_token": "<|endoftext|>",
29
+ "tokenizer_class": "CLIPTokenizer",
30
+ "unk_token": "<|endoftext|>"
31
+ }
tokenizer/vocab.json ADDED
The diff for this file is too large to render. See raw diff
 
unet/config.json ADDED
@@ -0,0 +1,68 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.34.0.dev0",
4
+ "_name_or_path": "stable-diffusion-v1-5/stable-diffusion-v1-5",
5
+ "act_fn": "silu",
6
+ "addition_embed_type": null,
7
+ "addition_embed_type_num_heads": 64,
8
+ "addition_time_embed_dim": null,
9
+ "attention_head_dim": 8,
10
+ "attention_type": "default",
11
+ "block_out_channels": [
12
+ 320,
13
+ 640,
14
+ 1280,
15
+ 1280
16
+ ],
17
+ "center_input_sample": false,
18
+ "class_embed_type": null,
19
+ "class_embeddings_concat": false,
20
+ "conv_in_kernel": 3,
21
+ "conv_out_kernel": 3,
22
+ "cross_attention_dim": 768,
23
+ "cross_attention_norm": null,
24
+ "down_block_types": [
25
+ "CrossAttnDownBlock2D",
26
+ "CrossAttnDownBlock2D",
27
+ "CrossAttnDownBlock2D",
28
+ "DownBlock2D"
29
+ ],
30
+ "downsample_padding": 1,
31
+ "dropout": 0.0,
32
+ "dual_cross_attention": false,
33
+ "encoder_hid_dim": null,
34
+ "encoder_hid_dim_type": null,
35
+ "flip_sin_to_cos": true,
36
+ "freq_shift": 0,
37
+ "in_channels": 4,
38
+ "layers_per_block": 2,
39
+ "mid_block_only_cross_attention": null,
40
+ "mid_block_scale_factor": 1,
41
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
42
+ "norm_eps": 1e-05,
43
+ "norm_num_groups": 32,
44
+ "num_attention_heads": null,
45
+ "num_class_embeds": null,
46
+ "only_cross_attention": false,
47
+ "out_channels": 4,
48
+ "projection_class_embeddings_input_dim": null,
49
+ "resnet_out_scale_factor": 1.0,
50
+ "resnet_skip_time_act": false,
51
+ "resnet_time_scale_shift": "default",
52
+ "reverse_transformer_layers_per_block": null,
53
+ "sample_size": 64,
54
+ "time_cond_proj_dim": null,
55
+ "time_embedding_act_fn": null,
56
+ "time_embedding_dim": null,
57
+ "time_embedding_type": "positional",
58
+ "timestep_post_act": null,
59
+ "transformer_layers_per_block": 1,
60
+ "up_block_types": [
61
+ "UpBlock2D",
62
+ "CrossAttnUpBlock2D",
63
+ "CrossAttnUpBlock2D",
64
+ "CrossAttnUpBlock2D"
65
+ ],
66
+ "upcast_attention": false,
67
+ "use_linear_projection": false
68
+ }
unet/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:d27cd69d4a0aa32105087a619f32a51bc087e133be93fe23da92f3c0bcc07d79
3
+ size 3438167536
vae/config.json ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.34.0.dev0",
4
+ "_name_or_path": "stable-diffusion-v1-5/stable-diffusion-v1-5",
5
+ "act_fn": "silu",
6
+ "block_out_channels": [
7
+ 128,
8
+ 256,
9
+ 512,
10
+ 512
11
+ ],
12
+ "down_block_types": [
13
+ "DownEncoderBlock2D",
14
+ "DownEncoderBlock2D",
15
+ "DownEncoderBlock2D",
16
+ "DownEncoderBlock2D"
17
+ ],
18
+ "force_upcast": true,
19
+ "in_channels": 3,
20
+ "latent_channels": 4,
21
+ "latents_mean": null,
22
+ "latents_std": null,
23
+ "layers_per_block": 2,
24
+ "mid_block_add_attention": true,
25
+ "norm_num_groups": 32,
26
+ "out_channels": 3,
27
+ "sample_size": 512,
28
+ "scaling_factor": 0.18215,
29
+ "shift_factor": null,
30
+ "up_block_types": [
31
+ "UpDecoderBlock2D",
32
+ "UpDecoderBlock2D",
33
+ "UpDecoderBlock2D",
34
+ "UpDecoderBlock2D"
35
+ ],
36
+ "use_post_quant_conv": true,
37
+ "use_quant_conv": true
38
+ }
vae/diffusion_pytorch_model.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c
3
+ size 167335342