Upload configs from Drive bundle
Browse files- configs/text_encoder_config.json +39 -0
- configs/unet_config.json +101 -0
- configs/vae_config.json +48 -0
configs/text_encoder_config.json
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"return_dict": true,
|
| 3 |
+
"output_hidden_states": false,
|
| 4 |
+
"dtype": "float32",
|
| 5 |
+
"chunk_size_feed_forward": 0,
|
| 6 |
+
"is_encoder_decoder": false,
|
| 7 |
+
"architectures": [
|
| 8 |
+
"CLIPTextModel"
|
| 9 |
+
],
|
| 10 |
+
"id2label": {
|
| 11 |
+
"0": "LABEL_0",
|
| 12 |
+
"1": "LABEL_1"
|
| 13 |
+
},
|
| 14 |
+
"label2id": {
|
| 15 |
+
"LABEL_0": 0,
|
| 16 |
+
"LABEL_1": 1
|
| 17 |
+
},
|
| 18 |
+
"problem_type": null,
|
| 19 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stable-diffusion-v1-5--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/text_encoder",
|
| 20 |
+
"transformers_version": "5.0.0",
|
| 21 |
+
"dropout": 0.0,
|
| 22 |
+
"model_type": "clip_text_model",
|
| 23 |
+
"pad_token_id": 1,
|
| 24 |
+
"bos_token_id": 0,
|
| 25 |
+
"eos_token_id": 2,
|
| 26 |
+
"vocab_size": 49408,
|
| 27 |
+
"hidden_size": 768,
|
| 28 |
+
"intermediate_size": 3072,
|
| 29 |
+
"projection_dim": 768,
|
| 30 |
+
"num_hidden_layers": 12,
|
| 31 |
+
"num_attention_heads": 12,
|
| 32 |
+
"max_position_embeddings": 77,
|
| 33 |
+
"layer_norm_eps": 1e-05,
|
| 34 |
+
"hidden_act": "quick_gelu",
|
| 35 |
+
"initializer_range": 0.02,
|
| 36 |
+
"initializer_factor": 1.0,
|
| 37 |
+
"attention_dropout": 0.0,
|
| 38 |
+
"output_attentions": false
|
| 39 |
+
}
|
configs/unet_config.json
ADDED
|
@@ -0,0 +1,101 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"sample_size": 64,
|
| 3 |
+
"in_channels": 4,
|
| 4 |
+
"out_channels": 4,
|
| 5 |
+
"center_input_sample": false,
|
| 6 |
+
"flip_sin_to_cos": true,
|
| 7 |
+
"freq_shift": 0,
|
| 8 |
+
"down_block_types": [
|
| 9 |
+
"CrossAttnDownBlock2D",
|
| 10 |
+
"CrossAttnDownBlock2D",
|
| 11 |
+
"CrossAttnDownBlock2D",
|
| 12 |
+
"DownBlock2D"
|
| 13 |
+
],
|
| 14 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
| 15 |
+
"up_block_types": [
|
| 16 |
+
"UpBlock2D",
|
| 17 |
+
"CrossAttnUpBlock2D",
|
| 18 |
+
"CrossAttnUpBlock2D",
|
| 19 |
+
"CrossAttnUpBlock2D"
|
| 20 |
+
],
|
| 21 |
+
"only_cross_attention": false,
|
| 22 |
+
"block_out_channels": [
|
| 23 |
+
320,
|
| 24 |
+
640,
|
| 25 |
+
1280,
|
| 26 |
+
1280
|
| 27 |
+
],
|
| 28 |
+
"layers_per_block": 2,
|
| 29 |
+
"downsample_padding": 1,
|
| 30 |
+
"mid_block_scale_factor": 1,
|
| 31 |
+
"dropout": 0.0,
|
| 32 |
+
"act_fn": "silu",
|
| 33 |
+
"norm_num_groups": 32,
|
| 34 |
+
"norm_eps": 1e-05,
|
| 35 |
+
"cross_attention_dim": 768,
|
| 36 |
+
"transformer_layers_per_block": 1,
|
| 37 |
+
"reverse_transformer_layers_per_block": null,
|
| 38 |
+
"encoder_hid_dim": null,
|
| 39 |
+
"encoder_hid_dim_type": null,
|
| 40 |
+
"attention_head_dim": 8,
|
| 41 |
+
"num_attention_heads": null,
|
| 42 |
+
"dual_cross_attention": false,
|
| 43 |
+
"use_linear_projection": false,
|
| 44 |
+
"class_embed_type": null,
|
| 45 |
+
"addition_embed_type": null,
|
| 46 |
+
"addition_time_embed_dim": null,
|
| 47 |
+
"num_class_embeds": null,
|
| 48 |
+
"upcast_attention": false,
|
| 49 |
+
"resnet_time_scale_shift": "default",
|
| 50 |
+
"resnet_skip_time_act": false,
|
| 51 |
+
"resnet_out_scale_factor": 1.0,
|
| 52 |
+
"time_embedding_type": "positional",
|
| 53 |
+
"time_embedding_dim": null,
|
| 54 |
+
"time_embedding_act_fn": null,
|
| 55 |
+
"timestep_post_act": null,
|
| 56 |
+
"time_cond_proj_dim": null,
|
| 57 |
+
"conv_in_kernel": 3,
|
| 58 |
+
"conv_out_kernel": 3,
|
| 59 |
+
"projection_class_embeddings_input_dim": null,
|
| 60 |
+
"attention_type": "default",
|
| 61 |
+
"class_embeddings_concat": false,
|
| 62 |
+
"mid_block_only_cross_attention": null,
|
| 63 |
+
"cross_attention_norm": null,
|
| 64 |
+
"addition_embed_type_num_heads": 64,
|
| 65 |
+
"_use_default_values": [
|
| 66 |
+
"num_attention_heads",
|
| 67 |
+
"cross_attention_norm",
|
| 68 |
+
"class_embeddings_concat",
|
| 69 |
+
"resnet_out_scale_factor",
|
| 70 |
+
"resnet_time_scale_shift",
|
| 71 |
+
"conv_in_kernel",
|
| 72 |
+
"dual_cross_attention",
|
| 73 |
+
"num_class_embeds",
|
| 74 |
+
"mid_block_only_cross_attention",
|
| 75 |
+
"reverse_transformer_layers_per_block",
|
| 76 |
+
"time_embedding_act_fn",
|
| 77 |
+
"upcast_attention",
|
| 78 |
+
"addition_embed_type_num_heads",
|
| 79 |
+
"projection_class_embeddings_input_dim",
|
| 80 |
+
"only_cross_attention",
|
| 81 |
+
"conv_out_kernel",
|
| 82 |
+
"mid_block_type",
|
| 83 |
+
"dropout",
|
| 84 |
+
"encoder_hid_dim_type",
|
| 85 |
+
"addition_embed_type",
|
| 86 |
+
"addition_time_embed_dim",
|
| 87 |
+
"time_embedding_dim",
|
| 88 |
+
"resnet_skip_time_act",
|
| 89 |
+
"encoder_hid_dim",
|
| 90 |
+
"use_linear_projection",
|
| 91 |
+
"attention_type",
|
| 92 |
+
"transformer_layers_per_block",
|
| 93 |
+
"timestep_post_act",
|
| 94 |
+
"time_embedding_type",
|
| 95 |
+
"class_embed_type",
|
| 96 |
+
"time_cond_proj_dim"
|
| 97 |
+
],
|
| 98 |
+
"_class_name": "UNet2DConditionModel",
|
| 99 |
+
"_diffusers_version": "0.6.0",
|
| 100 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stable-diffusion-v1-5--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/unet"
|
| 101 |
+
}
|
configs/vae_config.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"in_channels": 3,
|
| 3 |
+
"out_channels": 3,
|
| 4 |
+
"down_block_types": [
|
| 5 |
+
"DownEncoderBlock2D",
|
| 6 |
+
"DownEncoderBlock2D",
|
| 7 |
+
"DownEncoderBlock2D",
|
| 8 |
+
"DownEncoderBlock2D"
|
| 9 |
+
],
|
| 10 |
+
"up_block_types": [
|
| 11 |
+
"UpDecoderBlock2D",
|
| 12 |
+
"UpDecoderBlock2D",
|
| 13 |
+
"UpDecoderBlock2D",
|
| 14 |
+
"UpDecoderBlock2D"
|
| 15 |
+
],
|
| 16 |
+
"block_out_channels": [
|
| 17 |
+
128,
|
| 18 |
+
256,
|
| 19 |
+
512,
|
| 20 |
+
512
|
| 21 |
+
],
|
| 22 |
+
"layers_per_block": 2,
|
| 23 |
+
"act_fn": "silu",
|
| 24 |
+
"latent_channels": 4,
|
| 25 |
+
"norm_num_groups": 32,
|
| 26 |
+
"sample_size": 512,
|
| 27 |
+
"scaling_factor": 0.18215,
|
| 28 |
+
"shift_factor": null,
|
| 29 |
+
"latents_mean": null,
|
| 30 |
+
"latents_std": null,
|
| 31 |
+
"force_upcast": true,
|
| 32 |
+
"use_quant_conv": true,
|
| 33 |
+
"use_post_quant_conv": true,
|
| 34 |
+
"mid_block_add_attention": true,
|
| 35 |
+
"_use_default_values": [
|
| 36 |
+
"mid_block_add_attention",
|
| 37 |
+
"latents_mean",
|
| 38 |
+
"use_quant_conv",
|
| 39 |
+
"force_upcast",
|
| 40 |
+
"scaling_factor",
|
| 41 |
+
"shift_factor",
|
| 42 |
+
"use_post_quant_conv",
|
| 43 |
+
"latents_std"
|
| 44 |
+
],
|
| 45 |
+
"_class_name": "AutoencoderKL",
|
| 46 |
+
"_diffusers_version": "0.6.0",
|
| 47 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stable-diffusion-v1-5--stable-diffusion-v1-5/snapshots/451f4fe16113bff5a5d2269ed5ad43b0592e9a14/vae"
|
| 48 |
+
}
|