lodestones commited on
Commit
2741e14
1 Parent(s): 0ee6ee3
model_index.json CHANGED
@@ -1,21 +1,22 @@
1
  {
2
- "_class_name": "FlaxStableDiffusionPipeline",
3
- "_diffusers_version": "0.16.0.dev0",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPFeatureExtractor"
7
  ],
 
8
  "safety_checker": [
9
  null,
10
  null
11
  ],
12
  "scheduler": [
13
  "diffusers",
14
- "FlaxDDPMScheduler"
15
  ],
16
  "text_encoder": [
17
  "transformers",
18
- "FlaxT5EncoderModel"
19
  ],
20
  "tokenizer": [
21
  "transformers",
@@ -23,10 +24,10 @@
23
  ],
24
  "unet": [
25
  "diffusers",
26
- "FlaxUNet2DConditionModel"
27
  ],
28
  "vae": [
29
  "diffusers",
30
- "FlaxAutoencoderKL"
31
  ]
32
  }
 
1
  {
2
+ "_class_name": "StableDiffusionPipeline",
3
+ "_diffusers_version": "0.16.1",
4
  "feature_extractor": [
5
  "transformers",
6
  "CLIPFeatureExtractor"
7
  ],
8
+ "requires_safety_checker": true,
9
  "safety_checker": [
10
  null,
11
  null
12
  ],
13
  "scheduler": [
14
  "diffusers",
15
+ "DDPMScheduler"
16
  ],
17
  "text_encoder": [
18
  "transformers",
19
+ "T5EncoderModel"
20
  ],
21
  "tokenizer": [
22
  "transformers",
 
24
  ],
25
  "unet": [
26
  "diffusers",
27
+ "UNet2DConditionModel"
28
  ],
29
  "vae": [
30
  "diffusers",
31
+ "AutoencoderKL"
32
  ]
33
  }
scheduler/scheduler_config.json CHANGED
@@ -1,12 +1,16 @@
1
  {
2
- "_class_name": "FlaxDDPMScheduler",
3
- "_diffusers_version": "0.16.0.dev0",
4
  "beta_end": 0.012,
5
  "beta_schedule": "squaredcos_cap_v2",
6
  "beta_start": 0.00085,
7
- "clip_sample": true,
 
 
8
  "num_train_timesteps": 1000,
9
  "prediction_type": "epsilon",
 
 
10
  "trained_betas": null,
11
  "variance_type": "fixed_small"
12
  }
 
1
  {
2
+ "_class_name": "DDPMScheduler",
3
+ "_diffusers_version": "0.16.1",
4
  "beta_end": 0.012,
5
  "beta_schedule": "squaredcos_cap_v2",
6
  "beta_start": 0.00085,
7
+ "clip_sample": false,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
  "num_train_timesteps": 1000,
11
  "prediction_type": "epsilon",
12
+ "sample_max_value": 1.0,
13
+ "thresholding": false,
14
  "trained_betas": null,
15
  "variance_type": "fixed_small"
16
  }
text_encoder/config.json CHANGED
@@ -1,4 +1,5 @@
1
  {
 
2
  "architectures": [
3
  "T5EncoderModel"
4
  ],
@@ -53,7 +54,8 @@
53
  }
54
  },
55
  "tie_word_embeddings": false,
56
- "transformers_version": "4.26.1",
 
57
  "use_cache": true,
58
  "vocab_size": 32128
59
  }
 
1
  {
2
+ "_name_or_path": "/content/sd1.5-t5-e5/text_encoder",
3
  "architectures": [
4
  "T5EncoderModel"
5
  ],
 
54
  }
55
  },
56
  "tie_word_embeddings": false,
57
+ "torch_dtype": "float32",
58
+ "transformers_version": "4.29.2",
59
  "use_cache": true,
60
  "vocab_size": 32128
61
  }
text_encoder/pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:9cefecc3f95ba94b85d01b1ea2e017c76918d66151cd11df2acb3e747935ad78
3
+ size 438550729
tokenizer/tokenizer_config.json CHANGED
@@ -101,13 +101,12 @@
101
  "<extra_id_98>",
102
  "<extra_id_99>"
103
  ],
 
104
  "eos_token": "</s>",
105
  "extra_ids": 100,
106
  "model_max_length": 512,
107
- "name_or_path": "/home/user/data_dump/sd1.5-t5-e4",
108
  "pad_token": "<pad>",
109
  "sp_model_kwargs": {},
110
- "special_tokens_map_file": "/home/younes_huggingface_co/.cache/huggingface/hub/models--google--t5-v1_1-base/snapshots/650d7745bf1e502d6949b22cc19155cd656d3d4e/special_tokens_map.json",
111
  "tokenizer_class": "T5Tokenizer",
112
  "unk_token": "<unk>"
113
  }
 
101
  "<extra_id_98>",
102
  "<extra_id_99>"
103
  ],
104
+ "clean_up_tokenization_spaces": true,
105
  "eos_token": "</s>",
106
  "extra_ids": 100,
107
  "model_max_length": 512,
 
108
  "pad_token": "<pad>",
109
  "sp_model_kwargs": {},
 
110
  "tokenizer_class": "T5Tokenizer",
111
  "unk_token": "<unk>"
112
  }
unet/config.json CHANGED
@@ -1,7 +1,10 @@
1
  {
2
- "_class_name": "FlaxUNet2DConditionModel",
3
- "_diffusers_version": "0.16.0.dev0",
 
4
  "act_fn": "silu",
 
 
5
  "attention_head_dim": 8,
6
  "block_out_channels": [
7
  320,
@@ -10,7 +13,12 @@
10
  1280
11
  ],
12
  "center_input_sample": false,
 
 
 
 
13
  "cross_attention_dim": 768,
 
14
  "down_block_types": [
15
  "CrossAttnDownBlock2D",
16
  "CrossAttnDownBlock2D",
@@ -19,22 +27,37 @@
19
  ],
20
  "downsample_padding": 1,
21
  "dropout": 0.0,
 
 
22
  "flip_sin_to_cos": true,
23
  "freq_shift": 0,
24
  "in_channels": 4,
25
  "layers_per_block": 2,
 
26
  "mid_block_scale_factor": 1,
 
27
  "norm_eps": 1e-05,
28
  "norm_num_groups": 32,
 
29
  "only_cross_attention": false,
30
  "out_channels": 4,
 
 
 
 
31
  "sample_size": 64,
 
 
 
 
 
32
  "up_block_types": [
33
  "UpBlock2D",
34
  "CrossAttnUpBlock2D",
35
  "CrossAttnUpBlock2D",
36
  "CrossAttnUpBlock2D"
37
  ],
 
38
  "use_linear_projection": false,
39
  "use_memory_efficient": false,
40
  "use_memory_efficient_attention": false
 
1
  {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.16.1",
4
+ "_name_or_path": "/content/sd1.5-t5-e5/unet",
5
  "act_fn": "silu",
6
+ "addition_embed_type": null,
7
+ "addition_embed_type_num_heads": 64,
8
  "attention_head_dim": 8,
9
  "block_out_channels": [
10
  320,
 
13
  1280
14
  ],
15
  "center_input_sample": false,
16
+ "class_embed_type": null,
17
+ "class_embeddings_concat": false,
18
+ "conv_in_kernel": 3,
19
+ "conv_out_kernel": 3,
20
  "cross_attention_dim": 768,
21
+ "cross_attention_norm": null,
22
  "down_block_types": [
23
  "CrossAttnDownBlock2D",
24
  "CrossAttnDownBlock2D",
 
27
  ],
28
  "downsample_padding": 1,
29
  "dropout": 0.0,
30
+ "dual_cross_attention": false,
31
+ "encoder_hid_dim": null,
32
  "flip_sin_to_cos": true,
33
  "freq_shift": 0,
34
  "in_channels": 4,
35
  "layers_per_block": 2,
36
+ "mid_block_only_cross_attention": null,
37
  "mid_block_scale_factor": 1,
38
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
39
  "norm_eps": 1e-05,
40
  "norm_num_groups": 32,
41
+ "num_class_embeds": null,
42
  "only_cross_attention": false,
43
  "out_channels": 4,
44
+ "projection_class_embeddings_input_dim": null,
45
+ "resnet_out_scale_factor": 1.0,
46
+ "resnet_skip_time_act": false,
47
+ "resnet_time_scale_shift": "default",
48
  "sample_size": 64,
49
+ "time_cond_proj_dim": null,
50
+ "time_embedding_act_fn": null,
51
+ "time_embedding_dim": null,
52
+ "time_embedding_type": "positional",
53
+ "timestep_post_act": null,
54
  "up_block_types": [
55
  "UpBlock2D",
56
  "CrossAttnUpBlock2D",
57
  "CrossAttnUpBlock2D",
58
  "CrossAttnUpBlock2D"
59
  ],
60
+ "upcast_attention": false,
61
  "use_linear_projection": false,
62
  "use_memory_efficient": false,
63
  "use_memory_efficient_attention": false
unet/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5b4068e2856c9f60553f23b7f007dc804fe24094679e15bbdaf4bf1c551c52c7
3
+ size 3438366373
vae/config.json CHANGED
@@ -1,6 +1,7 @@
1
  {
2
- "_class_name": "FlaxAutoencoderKL",
3
- "_diffusers_version": "0.16.0.dev0",
 
4
  "act_fn": "silu",
5
  "block_out_channels": [
6
  128,
 
1
  {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.16.1",
4
+ "_name_or_path": "/content/sd1.5-t5-e5/vae",
5
  "act_fn": "silu",
6
  "block_out_channels": [
7
  128,
vae/diffusion_pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:af27ea858349760ebe3311953e0bfe8d6fd257dc9537ae0b2b938c262132a2c6
3
+ size 334711857