Upload text_encoder/config.json with huggingface_hub
Browse files- text_encoder/config.json +52 -0
text_encoder/config.json
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"architectures": [
|
| 4 |
+
"CLIPTextModel"
|
| 5 |
+
],
|
| 6 |
+
"attention_dropout": 0.0,
|
| 7 |
+
"bos_token_id": 0,
|
| 8 |
+
"dropout": 0.0,
|
| 9 |
+
"eos_token_id": 2,
|
| 10 |
+
"export_model_type": "clip-text-model",
|
| 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": null,
|
| 21 |
+
"auto_cast_type": null,
|
| 22 |
+
"compiler_type": "neuronx-cc",
|
| 23 |
+
"compiler_version": "2.19.8089.0+8ab9f450",
|
| 24 |
+
"dynamic_batch_size": false,
|
| 25 |
+
"float_dtype": "fp32",
|
| 26 |
+
"inline_weights_to_neff": false,
|
| 27 |
+
"input_names": [
|
| 28 |
+
"input_ids"
|
| 29 |
+
],
|
| 30 |
+
"int_dtype": "int64",
|
| 31 |
+
"model_type": "clip-text-model",
|
| 32 |
+
"optlevel": "2",
|
| 33 |
+
"output_attentions": false,
|
| 34 |
+
"output_hidden_states": false,
|
| 35 |
+
"output_names": [
|
| 36 |
+
"last_hidden_state",
|
| 37 |
+
"pooler_output"
|
| 38 |
+
],
|
| 39 |
+
"static_batch_size": 1,
|
| 40 |
+
"static_sequence_length": 77,
|
| 41 |
+
"task": "feature-extraction",
|
| 42 |
+
"tensor_parallel_size": 1
|
| 43 |
+
},
|
| 44 |
+
"num_attention_heads": 12,
|
| 45 |
+
"num_hidden_layers": 12,
|
| 46 |
+
"pad_token_id": 1,
|
| 47 |
+
"projection_dim": 768,
|
| 48 |
+
"torch_dtype": "bfloat16",
|
| 49 |
+
"torchscript": true,
|
| 50 |
+
"transformers_version": "4.51.3",
|
| 51 |
+
"vocab_size": 49408
|
| 52 |
+
}
|