Adding `diffusers` weights of this model
#3
by
IDK-ab0ut
- opened
- model_index.json +2 -10
- scheduler/scheduler_config.json +2 -3
- text_encoder/config.json +1 -1
- text_encoder/model.fp16.safetensors +3 -0
- text_encoder/model.safetensors +2 -2
- text_encoder_2/config.json +1 -1
- text_encoder_2/model.fp16.safetensors +3 -0
- text_encoder_2/model.safetensors +2 -2
- tokenizer/added_tokens.json +4 -0
- tokenizer/special_tokens_map.json +3 -21
- tokenizer/tokenizer_config.json +5 -3
- tokenizer_2/added_tokens.json +5 -0
- tokenizer_2/special_tokens_map.json +3 -21
- tokenizer_2/tokenizer_config.json +5 -3
- unet/config.json +1 -2
- unet/diffusion_pytorch_model.fp16.safetensors +3 -0
- unet/diffusion_pytorch_model.safetensors +2 -2
- vae/config.json +2 -8
- vae/diffusion_pytorch_model.fp16.safetensors +3 -0
- vae/diffusion_pytorch_model.safetensors +2 -2
model_index.json
CHANGED
@@ -1,18 +1,10 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionXLPipeline",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"feature_extractor": [
|
5 |
-
null,
|
6 |
-
null
|
7 |
-
],
|
8 |
"force_zeros_for_empty_prompt": true,
|
9 |
-
"image_encoder": [
|
10 |
-
null,
|
11 |
-
null
|
12 |
-
],
|
13 |
"scheduler": [
|
14 |
"diffusers",
|
15 |
-
"
|
16 |
],
|
17 |
"text_encoder": [
|
18 |
"transformers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionXLPipeline",
|
3 |
+
"_diffusers_version": "0.22.0.dev0",
|
|
|
|
|
|
|
|
|
4 |
"force_zeros_for_empty_prompt": true,
|
|
|
|
|
|
|
|
|
5 |
"scheduler": [
|
6 |
"diffusers",
|
7 |
+
"EulerDiscreteScheduler"
|
8 |
],
|
9 |
"text_encoder": [
|
10 |
"transformers",
|
scheduler/scheduler_config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "0.
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
@@ -8,7 +8,6 @@
|
|
8 |
"interpolation_type": "linear",
|
9 |
"num_train_timesteps": 1000,
|
10 |
"prediction_type": "epsilon",
|
11 |
-
"rescale_betas_zero_snr": false,
|
12 |
"sample_max_value": 1.0,
|
13 |
"set_alpha_to_one": false,
|
14 |
"skip_prk_steps": true,
|
|
|
1 |
{
|
2 |
+
"_class_name": "EulerDiscreteScheduler",
|
3 |
+
"_diffusers_version": "0.22.0.dev0",
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
|
|
8 |
"interpolation_type": "linear",
|
9 |
"num_train_timesteps": 1000,
|
10 |
"prediction_type": "epsilon",
|
|
|
11 |
"sample_max_value": 1.0,
|
12 |
"set_alpha_to_one": false,
|
13 |
"skip_prk_steps": true,
|
text_encoder/config.json
CHANGED
@@ -19,6 +19,6 @@
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
"torch_dtype": "float16",
|
22 |
-
"transformers_version": "4.
|
23 |
"vocab_size": 49408
|
24 |
}
|
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 768,
|
21 |
"torch_dtype": "float16",
|
22 |
+
"transformers_version": "4.34.0",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder/model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:30ae4221d02cb91fd7e28e0029c44c4198e3aa20cc56a2e9d3718ce7871849a8
|
3 |
+
size 246144152
|
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:ad2bf661cd13d6e1e9633473df7f8a866c6ff8384e399fc080f28d651f4247c6
|
3 |
+
size 492265168
|
text_encoder_2/config.json
CHANGED
@@ -19,6 +19,6 @@
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 1280,
|
21 |
"torch_dtype": "float16",
|
22 |
-
"transformers_version": "4.
|
23 |
"vocab_size": 49408
|
24 |
}
|
|
|
19 |
"pad_token_id": 1,
|
20 |
"projection_dim": 1280,
|
21 |
"torch_dtype": "float16",
|
22 |
+
"transformers_version": "4.34.0",
|
23 |
"vocab_size": 49408
|
24 |
}
|
text_encoder_2/model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:b085261a3ea5529bf8981ee517d88f6d86d98fcb1ed2f0a6651218efa3c53002
|
3 |
+
size 1389382176
|
text_encoder_2/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:080f155c4f291250857bf0fda0c759be496a498e750630da8089e21d31492b52
|
3 |
+
size 2778702264
|
tokenizer/added_tokens.json
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"<|endoftext|>": 49407,
|
3 |
+
"<|startoftext|>": 49406
|
4 |
+
}
|
tokenizer/special_tokens_map.json
CHANGED
@@ -1,24 +1,6 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
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 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "<|startoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"pad_token": "<|endoftext|>",
|
5 |
+
"unk_token": "<|endoftext|>"
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
tokenizer/tokenizer_config.json
CHANGED
@@ -7,17 +7,18 @@
|
|
7 |
"normalized": true,
|
8 |
"rstrip": false,
|
9 |
"single_word": false,
|
10 |
-
"special":
|
11 |
},
|
12 |
"49407": {
|
13 |
"content": "<|endoftext|>",
|
14 |
"lstrip": false,
|
15 |
-
"normalized":
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
-
"special":
|
19 |
}
|
20 |
},
|
|
|
21 |
"bos_token": "<|startoftext|>",
|
22 |
"clean_up_tokenization_spaces": true,
|
23 |
"do_lower_case": true,
|
@@ -26,5 +27,6 @@
|
|
26 |
"model_max_length": 77,
|
27 |
"pad_token": "<|endoftext|>",
|
28 |
"tokenizer_class": "CLIPTokenizer",
|
|
|
29 |
"unk_token": "<|endoftext|>"
|
30 |
}
|
|
|
7 |
"normalized": true,
|
8 |
"rstrip": false,
|
9 |
"single_word": false,
|
10 |
+
"special": false
|
11 |
},
|
12 |
"49407": {
|
13 |
"content": "<|endoftext|>",
|
14 |
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
+
"special": false
|
19 |
}
|
20 |
},
|
21 |
+
"additional_special_tokens": [],
|
22 |
"bos_token": "<|startoftext|>",
|
23 |
"clean_up_tokenization_spaces": true,
|
24 |
"do_lower_case": true,
|
|
|
27 |
"model_max_length": 77,
|
28 |
"pad_token": "<|endoftext|>",
|
29 |
"tokenizer_class": "CLIPTokenizer",
|
30 |
+
"tokenizer_file": "/home/user/.cache/huggingface/hub/models--openai--clip-vit-large-patch14/snapshots/32bd64288804d66eefd0ccbe215aa642df71cc41/tokenizer.json",
|
31 |
"unk_token": "<|endoftext|>"
|
32 |
}
|
tokenizer_2/added_tokens.json
ADDED
@@ -0,0 +1,5 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"!": 0,
|
3 |
+
"<|endoftext|>": 49407,
|
4 |
+
"<|startoftext|>": 49406
|
5 |
+
}
|
tokenizer_2/special_tokens_map.json
CHANGED
@@ -1,24 +1,6 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
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": "!",
|
17 |
-
"unk_token":
|
18 |
-
"content": "<|endoftext|>",
|
19 |
-
"lstrip": false,
|
20 |
-
"normalized": true,
|
21 |
-
"rstrip": false,
|
22 |
-
"single_word": false
|
23 |
-
}
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "<|startoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"pad_token": "!",
|
5 |
+
"unk_token": "<|endoftext|>"
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
tokenizer_2/tokenizer_config.json
CHANGED
@@ -15,17 +15,18 @@
|
|
15 |
"normalized": true,
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
-
"special":
|
19 |
},
|
20 |
"49407": {
|
21 |
"content": "<|endoftext|>",
|
22 |
"lstrip": false,
|
23 |
-
"normalized":
|
24 |
"rstrip": false,
|
25 |
"single_word": false,
|
26 |
-
"special":
|
27 |
}
|
28 |
},
|
|
|
29 |
"bos_token": "<|startoftext|>",
|
30 |
"clean_up_tokenization_spaces": true,
|
31 |
"do_lower_case": true,
|
@@ -34,5 +35,6 @@
|
|
34 |
"model_max_length": 77,
|
35 |
"pad_token": "!",
|
36 |
"tokenizer_class": "CLIPTokenizer",
|
|
|
37 |
"unk_token": "<|endoftext|>"
|
38 |
}
|
|
|
15 |
"normalized": true,
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
+
"special": false
|
19 |
},
|
20 |
"49407": {
|
21 |
"content": "<|endoftext|>",
|
22 |
"lstrip": false,
|
23 |
+
"normalized": false,
|
24 |
"rstrip": false,
|
25 |
"single_word": false,
|
26 |
+
"special": false
|
27 |
}
|
28 |
},
|
29 |
+
"additional_special_tokens": [],
|
30 |
"bos_token": "<|startoftext|>",
|
31 |
"clean_up_tokenization_spaces": true,
|
32 |
"do_lower_case": true,
|
|
|
35 |
"model_max_length": 77,
|
36 |
"pad_token": "!",
|
37 |
"tokenizer_class": "CLIPTokenizer",
|
38 |
+
"tokenizer_file": "/home/user/.cache/huggingface/hub/models--laion--CLIP-ViT-bigG-14-laion2B-39B-b160k/snapshots/bc7788f151930d91b58474715fdce5524ad9a189/tokenizer.json",
|
39 |
"unk_token": "<|endoftext|>"
|
40 |
}
|
unet/config.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
-
"_diffusers_version": "0.
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": "text_time",
|
6 |
"addition_embed_type_num_heads": 64,
|
@@ -50,7 +50,6 @@
|
|
50 |
"resnet_out_scale_factor": 1.0,
|
51 |
"resnet_skip_time_act": false,
|
52 |
"resnet_time_scale_shift": "default",
|
53 |
-
"reverse_transformer_layers_per_block": null,
|
54 |
"sample_size": 128,
|
55 |
"time_cond_proj_dim": null,
|
56 |
"time_embedding_act_fn": null,
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.22.0.dev0",
|
4 |
"act_fn": "silu",
|
5 |
"addition_embed_type": "text_time",
|
6 |
"addition_embed_type_num_heads": 64,
|
|
|
50 |
"resnet_out_scale_factor": 1.0,
|
51 |
"resnet_skip_time_act": false,
|
52 |
"resnet_time_scale_shift": "default",
|
|
|
53 |
"sample_size": 128,
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
unet/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6e77684850f2c76210e8f616d83fa495b5d01049136eee7eb5dba3efa17af09d
|
3 |
+
size 5135149760
|
unet/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:e57dea9ed967683f3046dc53d6ed2fe5cca543e7ee667034030bdd3d4ce22c54
|
3 |
+
size 10270077736
|
vae/config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "../sdxl-vae/",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -18,20 +17,15 @@
|
|
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": 1024,
|
27 |
"scaling_factor": 0.13025,
|
28 |
-
"shift_factor": null,
|
29 |
"up_block_types": [
|
30 |
"UpDecoderBlock2D",
|
31 |
"UpDecoderBlock2D",
|
32 |
"UpDecoderBlock2D",
|
33 |
"UpDecoderBlock2D"
|
34 |
-
]
|
35 |
-
"use_post_quant_conv": true,
|
36 |
-
"use_quant_conv": true
|
37 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.22.0.dev0",
|
|
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
17 |
"force_upcast": true,
|
18 |
"in_channels": 3,
|
19 |
"latent_channels": 4,
|
|
|
|
|
20 |
"layers_per_block": 2,
|
21 |
"norm_num_groups": 32,
|
22 |
"out_channels": 3,
|
23 |
"sample_size": 1024,
|
24 |
"scaling_factor": 0.13025,
|
|
|
25 |
"up_block_types": [
|
26 |
"UpDecoderBlock2D",
|
27 |
"UpDecoderBlock2D",
|
28 |
"UpDecoderBlock2D",
|
29 |
"UpDecoderBlock2D"
|
30 |
+
]
|
|
|
|
|
31 |
}
|
vae/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6353737672c94b96174cb590f711eac6edf2fcce5b6e91aa9d73c5adc589ee48
|
3 |
+
size 167335342
|
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:78f6189c8492013e3cac81637a1f657f790a237387f8a9dfd6bfa5fee28eb646
|
3 |
+
size 334643268
|