Commit
•
1b58959
1
Parent(s):
bf94be3
Upload text_encoder/config.json with huggingface_hub
Browse files- text_encoder/config.json +43 -0
text_encoder/config.json
ADDED
@@ -0,0 +1,43 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "5ede9e4bf3e3fd1cb0ef2f7a3fff13ee514fdf06",
|
3 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1-base/snapshots/5ede9e4bf3e3fd1cb0ef2f7a3fff13ee514fdf06/text_encoder",
|
4 |
+
"architectures": [
|
5 |
+
"CLIPTextModel"
|
6 |
+
],
|
7 |
+
"attention_dropout": 0.0,
|
8 |
+
"bos_token_id": 0,
|
9 |
+
"dropout": 0.0,
|
10 |
+
"eos_token_id": 2,
|
11 |
+
"hidden_act": "gelu",
|
12 |
+
"hidden_size": 1024,
|
13 |
+
"initializer_factor": 1.0,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 4096,
|
16 |
+
"layer_norm_eps": 1e-05,
|
17 |
+
"max_position_embeddings": 77,
|
18 |
+
"model_type": "clip-text-model",
|
19 |
+
"neuron": {
|
20 |
+
"auto_cast": "matmul",
|
21 |
+
"auto_cast_type": "bf16",
|
22 |
+
"compiler_type": "neuronx-cc",
|
23 |
+
"compiler_version": "2.9.0.40+07376825f",
|
24 |
+
"dynamic_batch_size": false,
|
25 |
+
"input_names": [
|
26 |
+
"input_ids"
|
27 |
+
],
|
28 |
+
"output_names": [
|
29 |
+
"text_embeds",
|
30 |
+
"last_hidden_state"
|
31 |
+
],
|
32 |
+
"static_batch_size": 1,
|
33 |
+
"static_sequence_length": 77
|
34 |
+
},
|
35 |
+
"num_attention_heads": 16,
|
36 |
+
"num_hidden_layers": 23,
|
37 |
+
"pad_token_id": 1,
|
38 |
+
"projection_dim": 512,
|
39 |
+
"torch_dtype": "float32",
|
40 |
+
"torchscript": true,
|
41 |
+
"transformers_version": "4.25.0.dev0",
|
42 |
+
"vocab_size": 49408
|
43 |
+
}
|