Upload text_encoder/config.json with huggingface_hub
Browse files- text_encoder/config.json +50 -0
text_encoder/config.json
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"_commit_hash": "fe6a2b202ba7e6144b52da383fdd1e0a1e6f9628",
|
3 |
+
"_name_or_path": "/home/ubuntu/.cache/huggingface/hub/models--playgroundai--playground-v2-512px-base/snapshots/fe6a2b202ba7e6144b52da383fdd1e0a1e6f9628/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 |
+
"dynamic_batch_size": false,
|
25 |
+
"input_names": [
|
26 |
+
"input_ids"
|
27 |
+
],
|
28 |
+
"model_type": "clip-text-model",
|
29 |
+
"output_attentions": false,
|
30 |
+
"output_hidden_states": false,
|
31 |
+
"output_names": [
|
32 |
+
"last_hidden_state",
|
33 |
+
"pooler_output",
|
34 |
+
"hidden_states"
|
35 |
+
],
|
36 |
+
"static_batch_size": 1,
|
37 |
+
"static_num_beams": 1,
|
38 |
+
"static_sequence_length": 77
|
39 |
+
},
|
40 |
+
"num_attention_heads": 12,
|
41 |
+
"num_hidden_layers": 12,
|
42 |
+
"output_hidden_states": true,
|
43 |
+
"pad_token_id": 1,
|
44 |
+
"projection_dim": 768,
|
45 |
+
"task": "feature-extraction",
|
46 |
+
"torch_dtype": "float32",
|
47 |
+
"torchscript": true,
|
48 |
+
"transformers_version": "4.35.2",
|
49 |
+
"vocab_size": 49408
|
50 |
+
}
|