Commit
•
690252c
1
Parent(s):
9b4ae38
Upload text_encoder_2/config.json with huggingface_hub
Browse files- text_encoder_2/config.json +50 -0
text_encoder_2/config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/text_encoder_2",
|
3 |
+
"architectures": [
|
4 |
+
"CLIPTextModelWithProjection"
|
5 |
+
],
|
6 |
+
"attention_dropout": 0.0,
|
7 |
+
"bos_token_id": 0,
|
8 |
+
"dropout": 0.0,
|
9 |
+
"eos_token_id": 2,
|
10 |
+
"hidden_act": "gelu",
|
11 |
+
"hidden_size": 1280,
|
12 |
+
"initializer_factor": 1.0,
|
13 |
+
"initializer_range": 0.02,
|
14 |
+
"intermediate_size": 5120,
|
15 |
+
"layer_norm_eps": 1e-05,
|
16 |
+
"max_position_embeddings": 77,
|
17 |
+
"model_type": "clip_text_model",
|
18 |
+
"neuron": {
|
19 |
+
"auto_cast": "matmul",
|
20 |
+
"auto_cast_type": "bf16",
|
21 |
+
"compiler_type": "neuronx-cc",
|
22 |
+
"compiler_version": "2.13.66.0+6dfecc895",
|
23 |
+
"dynamic_batch_size": false,
|
24 |
+
"inline_weights_to_neff": true,
|
25 |
+
"input_names": [
|
26 |
+
"input_ids"
|
27 |
+
],
|
28 |
+
"model_type": "clip-text-model",
|
29 |
+
"optlevel": "2",
|
30 |
+
"output_attentions": false,
|
31 |
+
"output_hidden_states": false,
|
32 |
+
"output_names": [
|
33 |
+
"text_embeds",
|
34 |
+
"last_hidden_state",
|
35 |
+
"hidden_states"
|
36 |
+
],
|
37 |
+
"static_batch_size": 1,
|
38 |
+
"static_sequence_length": 77
|
39 |
+
},
|
40 |
+
"num_attention_heads": 20,
|
41 |
+
"num_hidden_layers": 32,
|
42 |
+
"output_hidden_states": true,
|
43 |
+
"pad_token_id": 1,
|
44 |
+
"projection_dim": 1280,
|
45 |
+
"task": "feature-extraction",
|
46 |
+
"torch_dtype": "float16",
|
47 |
+
"torchscript": true,
|
48 |
+
"transformers_version": "4.36.2",
|
49 |
+
"vocab_size": 49408
|
50 |
+
}
|