Upload StableDiffusionPipeline
Browse files- model_index.json +1 -1
- text_encoder/config.json +5 -5
- text_encoder/model.safetensors +2 -2
- tokenizer/special_tokens_map.json +3 -9
- tokenizer/tokenizer_config.json +1 -1
- unet/diffusion_pytorch_model.safetensors +1 -1
- vae/config.json +25 -35
- vae/diffusion_pytorch_model.safetensors +2 -2
model_index.json
CHANGED
|
@@ -32,6 +32,6 @@
|
|
| 32 |
],
|
| 33 |
"vae": [
|
| 34 |
"diffusers",
|
| 35 |
-
"
|
| 36 |
]
|
| 37 |
}
|
|
|
|
| 32 |
],
|
| 33 |
"vae": [
|
| 34 |
"diffusers",
|
| 35 |
+
"AutoencoderKL"
|
| 36 |
]
|
| 37 |
}
|
text_encoder/config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "
|
| 3 |
"architectures": [
|
| 4 |
"CLIPTextModel"
|
| 5 |
],
|
|
@@ -8,17 +8,17 @@
|
|
| 8 |
"dropout": 0.0,
|
| 9 |
"eos_token_id": 2,
|
| 10 |
"hidden_act": "quick_gelu",
|
| 11 |
-
"hidden_size":
|
| 12 |
"initializer_factor": 1.0,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
-
"intermediate_size":
|
| 15 |
"layer_norm_eps": 1e-05,
|
| 16 |
"max_position_embeddings": 77,
|
| 17 |
"model_type": "clip_text_model",
|
| 18 |
-
"num_attention_heads":
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
-
"projection_dim":
|
| 22 |
"torch_dtype": "float32",
|
| 23 |
"transformers_version": "4.39.3",
|
| 24 |
"vocab_size": 49408
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "runwayml/stable-diffusion-v1-5",
|
| 3 |
"architectures": [
|
| 4 |
"CLIPTextModel"
|
| 5 |
],
|
|
|
|
| 8 |
"dropout": 0.0,
|
| 9 |
"eos_token_id": 2,
|
| 10 |
"hidden_act": "quick_gelu",
|
| 11 |
+
"hidden_size": 768,
|
| 12 |
"initializer_factor": 1.0,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 3072,
|
| 15 |
"layer_norm_eps": 1e-05,
|
| 16 |
"max_position_embeddings": 77,
|
| 17 |
"model_type": "clip_text_model",
|
| 18 |
+
"num_attention_heads": 12,
|
| 19 |
"num_hidden_layers": 12,
|
| 20 |
"pad_token_id": 1,
|
| 21 |
+
"projection_dim": 768,
|
| 22 |
"torch_dtype": "float32",
|
| 23 |
"transformers_version": "4.39.3",
|
| 24 |
"vocab_size": 49408
|
text_encoder/model.safetensors
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:778d02eb9e707c3fbaae0b67b79ea0d1399b52e624fb634f2f19375ae7c047c3
|
| 3 |
+
size 492265168
|
tokenizer/special_tokens_map.json
CHANGED
|
@@ -9,21 +9,15 @@
|
|
| 9 |
"eos_token": {
|
| 10 |
"content": "<|endoftext|>",
|
| 11 |
"lstrip": false,
|
| 12 |
-
"normalized":
|
| 13 |
-
"rstrip": false,
|
| 14 |
-
"single_word": false
|
| 15 |
-
},
|
| 16 |
-
"pad_token": {
|
| 17 |
-
"content": "<|endoftext|>",
|
| 18 |
-
"lstrip": false,
|
| 19 |
-
"normalized": false,
|
| 20 |
"rstrip": false,
|
| 21 |
"single_word": false
|
| 22 |
},
|
|
|
|
| 23 |
"unk_token": {
|
| 24 |
"content": "<|endoftext|>",
|
| 25 |
"lstrip": false,
|
| 26 |
-
"normalized":
|
| 27 |
"rstrip": false,
|
| 28 |
"single_word": false
|
| 29 |
}
|
|
|
|
| 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 |
}
|
tokenizer/tokenizer_config.json
CHANGED
|
@@ -12,7 +12,7 @@
|
|
| 12 |
"49407": {
|
| 13 |
"content": "<|endoftext|>",
|
| 14 |
"lstrip": false,
|
| 15 |
-
"normalized":
|
| 16 |
"rstrip": false,
|
| 17 |
"single_word": false,
|
| 18 |
"special": true
|
|
|
|
| 12 |
"49407": {
|
| 13 |
"content": "<|endoftext|>",
|
| 14 |
"lstrip": false,
|
| 15 |
+
"normalized": true,
|
| 16 |
"rstrip": false,
|
| 17 |
"single_word": false,
|
| 18 |
"special": true
|
unet/diffusion_pytorch_model.safetensors
CHANGED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 1344694984
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5a8278e019b0d34c399e6d11ade61c7eb1bd83302b9b339ff5b8ea89259ecb14
|
| 3 |
size 1344694984
|
vae/config.json
CHANGED
|
@@ -1,44 +1,34 @@
|
|
| 1 |
{
|
| 2 |
-
"_class_name": "
|
| 3 |
"_diffusers_version": "0.27.2",
|
| 4 |
-
"_name_or_path": "
|
| 5 |
-
"act_fn": "
|
| 6 |
"block_out_channels": [
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
],
|
| 12 |
-
"
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
],
|
| 18 |
-
"
|
| 19 |
-
64,
|
| 20 |
-
64,
|
| 21 |
-
64,
|
| 22 |
-
64
|
| 23 |
-
],
|
| 24 |
-
"force_upcast": false,
|
| 25 |
"in_channels": 3,
|
| 26 |
"latent_channels": 4,
|
| 27 |
-
"
|
| 28 |
-
"
|
| 29 |
-
"
|
| 30 |
-
|
| 31 |
-
3,
|
| 32 |
-
3,
|
| 33 |
-
1
|
| 34 |
-
],
|
| 35 |
-
"num_encoder_blocks": [
|
| 36 |
-
1,
|
| 37 |
-
3,
|
| 38 |
-
3,
|
| 39 |
-
3
|
| 40 |
-
],
|
| 41 |
"out_channels": 3,
|
| 42 |
-
"
|
| 43 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_class_name": "AutoencoderKL",
|
| 3 |
"_diffusers_version": "0.27.2",
|
| 4 |
+
"_name_or_path": "runwayml/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 |
+
"norm_num_groups": 32,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
"out_channels": 3,
|
| 26 |
+
"sample_size": 512,
|
| 27 |
+
"scaling_factor": 0.18215,
|
| 28 |
+
"up_block_types": [
|
| 29 |
+
"UpDecoderBlock2D",
|
| 30 |
+
"UpDecoderBlock2D",
|
| 31 |
+
"UpDecoderBlock2D",
|
| 32 |
+
"UpDecoderBlock2D"
|
| 33 |
+
]
|
| 34 |
}
|
vae/diffusion_pytorch_model.safetensors
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:4fbcf0ebe55a0984f5a5e00d8c4521d52359af7229bb4d81890039d2aa16dd7c
|
| 3 |
+
size 167335342
|