DJCan commited on
Commit
19cf8db
1 Parent(s): d876b9a

Upload folder using huggingface_hub

Browse files
.gitattributes CHANGED
@@ -33,3 +33,4 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
 
 
33
  *.zip filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
+ tokenizer/vocab.txt filter=lfs diff=lfs merge=lfs -text
model_index.json ADDED
@@ -0,0 +1,25 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "KolorsPipeline",
3
+ "_diffusers_version": "0.30.0.dev0",
4
+ "force_zeros_for_empty_prompt": true,
5
+ "scheduler": [
6
+ "diffusers",
7
+ "EulerDiscreteScheduler"
8
+ ],
9
+ "text_encoder": [
10
+ "kolors",
11
+ "ChatGLMModel"
12
+ ],
13
+ "tokenizer": [
14
+ "kolors",
15
+ "ChatGLMTokenizer"
16
+ ],
17
+ "unet": [
18
+ "diffusers",
19
+ "UNet2DConditionModel"
20
+ ],
21
+ "vae": [
22
+ "diffusers",
23
+ "AutoencoderKL"
24
+ ]
25
+ }
scheduler/scheduler_config.json ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "EulerDiscreteScheduler",
3
+ "_diffusers_version": "0.18.0.dev0",
4
+ "beta_schedule": "scaled_linear",
5
+ "beta_start": 0.00085,
6
+ "beta_end": 0.014,
7
+ "clip_sample": false,
8
+ "clip_sample_range": 1.0,
9
+ "dynamic_thresholding_ratio": 0.995,
10
+ "interpolation_type": "linear",
11
+ "num_train_timesteps": 1100,
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": true,
17
+ "steps_offset": 1,
18
+ "thresholding": false,
19
+ "timestep_spacing": "leading",
20
+ "trained_betas": null,
21
+ "use_karras_sigmas": false
22
+ }
text_encoder/config.json ADDED
@@ -0,0 +1,47 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "models/kolors",
3
+ "add_bias_linear": false,
4
+ "add_qkv_bias": true,
5
+ "apply_query_key_layer_scaling": true,
6
+ "apply_residual_connection_post_layernorm": false,
7
+ "architectures": [
8
+ "ChatGLMModel"
9
+ ],
10
+ "attention_dropout": 0.0,
11
+ "attention_softmax_in_fp32": true,
12
+ "auto_map": {
13
+ "AutoConfig": "configuration_chatglm.ChatGLMConfig",
14
+ "AutoModel": "modeling_chatglm.ChatGLMForConditionalGeneration",
15
+ "AutoModelForCausalLM": "modeling_chatglm.ChatGLMForConditionalGeneration",
16
+ "AutoModelForSeq2SeqLM": "modeling_chatglm.ChatGLMForConditionalGeneration",
17
+ "AutoModelForSequenceClassification": "modeling_chatglm.ChatGLMForSequenceClassification"
18
+ },
19
+ "bias_dropout_fusion": true,
20
+ "classifier_dropout": null,
21
+ "eos_token_id": 2,
22
+ "ffn_hidden_size": 13696,
23
+ "fp32_residual_connection": false,
24
+ "hidden_dropout": 0.0,
25
+ "hidden_size": 4096,
26
+ "kv_channels": 128,
27
+ "layernorm_epsilon": 1e-05,
28
+ "model_type": "chatglm",
29
+ "multi_query_attention": true,
30
+ "multi_query_group_num": 2,
31
+ "num_attention_heads": 32,
32
+ "num_layers": 28,
33
+ "original_rope": true,
34
+ "pad_token_id": 0,
35
+ "padded_vocab_size": 65024,
36
+ "post_layer_norm": true,
37
+ "pre_seq_len": null,
38
+ "prefix_projection": false,
39
+ "quantization_bit": 0,
40
+ "rmsnorm": true,
41
+ "seq_length": 32768,
42
+ "tie_word_embeddings": false,
43
+ "torch_dtype": "float16",
44
+ "transformers_version": "4.41.2",
45
+ "use_cache": true,
46
+ "vocab_size": 65024
47
+ }
text_encoder/model.fp16-00001-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:0054d03310248928fdabdeef3fdc753170218dc49a1e9eb5f98323e27683f654
3
+ size 4907626824
text_encoder/model.fp16-00002-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:035167ad39a1b50cdba1758ce202e638448fd12997ea3aca576d494511a18fe0
3
+ size 4895070280
text_encoder/model.fp16-00003-of-00003.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:54f55eccf6b8a49799c3da81ef42452fc6f7677c4fc949f92aa8928ca0c30424
3
+ size 2684495360
text_encoder/model.safetensors.index.fp16.json ADDED
@@ -0,0 +1,207 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "metadata": {
3
+ "total_size": 12487168064
4
+ },
5
+ "weight_map": {
6
+ "embedding.word_embeddings.weight": "model.fp16-00001-of-00003.safetensors",
7
+ "encoder.final_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
8
+ "encoder.layers.0.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
9
+ "encoder.layers.0.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
10
+ "encoder.layers.0.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
11
+ "encoder.layers.0.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
12
+ "encoder.layers.0.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
13
+ "encoder.layers.0.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
14
+ "encoder.layers.0.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
15
+ "encoder.layers.1.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
16
+ "encoder.layers.1.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
17
+ "encoder.layers.1.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
18
+ "encoder.layers.1.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
19
+ "encoder.layers.1.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
20
+ "encoder.layers.1.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
21
+ "encoder.layers.1.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
22
+ "encoder.layers.10.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
23
+ "encoder.layers.10.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
24
+ "encoder.layers.10.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
25
+ "encoder.layers.10.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
26
+ "encoder.layers.10.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
27
+ "encoder.layers.10.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
28
+ "encoder.layers.10.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
29
+ "encoder.layers.11.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
30
+ "encoder.layers.11.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
31
+ "encoder.layers.11.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
32
+ "encoder.layers.11.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
33
+ "encoder.layers.11.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
34
+ "encoder.layers.11.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
35
+ "encoder.layers.11.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
36
+ "encoder.layers.12.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
37
+ "encoder.layers.12.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
38
+ "encoder.layers.12.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
39
+ "encoder.layers.12.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
40
+ "encoder.layers.12.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
41
+ "encoder.layers.12.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
42
+ "encoder.layers.12.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
43
+ "encoder.layers.13.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
44
+ "encoder.layers.13.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
45
+ "encoder.layers.13.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
46
+ "encoder.layers.13.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
47
+ "encoder.layers.13.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
48
+ "encoder.layers.13.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
49
+ "encoder.layers.13.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
50
+ "encoder.layers.14.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
51
+ "encoder.layers.14.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
52
+ "encoder.layers.14.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
53
+ "encoder.layers.14.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
54
+ "encoder.layers.14.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
55
+ "encoder.layers.14.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
56
+ "encoder.layers.14.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
57
+ "encoder.layers.15.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
58
+ "encoder.layers.15.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
59
+ "encoder.layers.15.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
60
+ "encoder.layers.15.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
61
+ "encoder.layers.15.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
62
+ "encoder.layers.15.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
63
+ "encoder.layers.15.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
64
+ "encoder.layers.16.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
65
+ "encoder.layers.16.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
66
+ "encoder.layers.16.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
67
+ "encoder.layers.16.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
68
+ "encoder.layers.16.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
69
+ "encoder.layers.16.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
70
+ "encoder.layers.16.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
71
+ "encoder.layers.17.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
72
+ "encoder.layers.17.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
73
+ "encoder.layers.17.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
74
+ "encoder.layers.17.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
75
+ "encoder.layers.17.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
76
+ "encoder.layers.17.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
77
+ "encoder.layers.17.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
78
+ "encoder.layers.18.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
79
+ "encoder.layers.18.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
80
+ "encoder.layers.18.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
81
+ "encoder.layers.18.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
82
+ "encoder.layers.18.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
83
+ "encoder.layers.18.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
84
+ "encoder.layers.18.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
85
+ "encoder.layers.19.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
86
+ "encoder.layers.19.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
87
+ "encoder.layers.19.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
88
+ "encoder.layers.19.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
89
+ "encoder.layers.19.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
90
+ "encoder.layers.19.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
91
+ "encoder.layers.19.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
92
+ "encoder.layers.2.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
93
+ "encoder.layers.2.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
94
+ "encoder.layers.2.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
95
+ "encoder.layers.2.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
96
+ "encoder.layers.2.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
97
+ "encoder.layers.2.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
98
+ "encoder.layers.2.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
99
+ "encoder.layers.20.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
100
+ "encoder.layers.20.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
101
+ "encoder.layers.20.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
102
+ "encoder.layers.20.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
103
+ "encoder.layers.20.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
104
+ "encoder.layers.20.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
105
+ "encoder.layers.20.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
106
+ "encoder.layers.21.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
107
+ "encoder.layers.21.mlp.dense_4h_to_h.weight": "model.fp16-00002-of-00003.safetensors",
108
+ "encoder.layers.21.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
109
+ "encoder.layers.21.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
110
+ "encoder.layers.21.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
111
+ "encoder.layers.21.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
112
+ "encoder.layers.21.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
113
+ "encoder.layers.22.input_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
114
+ "encoder.layers.22.mlp.dense_4h_to_h.weight": "model.fp16-00003-of-00003.safetensors",
115
+ "encoder.layers.22.mlp.dense_h_to_4h.weight": "model.fp16-00002-of-00003.safetensors",
116
+ "encoder.layers.22.post_attention_layernorm.weight": "model.fp16-00002-of-00003.safetensors",
117
+ "encoder.layers.22.self_attention.dense.weight": "model.fp16-00002-of-00003.safetensors",
118
+ "encoder.layers.22.self_attention.query_key_value.bias": "model.fp16-00002-of-00003.safetensors",
119
+ "encoder.layers.22.self_attention.query_key_value.weight": "model.fp16-00002-of-00003.safetensors",
120
+ "encoder.layers.23.input_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
121
+ "encoder.layers.23.mlp.dense_4h_to_h.weight": "model.fp16-00003-of-00003.safetensors",
122
+ "encoder.layers.23.mlp.dense_h_to_4h.weight": "model.fp16-00003-of-00003.safetensors",
123
+ "encoder.layers.23.post_attention_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
124
+ "encoder.layers.23.self_attention.dense.weight": "model.fp16-00003-of-00003.safetensors",
125
+ "encoder.layers.23.self_attention.query_key_value.bias": "model.fp16-00003-of-00003.safetensors",
126
+ "encoder.layers.23.self_attention.query_key_value.weight": "model.fp16-00003-of-00003.safetensors",
127
+ "encoder.layers.24.input_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
128
+ "encoder.layers.24.mlp.dense_4h_to_h.weight": "model.fp16-00003-of-00003.safetensors",
129
+ "encoder.layers.24.mlp.dense_h_to_4h.weight": "model.fp16-00003-of-00003.safetensors",
130
+ "encoder.layers.24.post_attention_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
131
+ "encoder.layers.24.self_attention.dense.weight": "model.fp16-00003-of-00003.safetensors",
132
+ "encoder.layers.24.self_attention.query_key_value.bias": "model.fp16-00003-of-00003.safetensors",
133
+ "encoder.layers.24.self_attention.query_key_value.weight": "model.fp16-00003-of-00003.safetensors",
134
+ "encoder.layers.25.input_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
135
+ "encoder.layers.25.mlp.dense_4h_to_h.weight": "model.fp16-00003-of-00003.safetensors",
136
+ "encoder.layers.25.mlp.dense_h_to_4h.weight": "model.fp16-00003-of-00003.safetensors",
137
+ "encoder.layers.25.post_attention_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
138
+ "encoder.layers.25.self_attention.dense.weight": "model.fp16-00003-of-00003.safetensors",
139
+ "encoder.layers.25.self_attention.query_key_value.bias": "model.fp16-00003-of-00003.safetensors",
140
+ "encoder.layers.25.self_attention.query_key_value.weight": "model.fp16-00003-of-00003.safetensors",
141
+ "encoder.layers.26.input_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
142
+ "encoder.layers.26.mlp.dense_4h_to_h.weight": "model.fp16-00003-of-00003.safetensors",
143
+ "encoder.layers.26.mlp.dense_h_to_4h.weight": "model.fp16-00003-of-00003.safetensors",
144
+ "encoder.layers.26.post_attention_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
145
+ "encoder.layers.26.self_attention.dense.weight": "model.fp16-00003-of-00003.safetensors",
146
+ "encoder.layers.26.self_attention.query_key_value.bias": "model.fp16-00003-of-00003.safetensors",
147
+ "encoder.layers.26.self_attention.query_key_value.weight": "model.fp16-00003-of-00003.safetensors",
148
+ "encoder.layers.27.input_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
149
+ "encoder.layers.27.mlp.dense_4h_to_h.weight": "model.fp16-00003-of-00003.safetensors",
150
+ "encoder.layers.27.mlp.dense_h_to_4h.weight": "model.fp16-00003-of-00003.safetensors",
151
+ "encoder.layers.27.post_attention_layernorm.weight": "model.fp16-00003-of-00003.safetensors",
152
+ "encoder.layers.27.self_attention.dense.weight": "model.fp16-00003-of-00003.safetensors",
153
+ "encoder.layers.27.self_attention.query_key_value.bias": "model.fp16-00003-of-00003.safetensors",
154
+ "encoder.layers.27.self_attention.query_key_value.weight": "model.fp16-00003-of-00003.safetensors",
155
+ "encoder.layers.3.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
156
+ "encoder.layers.3.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
157
+ "encoder.layers.3.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
158
+ "encoder.layers.3.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
159
+ "encoder.layers.3.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
160
+ "encoder.layers.3.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
161
+ "encoder.layers.3.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
162
+ "encoder.layers.4.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
163
+ "encoder.layers.4.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
164
+ "encoder.layers.4.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
165
+ "encoder.layers.4.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
166
+ "encoder.layers.4.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
167
+ "encoder.layers.4.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
168
+ "encoder.layers.4.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
169
+ "encoder.layers.5.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
170
+ "encoder.layers.5.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
171
+ "encoder.layers.5.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
172
+ "encoder.layers.5.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
173
+ "encoder.layers.5.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
174
+ "encoder.layers.5.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
175
+ "encoder.layers.5.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
176
+ "encoder.layers.6.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
177
+ "encoder.layers.6.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
178
+ "encoder.layers.6.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
179
+ "encoder.layers.6.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
180
+ "encoder.layers.6.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
181
+ "encoder.layers.6.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
182
+ "encoder.layers.6.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
183
+ "encoder.layers.7.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
184
+ "encoder.layers.7.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
185
+ "encoder.layers.7.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
186
+ "encoder.layers.7.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
187
+ "encoder.layers.7.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
188
+ "encoder.layers.7.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
189
+ "encoder.layers.7.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
190
+ "encoder.layers.8.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
191
+ "encoder.layers.8.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
192
+ "encoder.layers.8.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
193
+ "encoder.layers.8.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
194
+ "encoder.layers.8.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
195
+ "encoder.layers.8.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
196
+ "encoder.layers.8.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
197
+ "encoder.layers.9.input_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
198
+ "encoder.layers.9.mlp.dense_4h_to_h.weight": "model.fp16-00001-of-00003.safetensors",
199
+ "encoder.layers.9.mlp.dense_h_to_4h.weight": "model.fp16-00001-of-00003.safetensors",
200
+ "encoder.layers.9.post_attention_layernorm.weight": "model.fp16-00001-of-00003.safetensors",
201
+ "encoder.layers.9.self_attention.dense.weight": "model.fp16-00001-of-00003.safetensors",
202
+ "encoder.layers.9.self_attention.query_key_value.bias": "model.fp16-00001-of-00003.safetensors",
203
+ "encoder.layers.9.self_attention.query_key_value.weight": "model.fp16-00001-of-00003.safetensors",
204
+ "output_layer.weight": "model.fp16-00003-of-00003.safetensors",
205
+ "rotary_pos_emb.inv_freq": "model.fp16-00001-of-00003.safetensors"
206
+ }
207
+ }
tokenizer/tokenizer.model ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7dc4c393423b76e4373e5157ddc34803a0189ba96b21ddbb40269d31468a6f2
3
+ size 1018370
tokenizer/tokenizer_config.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name_or_path": "THUDM/chatglm3-6b-base",
3
+ "remove_space": false,
4
+ "do_lower_case": false,
5
+ "tokenizer_class": "ChatGLMTokenizer",
6
+ "auto_map": {
7
+ "AutoTokenizer": [
8
+ "tokenization_chatglm.ChatGLMTokenizer",
9
+ null
10
+ ]
11
+ }
12
+ }
tokenizer/vocab.txt ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:e7dc4c393423b76e4373e5157ddc34803a0189ba96b21ddbb40269d31468a6f2
3
+ size 1018370
unet/config.json ADDED
@@ -0,0 +1,72 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "UNet2DConditionModel",
3
+ "_diffusers_version": "0.27.0.dev0",
4
+ "act_fn": "silu",
5
+ "addition_embed_type": "text_time",
6
+ "addition_embed_type_num_heads": 64,
7
+ "addition_time_embed_dim": 256,
8
+ "attention_head_dim": [
9
+ 5,
10
+ 10,
11
+ 20
12
+ ],
13
+ "attention_type": "default",
14
+ "block_out_channels": [
15
+ 320,
16
+ 640,
17
+ 1280
18
+ ],
19
+ "center_input_sample": false,
20
+ "class_embed_type": null,
21
+ "class_embeddings_concat": false,
22
+ "conv_in_kernel": 3,
23
+ "conv_out_kernel": 3,
24
+ "cross_attention_dim": 2048,
25
+ "cross_attention_norm": null,
26
+ "down_block_types": [
27
+ "DownBlock2D",
28
+ "CrossAttnDownBlock2D",
29
+ "CrossAttnDownBlock2D"
30
+ ],
31
+ "downsample_padding": 1,
32
+ "dropout": 0.0,
33
+ "dual_cross_attention": false,
34
+ "encoder_hid_dim": 4096,
35
+ "encoder_hid_dim_type": "text_proj",
36
+ "flip_sin_to_cos": true,
37
+ "freq_shift": 0,
38
+ "in_channels": 4,
39
+ "layers_per_block": 2,
40
+ "mid_block_only_cross_attention": null,
41
+ "mid_block_scale_factor": 1,
42
+ "mid_block_type": "UNetMidBlock2DCrossAttn",
43
+ "norm_eps": 1e-05,
44
+ "norm_num_groups": 32,
45
+ "num_attention_heads": null,
46
+ "num_class_embeds": null,
47
+ "only_cross_attention": false,
48
+ "out_channels": 4,
49
+ "projection_class_embeddings_input_dim": 5632,
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,
57
+ "time_embedding_dim": null,
58
+ "time_embedding_type": "positional",
59
+ "timestep_post_act": null,
60
+ "transformer_layers_per_block": [
61
+ 1,
62
+ 2,
63
+ 10
64
+ ],
65
+ "up_block_types": [
66
+ "CrossAttnUpBlock2D",
67
+ "CrossAttnUpBlock2D",
68
+ "UpBlock2D"
69
+ ],
70
+ "upcast_attention": false,
71
+ "use_linear_projection": true
72
+ }
unet/diffusion_pytorch_model.fp16.safetensors ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:425ff1dcbe3a70ac13d3afdd69bd4e3176b0c3260722527c80b210f11d2d966c
3
+ size 5159140240
vae/config.json ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_class_name": "AutoencoderKL",
3
+ "_diffusers_version": "0.18.0.dev0",
4
+ "_name_or_path": "./vae",
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
+ "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:bcb60880a46b63dea58e9bc591abe15f8350bde47b405f9c38f4be70c6161e68
3
+ size 167335342