End of training
Browse files- checkpoint-5000/optimizer.bin +3 -0
- checkpoint-5000/random_states_0.pkl +3 -0
- checkpoint-5000/scaler.pt +3 -0
- checkpoint-5000/scheduler.bin +3 -0
- checkpoint-5000/unet/config.json +73 -0
- checkpoint-5000/unet/diffusion_pytorch_model.safetensors +3 -0
- logs/instruct-pix2pix/1713661784.7681954/events.out.tfevents.1713661784.e61a7a1323f1.7207.1 +3 -0
- logs/instruct-pix2pix/1713661784.7702148/hparams.yml +51 -0
- logs/instruct-pix2pix/1713661974.8982706/events.out.tfevents.1713661974.e61a7a1323f1.8427.1 +3 -0
- logs/instruct-pix2pix/1713661974.900045/hparams.yml +51 -0
- logs/instruct-pix2pix/1713662898.8130405/events.out.tfevents.1713662898.e61a7a1323f1.12297.1 +3 -0
- logs/instruct-pix2pix/1713662898.8148851/hparams.yml +51 -0
- logs/instruct-pix2pix/events.out.tfevents.1713661784.e61a7a1323f1.7207.0 +3 -0
- logs/instruct-pix2pix/events.out.tfevents.1713661974.e61a7a1323f1.8427.0 +3 -0
- logs/instruct-pix2pix/events.out.tfevents.1713662898.e61a7a1323f1.12297.0 +3 -0
- model_index.json +5 -5
- scheduler/scheduler_config.json +7 -2
- text_encoder/config.json +7 -7
- text_encoder/model.safetensors +2 -2
- tokenizer/special_tokens_map.json +1 -1
- tokenizer/tokenizer_config.json +9 -1
- unet/config.json +11 -6
- unet/diffusion_pytorch_model.safetensors +2 -2
- vae/config.json +2 -2
- vae/diffusion_pytorch_model.safetensors +1 -1
checkpoint-5000/optimizer.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:6538062f77349551bdd15fc30bee1567c6ffd24a94b20781092de5ed7419687b
|
3 |
+
size 6927959764
|
checkpoint-5000/random_states_0.pkl
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f88757afc08dcf293319b480036971d2871b81a9d0b8d5d772819f59c46b91f5
|
3 |
+
size 14344
|
checkpoint-5000/scaler.pt
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:41216328ab75de937007afb04d76156949bedb908461001a451c8991c2ba8cca
|
3 |
+
size 988
|
checkpoint-5000/scheduler.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:76907cb1e59725e0201f38b2c8e038f117cff586df5cfe87324cfbcbd40891fe
|
3 |
+
size 1000
|
checkpoint-5000/unet/config.json
ADDED
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "UNet2DConditionModel",
|
3 |
+
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
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": [
|
10 |
+
5,
|
11 |
+
10,
|
12 |
+
20,
|
13 |
+
20
|
14 |
+
],
|
15 |
+
"attention_type": "default",
|
16 |
+
"block_out_channels": [
|
17 |
+
320,
|
18 |
+
640,
|
19 |
+
1280,
|
20 |
+
1280
|
21 |
+
],
|
22 |
+
"center_input_sample": false,
|
23 |
+
"class_embed_type": null,
|
24 |
+
"class_embeddings_concat": false,
|
25 |
+
"conv_in_kernel": 3,
|
26 |
+
"conv_out_kernel": 3,
|
27 |
+
"cross_attention_dim": 1024,
|
28 |
+
"cross_attention_norm": null,
|
29 |
+
"down_block_types": [
|
30 |
+
"CrossAttnDownBlock2D",
|
31 |
+
"CrossAttnDownBlock2D",
|
32 |
+
"CrossAttnDownBlock2D",
|
33 |
+
"DownBlock2D"
|
34 |
+
],
|
35 |
+
"downsample_padding": 1,
|
36 |
+
"dropout": 0.0,
|
37 |
+
"dual_cross_attention": false,
|
38 |
+
"encoder_hid_dim": null,
|
39 |
+
"encoder_hid_dim_type": null,
|
40 |
+
"flip_sin_to_cos": true,
|
41 |
+
"freq_shift": 0,
|
42 |
+
"in_channels": 8,
|
43 |
+
"layers_per_block": 2,
|
44 |
+
"mid_block_only_cross_attention": null,
|
45 |
+
"mid_block_scale_factor": 1,
|
46 |
+
"mid_block_type": "UNetMidBlock2DCrossAttn",
|
47 |
+
"norm_eps": 1e-05,
|
48 |
+
"norm_num_groups": 32,
|
49 |
+
"num_attention_heads": null,
|
50 |
+
"num_class_embeds": null,
|
51 |
+
"only_cross_attention": false,
|
52 |
+
"out_channels": 4,
|
53 |
+
"projection_class_embeddings_input_dim": null,
|
54 |
+
"resnet_out_scale_factor": 1.0,
|
55 |
+
"resnet_skip_time_act": false,
|
56 |
+
"resnet_time_scale_shift": "default",
|
57 |
+
"reverse_transformer_layers_per_block": null,
|
58 |
+
"sample_size": 96,
|
59 |
+
"time_cond_proj_dim": null,
|
60 |
+
"time_embedding_act_fn": null,
|
61 |
+
"time_embedding_dim": null,
|
62 |
+
"time_embedding_type": "positional",
|
63 |
+
"timestep_post_act": null,
|
64 |
+
"transformer_layers_per_block": 1,
|
65 |
+
"up_block_types": [
|
66 |
+
"UpBlock2D",
|
67 |
+
"CrossAttnUpBlock2D",
|
68 |
+
"CrossAttnUpBlock2D",
|
69 |
+
"CrossAttnUpBlock2D"
|
70 |
+
],
|
71 |
+
"upcast_attention": true,
|
72 |
+
"use_linear_projection": true
|
73 |
+
}
|
checkpoint-5000/unet/diffusion_pytorch_model.safetensors
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:03fc8990239e27f132a311f86674f272816e04b0f034d744b092289a78298fb0
|
3 |
+
size 3463772592
|
logs/instruct-pix2pix/1713661784.7681954/events.out.tfevents.1713661784.e61a7a1323f1.7207.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:971ae03b00796d153718a796265647bfaa5d6d8e80c2d8709534e76417e41d92
|
3 |
+
size 2424
|
logs/instruct-pix2pix/1713661784.7702148/hparams.yml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
adam_beta1: 0.9
|
2 |
+
adam_beta2: 0.999
|
3 |
+
adam_epsilon: 1.0e-08
|
4 |
+
adam_weight_decay: 0.01
|
5 |
+
allow_tf32: false
|
6 |
+
cache_dir: null
|
7 |
+
center_crop: false
|
8 |
+
checkpointing_steps: 5000
|
9 |
+
checkpoints_total_limit: 1
|
10 |
+
conditioning_dropout_prob: 0.05
|
11 |
+
dataloader_num_workers: 0
|
12 |
+
dataset_config_name: null
|
13 |
+
dataset_name: zero-jin/ai-solution_dataset
|
14 |
+
edit_prompt_column: edit_prompt
|
15 |
+
edited_image_column: edited_image
|
16 |
+
enable_xformers_memory_efficient_attention: true
|
17 |
+
gradient_accumulation_steps: 4
|
18 |
+
gradient_checkpointing: true
|
19 |
+
hub_model_id: null
|
20 |
+
hub_token: null
|
21 |
+
learning_rate: 5.0e-05
|
22 |
+
local_rank: -1
|
23 |
+
logging_dir: logs
|
24 |
+
lr_scheduler: constant
|
25 |
+
lr_warmup_steps: 0
|
26 |
+
max_grad_norm: 1.0
|
27 |
+
max_train_samples: null
|
28 |
+
max_train_steps: 9000
|
29 |
+
mixed_precision: fp16
|
30 |
+
non_ema_revision: null
|
31 |
+
num_train_epochs: 196
|
32 |
+
num_validation_images: 4
|
33 |
+
original_image_column: input_image
|
34 |
+
output_dir: instruct-pix2pix-model
|
35 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
36 |
+
push_to_hub: true
|
37 |
+
random_flip: true
|
38 |
+
report_to: tensorboard
|
39 |
+
resolution: 256
|
40 |
+
resume_from_checkpoint: null
|
41 |
+
revision: null
|
42 |
+
scale_lr: false
|
43 |
+
seed: 42
|
44 |
+
train_batch_size: 4
|
45 |
+
train_data_dir: null
|
46 |
+
use_8bit_adam: false
|
47 |
+
use_ema: false
|
48 |
+
val_image_url: null
|
49 |
+
validation_epochs: 1
|
50 |
+
validation_prompt: null
|
51 |
+
variant: null
|
logs/instruct-pix2pix/1713661974.8982706/events.out.tfevents.1713661974.e61a7a1323f1.8427.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:8343cd5d9e2180c26874d07709f3bebe1a06a4c4253ef8b3eccc94cff353d79f
|
3 |
+
size 2424
|
logs/instruct-pix2pix/1713661974.900045/hparams.yml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
adam_beta1: 0.9
|
2 |
+
adam_beta2: 0.999
|
3 |
+
adam_epsilon: 1.0e-08
|
4 |
+
adam_weight_decay: 0.01
|
5 |
+
allow_tf32: false
|
6 |
+
cache_dir: null
|
7 |
+
center_crop: false
|
8 |
+
checkpointing_steps: 5000
|
9 |
+
checkpoints_total_limit: 1
|
10 |
+
conditioning_dropout_prob: 0.05
|
11 |
+
dataloader_num_workers: 0
|
12 |
+
dataset_config_name: null
|
13 |
+
dataset_name: zero-jin/ai-solution_dataset
|
14 |
+
edit_prompt_column: edit_prompt
|
15 |
+
edited_image_column: edited_image
|
16 |
+
enable_xformers_memory_efficient_attention: true
|
17 |
+
gradient_accumulation_steps: 4
|
18 |
+
gradient_checkpointing: true
|
19 |
+
hub_model_id: null
|
20 |
+
hub_token: null
|
21 |
+
learning_rate: 5.0e-05
|
22 |
+
local_rank: -1
|
23 |
+
logging_dir: logs
|
24 |
+
lr_scheduler: constant
|
25 |
+
lr_warmup_steps: 0
|
26 |
+
max_grad_norm: 1.0
|
27 |
+
max_train_samples: null
|
28 |
+
max_train_steps: 9000
|
29 |
+
mixed_precision: fp16
|
30 |
+
non_ema_revision: null
|
31 |
+
num_train_epochs: 196
|
32 |
+
num_validation_images: 4
|
33 |
+
original_image_column: input_image
|
34 |
+
output_dir: instruct-pix2pix-model
|
35 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
36 |
+
push_to_hub: true
|
37 |
+
random_flip: true
|
38 |
+
report_to: tensorboard
|
39 |
+
resolution: 256
|
40 |
+
resume_from_checkpoint: null
|
41 |
+
revision: null
|
42 |
+
scale_lr: false
|
43 |
+
seed: 42
|
44 |
+
train_batch_size: 4
|
45 |
+
train_data_dir: null
|
46 |
+
use_8bit_adam: false
|
47 |
+
use_ema: false
|
48 |
+
val_image_url: null
|
49 |
+
validation_epochs: 1
|
50 |
+
validation_prompt: null
|
51 |
+
variant: null
|
logs/instruct-pix2pix/1713662898.8130405/events.out.tfevents.1713662898.e61a7a1323f1.12297.1
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:643f7fb1a15140cfcfee0d0e436e3a9617775315760e0b9441ba9f08a57fede3
|
3 |
+
size 2424
|
logs/instruct-pix2pix/1713662898.8148851/hparams.yml
ADDED
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
adam_beta1: 0.9
|
2 |
+
adam_beta2: 0.999
|
3 |
+
adam_epsilon: 1.0e-08
|
4 |
+
adam_weight_decay: 0.01
|
5 |
+
allow_tf32: false
|
6 |
+
cache_dir: null
|
7 |
+
center_crop: false
|
8 |
+
checkpointing_steps: 5000
|
9 |
+
checkpoints_total_limit: 1
|
10 |
+
conditioning_dropout_prob: 0.05
|
11 |
+
dataloader_num_workers: 0
|
12 |
+
dataset_config_name: null
|
13 |
+
dataset_name: zero-jin/ai-solution_dataset
|
14 |
+
edit_prompt_column: edit_prompt
|
15 |
+
edited_image_column: edited_image
|
16 |
+
enable_xformers_memory_efficient_attention: true
|
17 |
+
gradient_accumulation_steps: 4
|
18 |
+
gradient_checkpointing: true
|
19 |
+
hub_model_id: null
|
20 |
+
hub_token: null
|
21 |
+
learning_rate: 5.0e-05
|
22 |
+
local_rank: -1
|
23 |
+
logging_dir: logs
|
24 |
+
lr_scheduler: constant
|
25 |
+
lr_warmup_steps: 0
|
26 |
+
max_grad_norm: 1.0
|
27 |
+
max_train_samples: null
|
28 |
+
max_train_steps: 9000
|
29 |
+
mixed_precision: fp16
|
30 |
+
non_ema_revision: null
|
31 |
+
num_train_epochs: 196
|
32 |
+
num_validation_images: 4
|
33 |
+
original_image_column: input_image
|
34 |
+
output_dir: instruct-pix2pix-model
|
35 |
+
pretrained_model_name_or_path: stabilityai/stable-diffusion-2-1
|
36 |
+
push_to_hub: true
|
37 |
+
random_flip: true
|
38 |
+
report_to: tensorboard
|
39 |
+
resolution: 256
|
40 |
+
resume_from_checkpoint: null
|
41 |
+
revision: null
|
42 |
+
scale_lr: false
|
43 |
+
seed: 42
|
44 |
+
train_batch_size: 4
|
45 |
+
train_data_dir: null
|
46 |
+
use_8bit_adam: false
|
47 |
+
use_ema: false
|
48 |
+
val_image_url: null
|
49 |
+
validation_epochs: 1
|
50 |
+
validation_prompt: null
|
51 |
+
variant: null
|
logs/instruct-pix2pix/events.out.tfevents.1713661784.e61a7a1323f1.7207.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:f7be9b11522592f1540a6ee5d0a9f2ccfebadd5c8d25b2550387233da92cb63c
|
3 |
+
size 952
|
logs/instruct-pix2pix/events.out.tfevents.1713661974.e61a7a1323f1.8427.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:e74dafa695d450e93f04fb4214bc052ad73b27b9013d20754384184531ed67d0
|
3 |
+
size 376
|
logs/instruct-pix2pix/events.out.tfevents.1713662898.e61a7a1323f1.12297.0
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:faee60cc37fd2dd3943f75be324e58421276fe8cdaf642e0c593fde5ec2b057b
|
3 |
+
size 440961
|
model_index.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionInstructPix2PixPipeline",
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"feature_extractor": [
|
6 |
"transformers",
|
7 |
"CLIPImageProcessor"
|
@@ -10,14 +10,14 @@
|
|
10 |
null,
|
11 |
null
|
12 |
],
|
13 |
-
"requires_safety_checker":
|
14 |
"safety_checker": [
|
15 |
-
|
16 |
-
|
17 |
],
|
18 |
"scheduler": [
|
19 |
"diffusers",
|
20 |
-
"
|
21 |
],
|
22 |
"text_encoder": [
|
23 |
"transformers",
|
|
|
1 |
{
|
2 |
"_class_name": "StableDiffusionInstructPix2PixPipeline",
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
5 |
"feature_extractor": [
|
6 |
"transformers",
|
7 |
"CLIPImageProcessor"
|
|
|
10 |
null,
|
11 |
null
|
12 |
],
|
13 |
+
"requires_safety_checker": false,
|
14 |
"safety_checker": [
|
15 |
+
null,
|
16 |
+
null
|
17 |
],
|
18 |
"scheduler": [
|
19 |
"diffusers",
|
20 |
+
"DDIMScheduler"
|
21 |
],
|
22 |
"text_encoder": [
|
23 |
"transformers",
|
scheduler/scheduler_config.json
CHANGED
@@ -1,15 +1,20 @@
|
|
1 |
{
|
2 |
-
"_class_name": "
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
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": "
|
|
|
|
|
10 |
"set_alpha_to_one": false,
|
11 |
"skip_prk_steps": true,
|
12 |
"steps_offset": 1,
|
|
|
13 |
"timestep_spacing": "leading",
|
14 |
"trained_betas": null
|
15 |
}
|
|
|
1 |
{
|
2 |
+
"_class_name": "DDIMScheduler",
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
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 |
"num_train_timesteps": 1000,
|
11 |
+
"prediction_type": "v_prediction",
|
12 |
+
"rescale_betas_zero_snr": false,
|
13 |
+
"sample_max_value": 1.0,
|
14 |
"set_alpha_to_one": false,
|
15 |
"skip_prk_steps": true,
|
16 |
"steps_offset": 1,
|
17 |
+
"thresholding": false,
|
18 |
"timestep_spacing": "leading",
|
19 |
"trained_betas": null
|
20 |
}
|
text_encoder/config.json
CHANGED
@@ -1,5 +1,5 @@
|
|
1 |
{
|
2 |
-
"_name_or_path": "
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
@@ -7,18 +7,18 @@
|
|
7 |
"bos_token_id": 0,
|
8 |
"dropout": 0.0,
|
9 |
"eos_token_id": 2,
|
10 |
-
"hidden_act": "
|
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":
|
20 |
"pad_token_id": 1,
|
21 |
-
"projection_dim":
|
22 |
"torch_dtype": "float16",
|
23 |
"transformers_version": "4.38.2",
|
24 |
"vocab_size": 49408
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
7 |
"bos_token_id": 0,
|
8 |
"dropout": 0.0,
|
9 |
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_size": 1024,
|
12 |
"initializer_factor": 1.0,
|
13 |
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 4096,
|
15 |
"layer_norm_eps": 1e-05,
|
16 |
"max_position_embeddings": 77,
|
17 |
"model_type": "clip_text_model",
|
18 |
+
"num_attention_heads": 16,
|
19 |
+
"num_hidden_layers": 23,
|
20 |
"pad_token_id": 1,
|
21 |
+
"projection_dim": 512,
|
22 |
"torch_dtype": "float16",
|
23 |
"transformers_version": "4.38.2",
|
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:bc1827c465450322616f06dea41596eac7d493f4e95904dcb51f0fc745c4e13f
|
3 |
+
size 680820392
|
tokenizer/special_tokens_map.json
CHANGED
@@ -13,7 +13,7 @@
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
-
"pad_token": "
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
|
|
13 |
"rstrip": false,
|
14 |
"single_word": false
|
15 |
},
|
16 |
+
"pad_token": "!",
|
17 |
"unk_token": {
|
18 |
"content": "<|endoftext|>",
|
19 |
"lstrip": false,
|
tokenizer/tokenizer_config.json
CHANGED
@@ -1,6 +1,14 @@
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
"added_tokens_decoder": {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4 |
"49406": {
|
5 |
"content": "<|startoftext|>",
|
6 |
"lstrip": false,
|
@@ -24,7 +32,7 @@
|
|
24 |
"eos_token": "<|endoftext|>",
|
25 |
"errors": "replace",
|
26 |
"model_max_length": 77,
|
27 |
-
"pad_token": "
|
28 |
"tokenizer_class": "CLIPTokenizer",
|
29 |
"unk_token": "<|endoftext|>"
|
30 |
}
|
|
|
1 |
{
|
2 |
"add_prefix_space": false,
|
3 |
"added_tokens_decoder": {
|
4 |
+
"0": {
|
5 |
+
"content": "!",
|
6 |
+
"lstrip": false,
|
7 |
+
"normalized": false,
|
8 |
+
"rstrip": false,
|
9 |
+
"single_word": false,
|
10 |
+
"special": true
|
11 |
+
},
|
12 |
"49406": {
|
13 |
"content": "<|startoftext|>",
|
14 |
"lstrip": false,
|
|
|
32 |
"eos_token": "<|endoftext|>",
|
33 |
"errors": "replace",
|
34 |
"model_max_length": 77,
|
35 |
+
"pad_token": "!",
|
36 |
"tokenizer_class": "CLIPTokenizer",
|
37 |
"unk_token": "<|endoftext|>"
|
38 |
}
|
unet/config.json
CHANGED
@@ -1,12 +1,17 @@
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
4 |
-
"_name_or_path": "
|
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":
|
|
|
|
|
|
|
|
|
|
|
10 |
"attention_type": "default",
|
11 |
"block_out_channels": [
|
12 |
320,
|
@@ -19,7 +24,7 @@
|
|
19 |
"class_embeddings_concat": false,
|
20 |
"conv_in_kernel": 3,
|
21 |
"conv_out_kernel": 3,
|
22 |
-
"cross_attention_dim":
|
23 |
"cross_attention_norm": null,
|
24 |
"down_block_types": [
|
25 |
"CrossAttnDownBlock2D",
|
@@ -50,7 +55,7 @@
|
|
50 |
"resnet_skip_time_act": false,
|
51 |
"resnet_time_scale_shift": "default",
|
52 |
"reverse_transformer_layers_per_block": null,
|
53 |
-
"sample_size":
|
54 |
"time_cond_proj_dim": null,
|
55 |
"time_embedding_act_fn": null,
|
56 |
"time_embedding_dim": null,
|
@@ -63,6 +68,6 @@
|
|
63 |
"CrossAttnUpBlock2D",
|
64 |
"CrossAttnUpBlock2D"
|
65 |
],
|
66 |
-
"upcast_attention":
|
67 |
-
"use_linear_projection":
|
68 |
}
|
|
|
1 |
{
|
2 |
"_class_name": "UNet2DConditionModel",
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
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": [
|
10 |
+
5,
|
11 |
+
10,
|
12 |
+
20,
|
13 |
+
20
|
14 |
+
],
|
15 |
"attention_type": "default",
|
16 |
"block_out_channels": [
|
17 |
320,
|
|
|
24 |
"class_embeddings_concat": false,
|
25 |
"conv_in_kernel": 3,
|
26 |
"conv_out_kernel": 3,
|
27 |
+
"cross_attention_dim": 1024,
|
28 |
"cross_attention_norm": null,
|
29 |
"down_block_types": [
|
30 |
"CrossAttnDownBlock2D",
|
|
|
55 |
"resnet_skip_time_act": false,
|
56 |
"resnet_time_scale_shift": "default",
|
57 |
"reverse_transformer_layers_per_block": null,
|
58 |
+
"sample_size": 96,
|
59 |
"time_cond_proj_dim": null,
|
60 |
"time_embedding_act_fn": null,
|
61 |
"time_embedding_dim": null,
|
|
|
68 |
"CrossAttnUpBlock2D",
|
69 |
"CrossAttnUpBlock2D"
|
70 |
],
|
71 |
+
"upcast_attention": true,
|
72 |
+
"use_linear_projection": true
|
73 |
}
|
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:c80151855ebd2aec0d90c3ab36ae666274f49093e4cf19e861c88a0f41cceb1a
|
3 |
+
size 3463772592
|
vae/config.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
4 |
-
"_name_or_path": "
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
@@ -23,7 +23,7 @@
|
|
23 |
"layers_per_block": 2,
|
24 |
"norm_num_groups": 32,
|
25 |
"out_channels": 3,
|
26 |
-
"sample_size":
|
27 |
"scaling_factor": 0.18215,
|
28 |
"up_block_types": [
|
29 |
"UpDecoderBlock2D",
|
|
|
1 |
{
|
2 |
"_class_name": "AutoencoderKL",
|
3 |
"_diffusers_version": "0.28.0.dev0",
|
4 |
+
"_name_or_path": "stabilityai/stable-diffusion-2-1",
|
5 |
"act_fn": "silu",
|
6 |
"block_out_channels": [
|
7 |
128,
|
|
|
23 |
"layers_per_block": 2,
|
24 |
"norm_num_groups": 32,
|
25 |
"out_channels": 3,
|
26 |
+
"sample_size": 768,
|
27 |
"scaling_factor": 0.18215,
|
28 |
"up_block_types": [
|
29 |
"UpDecoderBlock2D",
|
vae/diffusion_pytorch_model.safetensors
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 167335342
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:3e4c08995484ee61270175e9e7a072b66a6e4eeb5f0c266667fe1f45b90daf9a
|
3 |
size 167335342
|