not-someone
commited on
Commit
•
3b3c8eb
1
Parent(s):
3199b89
Upload 15 files
Browse files- model_index.json +8 -7
- scheduler/scheduler_config.json +3 -2
- text_encoder/config.json +2 -2
- text_encoder/model.safetensors +3 -0
- text_encoder/pytorch_model.bin +2 -2
- tokenizer/tokenizer_config.json +1 -1
- unet/config.json +8 -3
- unet/diffusion_pytorch_model.bin +2 -2
- unet/diffusion_pytorch_model.safetensors +3 -0
- vae/config.json +1 -1
- vae/diffusion_pytorch_model.bin +2 -2
- vae/diffusion_pytorch_model.safetensors +3 -0
model_index.json
CHANGED
@@ -1,17 +1,18 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"feature_extractor": [
|
5 |
-
|
6 |
-
|
7 |
],
|
|
|
8 |
"safety_checker": [
|
9 |
-
|
10 |
-
|
11 |
],
|
12 |
"scheduler": [
|
13 |
"diffusers",
|
14 |
-
"
|
15 |
],
|
16 |
"text_encoder": [
|
17 |
"transformers",
|
@@ -29,4 +30,4 @@
|
|
29 |
"diffusers",
|
30 |
"AutoencoderKL"
|
31 |
]
|
32 |
-
}
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.10.2",
|
4 |
"feature_extractor": [
|
5 |
+
null,
|
6 |
+
null
|
7 |
],
|
8 |
+
"requires_safety_checker": null,
|
9 |
"safety_checker": [
|
10 |
+
null,
|
11 |
+
null
|
12 |
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
+
"DDIMScheduler"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
|
|
30 |
"diffusers",
|
31 |
"AutoencoderKL"
|
32 |
]
|
33 |
+
}
|
scheduler/scheduler_config.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "0.
|
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 |
"set_alpha_to_one": false,
|
10 |
"skip_prk_steps": true,
|
11 |
"steps_offset": 1,
|
|
|
1 |
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
+
"_diffusers_version": "0.10.2",
|
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,
|
text_encoder/config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
-
"torch_dtype": "
|
23 |
-
"transformers_version": "4.
|
24 |
"vocab_size": 49408
|
25 |
}
|
|
|
19 |
"num_hidden_layers": 12,
|
20 |
"pad_token_id": 1,
|
21 |
"projection_dim": 768,
|
22 |
+
"torch_dtype": "float16",
|
23 |
+
"transformers_version": "4.25.1",
|
24 |
"vocab_size": 49408
|
25 |
}
|
text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f469ae32701155a23f99f1515f41635e6d790f87f78b54cbfe920258b5c30942
|
3 |
+
size 246144867
|
text_encoder/pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:fb2867d80a48e72f659ca85045a185688ecbb45862ba6d139d89a5129290a8f0
|
3 |
+
size 246184375
|
tokenizer/tokenizer_config.json
CHANGED
@@ -19,7 +19,7 @@
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 77,
|
22 |
-
"name_or_path": "
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
|
|
19 |
},
|
20 |
"errors": "replace",
|
21 |
"model_max_length": 77,
|
22 |
+
"name_or_path": "runwayml/stable-diffusion-v1-5",
|
23 |
"pad_token": "<|endoftext|>",
|
24 |
"special_tokens_map_file": "./special_tokens_map.json",
|
25 |
"tokenizer_class": "CLIPTokenizer",
|
unet/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"attention_head_dim": 8,
|
6 |
"block_out_channels": [
|
@@ -18,6 +18,7 @@
|
|
18 |
"DownBlock2D"
|
19 |
],
|
20 |
"downsample_padding": 1,
|
|
|
21 |
"flip_sin_to_cos": true,
|
22 |
"freq_shift": 0,
|
23 |
"in_channels": 4,
|
@@ -25,12 +26,16 @@
|
|
25 |
"mid_block_scale_factor": 1,
|
26 |
"norm_eps": 1e-05,
|
27 |
"norm_num_groups": 32,
|
|
|
|
|
28 |
"out_channels": 4,
|
29 |
-
"sample_size":
|
30 |
"up_block_types": [
|
31 |
"UpBlock2D",
|
32 |
"CrossAttnUpBlock2D",
|
33 |
"CrossAttnUpBlock2D",
|
34 |
"CrossAttnUpBlock2D"
|
35 |
-
]
|
|
|
|
|
36 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.10.2",
|
4 |
"act_fn": "silu",
|
5 |
"attention_head_dim": 8,
|
6 |
"block_out_channels": [
|
|
|
18 |
"DownBlock2D"
|
19 |
],
|
20 |
"downsample_padding": 1,
|
21 |
+
"dual_cross_attention": false,
|
22 |
"flip_sin_to_cos": true,
|
23 |
"freq_shift": 0,
|
24 |
"in_channels": 4,
|
|
|
26 |
"mid_block_scale_factor": 1,
|
27 |
"norm_eps": 1e-05,
|
28 |
"norm_num_groups": 32,
|
29 |
+
"num_class_embeds": null,
|
30 |
+
"only_cross_attention": false,
|
31 |
"out_channels": 4,
|
32 |
+
"sample_size": 32,
|
33 |
"up_block_types": [
|
34 |
"UpBlock2D",
|
35 |
"CrossAttnUpBlock2D",
|
36 |
"CrossAttnUpBlock2D",
|
37 |
"CrossAttnUpBlock2D"
|
38 |
+
],
|
39 |
+
"upcast_attention": false,
|
40 |
+
"use_linear_projection": false
|
41 |
}
|
unet/diffusion_pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c98d4e3f848a45c79b2758cd52268ad05ae7aadc51ad0e9b93811237ddc220df
|
3 |
+
size 1719312805
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b543c161eea89b404810bfe4611a1370d2127179e98088dc3ab7fe47a319e906
|
3 |
+
size 1719125271
|
vae/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.10.2",
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
vae/diffusion_pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b8cf5b49d164db18a485d392b2d9a9b4e3636d70613cb756d2e1bc460dd13161
|
3 |
+
size 334707217
|
vae/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8b3c86c36b8ad5baebb0c41c0b1ee7d5966e075754e088156a9a28db709d103b
|
3 |
+
size 334643245
|