Lawrence-cj
commited on
Commit
•
eff7b26
1
Parent(s):
caabfe9
Add transformer config file
Browse files- transformer/config.json +27 -0
transformer/config.json
ADDED
@@ -0,0 +1,27 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_class_name": "Transformer2DModel",
|
3 |
+
"_diffusers_version": "0.23.0.dev0",
|
4 |
+
"activation_fn": "gelu-approximate",
|
5 |
+
"attention_bias": true,
|
6 |
+
"attention_head_dim": 72,
|
7 |
+
"attention_type": "default",
|
8 |
+
"caption_channels": 4096,
|
9 |
+
"cross_attention_dim": 1152,
|
10 |
+
"double_self_attention": false,
|
11 |
+
"dropout": 0.0,
|
12 |
+
"in_channels": 4,
|
13 |
+
"norm_elementwise_affine": false,
|
14 |
+
"norm_eps": 1e-06,
|
15 |
+
"norm_num_groups": 32,
|
16 |
+
"norm_type": "ada_norm_single",
|
17 |
+
"num_attention_heads": 16,
|
18 |
+
"num_embeds_ada_norm": 1000,
|
19 |
+
"num_layers": 28,
|
20 |
+
"num_vector_embeds": null,
|
21 |
+
"only_cross_attention": false,
|
22 |
+
"out_channels": 8,
|
23 |
+
"patch_size": 2,
|
24 |
+
"sample_size": 128,
|
25 |
+
"upcast_attention": false,
|
26 |
+
"use_linear_projection": false
|
27 |
+
}
|