Upload 12 files
Browse files- model_index.json +14 -0
- scheduler/scheduler_config.json +22 -0
- text_encoder/config.json +23 -0
- text_encoder/model.safetensors +3 -0
- tokenizer/merges.txt +0 -0
- tokenizer/special_tokens_map.json +30 -0
- tokenizer/tokenizer_config.json +30 -0
- tokenizer/vocab.json +0 -0
- unet/config.json +63 -0
- unet/diffusion_pytorch_model.safetensors +3 -0
- vae/config.json +27 -0
- vae/diffusion_pytorch_model.safetensors +3 -0
model_index.json
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "StableDiffusionPipeline",
|
3 |
+
"_diffusers_version": "0.26.3",
|
4 |
+
"_name_or_path": "ostris/sd15-big-g-alpha",
|
5 |
+
"feature_extractor": [null, null],
|
6 |
+
"image_encoder": [null, null],
|
7 |
+
"requires_safety_checker": false,
|
8 |
+
"safety_checker": [null, null],
|
9 |
+
"scheduler": ["diffusers", "DDPMScheduler"],
|
10 |
+
"text_encoder": ["transformers", "CLIPTextModel"],
|
11 |
+
"tokenizer": ["transformers", "CLIPTokenizer"],
|
12 |
+
"unet": ["diffusers", "UNet2DConditionModel"],
|
13 |
+
"vae": ["diffusers", "AutoencoderKL"]
|
14 |
+
}
|
scheduler/scheduler_config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "DDPMScheduler",
|
3 |
+
"_diffusers_version": "0.26.3",
|
4 |
+
"beta_end": 0.012,
|
5 |
+
"beta_schedule": "scaled_linear",
|
6 |
+
"beta_start": 0.00085,
|
7 |
+
"clip_sample": false,
|
8 |
+
"clip_sample_range": 1.0,
|
9 |
+
"dynamic_thresholding_ratio": 0.995,
|
10 |
+
"interpolation_type": "linear",
|
11 |
+
"num_train_timesteps": 1000,
|
12 |
+
"prediction_type": "epsilon",
|
13 |
+
"rescale_betas_zero_snr": false,
|
14 |
+
"sample_max_value": 1.0,
|
15 |
+
"set_alpha_to_one": false,
|
16 |
+
"skip_prk_steps": false,
|
17 |
+
"steps_offset": 1,
|
18 |
+
"thresholding": false,
|
19 |
+
"timestep_spacing": "leading",
|
20 |
+
"trained_betas": null,
|
21 |
+
"variance_type": "fixed_small"
|
22 |
+
}
|
text_encoder/config.json
ADDED
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "ostris/sd15-big-g-alpha/text_encoder",
|
3 |
+
"architectures": ["CLIPTextModel"],
|
4 |
+
"attention_dropout": 0.0,
|
5 |
+
"bos_token_id": 0,
|
6 |
+
"dropout": 0.0,
|
7 |
+
"eos_token_id": 2,
|
8 |
+
"hidden_act": "gelu",
|
9 |
+
"hidden_size": 1280,
|
10 |
+
"initializer_factor": 1.0,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 5120,
|
13 |
+
"layer_norm_eps": 1e-5,
|
14 |
+
"max_position_embeddings": 77,
|
15 |
+
"model_type": "clip_text_model",
|
16 |
+
"num_attention_heads": 20,
|
17 |
+
"num_hidden_layers": 32,
|
18 |
+
"pad_token_id": 1,
|
19 |
+
"projection_dim": 1280,
|
20 |
+
"torch_dtype": "bfloat16",
|
21 |
+
"transformers_version": "4.38.2",
|
22 |
+
"vocab_size": 49408
|
23 |
+
}
|
text_encoder/model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:2e8e978feccb04c5ca28e1cb6dcb50de48e24ab7012629ac1540d10272b97877
|
3 |
+
size 1386105792
|
tokenizer/merges.txt
ADDED
The diff for this file is too large to render.
See raw diff
|
|
tokenizer/special_tokens_map.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"bos_token": {
|
3 |
+
"content": "<|startoftext|>",
|
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 |
+
"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 |
+
}
|
tokenizer/tokenizer_config.json
ADDED
@@ -0,0 +1,30 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"add_prefix_space": false,
|
3 |
+
"added_tokens_decoder": {
|
4 |
+
"49406": {
|
5 |
+
"content": "<|startoftext|>",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": true,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
+
"49407": {
|
13 |
+
"content": "<|endoftext|>",
|
14 |
+
"lstrip": false,
|
15 |
+
"normalized": false,
|
16 |
+
"rstrip": false,
|
17 |
+
"single_word": false,
|
18 |
+
"special": true
|
19 |
+
}
|
20 |
+
},
|
21 |
+
"bos_token": "<|startoftext|>",
|
22 |
+
"clean_up_tokenization_spaces": true,
|
23 |
+
"do_lower_case": true,
|
24 |
+
"eos_token": "<|endoftext|>",
|
25 |
+
"errors": "replace",
|
26 |
+
"model_max_length": 77,
|
27 |
+
"pad_token": "<|endoftext|>",
|
28 |
+
"tokenizer_class": "CLIPTokenizer",
|
29 |
+
"unk_token": "<|endoftext|>"
|
30 |
+
}
|
tokenizer/vocab.json
ADDED
The diff for this file is too large to render.
See raw diff
|
|
unet/config.json
ADDED
@@ -0,0 +1,63 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.26.3",
|
4 |
+
"_name_or_path": "ostris/sd15-big-g-alpha/unet",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"addition_embed_type": null,
|
7 |
+
"addition_embed_type_num_heads": 64,
|
8 |
+
"addition_time_embed_dim": null,
|
9 |
+
"attention_head_dim": 8,
|
10 |
+
"attention_type": "default",
|
11 |
+
"block_out_channels": [320, 640, 1280, 1280],
|
12 |
+
"center_input_sample": false,
|
13 |
+
"class_embed_type": null,
|
14 |
+
"class_embeddings_concat": false,
|
15 |
+
"conv_in_kernel": 3,
|
16 |
+
"conv_out_kernel": 3,
|
17 |
+
"cross_attention_dim": 1280,
|
18 |
+
"cross_attention_norm": null,
|
19 |
+
"down_block_types": [
|
20 |
+
"CrossAttnDownBlock2D",
|
21 |
+
"CrossAttnDownBlock2D",
|
22 |
+
"CrossAttnDownBlock2D",
|
23 |
+
"DownBlock2D"
|
24 |
+
],
|
25 |
+
"downsample_padding": 1,
|
26 |
+
"dropout": 0.0,
|
27 |
+
"dual_cross_attention": false,
|
28 |
+
"encoder_hid_dim": null,
|
29 |
+
"encoder_hid_dim_type": null,
|
30 |
+
"flip_sin_to_cos": true,
|
31 |
+
"freq_shift": 0,
|
32 |
+
"in_channels": 4,
|
33 |
+
"layers_per_block": 2,
|
34 |
+
"mid_block_only_cross_attention": null,
|
35 |
+
"mid_block_scale_factor": 1,
|
36 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
37 |
+
"norm_eps": 1e-5,
|
38 |
+
"norm_num_groups": 32,
|
39 |
+
"num_attention_heads": null,
|
40 |
+
"num_class_embeds": null,
|
41 |
+
"only_cross_attention": false,
|
42 |
+
"out_channels": 4,
|
43 |
+
"projection_class_embeddings_input_dim": null,
|
44 |
+
"resnet_out_scale_factor": 1.0,
|
45 |
+
"resnet_skip_time_act": false,
|
46 |
+
"resnet_time_scale_shift": "default",
|
47 |
+
"reverse_transformer_layers_per_block": null,
|
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 |
+
"transformer_layers_per_block": 1,
|
55 |
+
"up_block_types": [
|
56 |
+
"UpBlock2D",
|
57 |
+
"CrossAttnUpBlock2D",
|
58 |
+
"CrossAttnUpBlock2D",
|
59 |
+
"CrossAttnUpBlock2D"
|
60 |
+
],
|
61 |
+
"upcast_attention": false,
|
62 |
+
"use_linear_projection": false
|
63 |
+
}
|
unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3415fe20445264405a5ba7931b2e0eee731c014f46ca61280a5c29f6e56a326c
|
3 |
+
size 1744685088
|
vae/config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "AutoencoderKL",
|
3 |
+
"_diffusers_version": "0.26.3",
|
4 |
+
"_name_or_path": "ostris/sd15-big-g-alpha/vae",
|
5 |
+
"act_fn": "silu",
|
6 |
+
"block_out_channels": [128, 256, 512, 512],
|
7 |
+
"down_block_types": [
|
8 |
+
"DownEncoderBlock2D",
|
9 |
+
"DownEncoderBlock2D",
|
10 |
+
"DownEncoderBlock2D",
|
11 |
+
"DownEncoderBlock2D"
|
12 |
+
],
|
13 |
+
"force_upcast": true,
|
14 |
+
"in_channels": 3,
|
15 |
+
"latent_channels": 4,
|
16 |
+
"layers_per_block": 2,
|
17 |
+
"norm_num_groups": 32,
|
18 |
+
"out_channels": 3,
|
19 |
+
"sample_size": 256,
|
20 |
+
"scaling_factor": 0.18215,
|
21 |
+
"up_block_types": [
|
22 |
+
"UpDecoderBlock2D",
|
23 |
+
"UpDecoderBlock2D",
|
24 |
+
"UpDecoderBlock2D",
|
25 |
+
"UpDecoderBlock2D"
|
26 |
+
]
|
27 |
+
}
|
vae/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e8bcf71203080d427b4e5aba148f787f8017de892676b59ceef265f0572c3333
|
3 |
+
size 167335590
|