Adding `diffusers` weights of this model
#9
by
Roflannnn
- opened
- model_index.json +2 -10
- scheduler/scheduler_config.json +5 -4
- 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 +4 -28
- tokenizer/tokenizer_config.json +4 -2
- tokenizer_2/added_tokens.json +5 -0
- tokenizer_2/special_tokens_map.json +3 -21
- tokenizer_2/tokenizer_config.json +4 -2
- unet/config.json +2 -3
- unet/diffusion_pytorch_model.fp16.safetensors +3 -0
- unet/diffusion_pytorch_model.safetensors +2 -2
- vae/config.json +3 -4
- 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,17 +1,18 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
-
"_diffusers_version": "0.
|
4 |
"beta_end": 0.012,
|
5 |
"beta_schedule": "scaled_linear",
|
6 |
"beta_start": 0.00085,
|
|
|
7 |
"interpolation_type": "linear",
|
8 |
"num_train_timesteps": 1000,
|
9 |
"prediction_type": "epsilon",
|
10 |
-
"rescale_betas_zero_snr": false,
|
11 |
"sample_max_value": 1.0,
|
12 |
"set_alpha_to_one": false,
|
13 |
"skip_prk_steps": true,
|
14 |
"steps_offset": 1,
|
15 |
"timestep_spacing": "leading",
|
16 |
-
"trained_betas": null
|
|
|
17 |
}
|
|
|
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,
|
7 |
+
"clip_sample": false,
|
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,
|
14 |
"steps_offset": 1,
|
15 |
"timestep_spacing": "leading",
|
16 |
+
"trained_betas": null,
|
17 |
+
"use_karras_sigmas": false
|
18 |
}
|
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:4d869e7dd2f03c80673e595f128046ae0063451ddf041821b537c44cedd712f7
|
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:a959e6986fefbad1eb6e5ebfd236d3b1f29a61a9c73fea9714c0f13f3994e9b2
|
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:b2f6541a64af35bb59231e19c8efa840bdb076554ee17d4b418c4197ff07fc87
|
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:4d5535a9358213008cd7d4690e72dacd3de6c96cbfd29b42847b67fc8970ef45
|
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,30 +1,6 @@
|
|
1 |
{
|
2 |
-
"bos_token":
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
"rstrip": false,
|
7 |
-
"single_word": false
|
8 |
-
},
|
9 |
-
"eos_token": {
|
10 |
-
"content": "<|endoftext|>",
|
11 |
-
"lstrip": false,
|
12 |
-
"normalized": false,
|
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": false,
|
27 |
-
"rstrip": false,
|
28 |
-
"single_word": false
|
29 |
-
}
|
30 |
}
|
|
|
1 |
{
|
2 |
+
"bos_token": "<|startoftext|>",
|
3 |
+
"eos_token": "<|endoftext|>",
|
4 |
+
"pad_token": "<|endoftext|>",
|
5 |
+
"unk_token": "<|endoftext|>"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
}
|
tokenizer/tokenizer_config.json
CHANGED
@@ -7,7 +7,7 @@
|
|
7 |
"normalized": true,
|
8 |
"rstrip": false,
|
9 |
"single_word": false,
|
10 |
-
"special":
|
11 |
},
|
12 |
"49407": {
|
13 |
"content": "<|endoftext|>",
|
@@ -15,9 +15,10 @@
|
|
15 |
"normalized": false,
|
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|>",
|
|
|
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": false,
|
13 |
-
"rstrip": false,
|
14 |
-
"single_word": false
|
15 |
-
},
|
16 |
"pad_token": "!",
|
17 |
-
"unk_token":
|
18 |
-
"content": "<|endoftext|>",
|
19 |
-
"lstrip": false,
|
20 |
-
"normalized": false,
|
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,7 +15,7 @@
|
|
15 |
"normalized": true,
|
16 |
"rstrip": false,
|
17 |
"single_word": false,
|
18 |
-
"special":
|
19 |
},
|
20 |
"49407": {
|
21 |
"content": "<|endoftext|>",
|
@@ -23,9 +23,10 @@
|
|
23 |
"normalized": false,
|
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|>",
|
|
|
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,
|
@@ -67,6 +66,6 @@
|
|
67 |
"CrossAttnUpBlock2D",
|
68 |
"UpBlock2D"
|
69 |
],
|
70 |
-
"upcast_attention":
|
71 |
"use_linear_projection": true
|
72 |
}
|
|
|
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,
|
|
|
66 |
"CrossAttnUpBlock2D",
|
67 |
"UpBlock2D"
|
68 |
],
|
69 |
+
"upcast_attention": null,
|
70 |
"use_linear_projection": true
|
71 |
}
|
unet/diffusion_pytorch_model.fp16.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c1e43f5fa892e1c54c99fc7caebf9c3426910ea5a730861ff89dead23b9f260e
|
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:6cb5cae2a0830a08d8a90def6c34a44d5e23059e00bbc65e19fe8dff86df0c56
|
3 |
+
size 10270077736
|
vae/config.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
-
"_diffusers_version": "0.
|
4 |
-
"_name_or_path": "madebyollin/sdxl-vae-fp16-fix",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -15,13 +14,13 @@
|
|
15 |
"DownEncoderBlock2D",
|
16 |
"DownEncoderBlock2D"
|
17 |
],
|
18 |
-
"force_upcast":
|
19 |
"in_channels": 3,
|
20 |
"latent_channels": 4,
|
21 |
"layers_per_block": 2,
|
22 |
"norm_num_groups": 32,
|
23 |
"out_channels": 3,
|
24 |
-
"sample_size":
|
25 |
"scaling_factor": 0.13025,
|
26 |
"up_block_types": [
|
27 |
"UpDecoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.22.0.dev0",
|
|
|
4 |
"act_fn": "silu",
|
5 |
"block_out_channels": [
|
6 |
128,
|
|
|
14 |
"DownEncoderBlock2D",
|
15 |
"DownEncoderBlock2D"
|
16 |
],
|
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",
|
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
|