Upload text_encoder/config.json with huggingface_hub
Browse files- text_encoder/config.json +48 -0
text_encoder/config.json
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "462165984030d82259a11f4367a4eed129e94a7b",
|
3 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--stabilityai--stable-diffusion-xl-base-1.0/snapshots/462165984030d82259a11f4367a4eed129e94a7b/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": "quick_gelu",
|
12 |
+
"hidden_size": 768,
|
13 |
+
"initializer_factor": 1.0,
|
14 |
+
"initializer_range": 0.02,
|
15 |
+
"intermediate_size": 3072,
|
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.11.0.34+c5231f848",
|
24 |
+
"disable_fallback": false,
|
25 |
+
"disable_fast_relayout": false,
|
26 |
+
"dynamic_batch_size": false,
|
27 |
+
"input_names": [
|
28 |
+
"input_ids"
|
29 |
+
],
|
30 |
+
"output_names": [
|
31 |
+
"last_hidden_state",
|
32 |
+
"pooler_output",
|
33 |
+
"hidden_states"
|
34 |
+
],
|
35 |
+
"static_batch_size": 1,
|
36 |
+
"static_sequence_length": 77
|
37 |
+
},
|
38 |
+
"num_attention_heads": 12,
|
39 |
+
"num_hidden_layers": 12,
|
40 |
+
"output_hidden_states": true,
|
41 |
+
"pad_token_id": 1,
|
42 |
+
"projection_dim": 768,
|
43 |
+
"task": "feature-extraction",
|
44 |
+
"torch_dtype": "float16",
|
45 |
+
"torchscript": true,
|
46 |
+
"transformers_version": "4.32.0.dev0",
|
47 |
+
"vocab_size": 49408
|
48 |
+
}
|