ehristoforu
commited on
Commit
•
201e6d4
1
Parent(s):
cc43369
Update text_encoder/config.json
Browse files- text_encoder/config.json +7 -6
text_encoder/config.json
CHANGED
@@ -1,4 +1,5 @@
|
|
1 |
{
|
|
|
2 |
"architectures": [
|
3 |
"CLIPTextModel"
|
4 |
],
|
@@ -7,18 +8,18 @@
|
|
7 |
"dropout": 0.0,
|
8 |
"eos_token_id": 2,
|
9 |
"hidden_act": "quick_gelu",
|
10 |
-
"hidden_size":
|
11 |
"initializer_factor": 1.0,
|
12 |
"initializer_range": 0.02,
|
13 |
-
"intermediate_size":
|
14 |
"layer_norm_eps": 1e-05,
|
15 |
"max_position_embeddings": 77,
|
16 |
"model_type": "clip_text_model",
|
17 |
-
"num_attention_heads":
|
18 |
-
"num_hidden_layers":
|
19 |
"pad_token_id": 1,
|
20 |
-
"projection_dim":
|
21 |
"torch_dtype": "float16",
|
22 |
-
"transformers_version": "4.
|
23 |
"vocab_size": 49408
|
24 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "hf-models/stable-diffusion-v2-768x768/text_encoder",
|
3 |
"architectures": [
|
4 |
"CLIPTextModel"
|
5 |
],
|
|
|
8 |
"dropout": 0.0,
|
9 |
"eos_token_id": 2,
|
10 |
"hidden_act": "quick_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.25.0.dev0",
|
24 |
"vocab_size": 49408
|
25 |
}
|