Upload text_encoder/config.json with huggingface_hub
Browse files- text_encoder/config.json +8 -8
text_encoder/config.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
{
|
| 2 |
-
"_name_or_path": "/root/.cache/huggingface/hub/models--
|
| 3 |
"architectures": [
|
| 4 |
"CLIPTextModel"
|
| 5 |
],
|
|
@@ -7,16 +7,16 @@
|
|
| 7 |
"bos_token_id": 0,
|
| 8 |
"dropout": 0.0,
|
| 9 |
"eos_token_id": 2,
|
| 10 |
-
"hidden_act": "
|
| 11 |
-
"hidden_size":
|
| 12 |
"initializer_factor": 1.0,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
-
"intermediate_size":
|
| 15 |
"layer_norm_eps": 1e-05,
|
| 16 |
"max_position_embeddings": 77,
|
| 17 |
"model_type": "clip_text_model",
|
| 18 |
"neuron": {
|
| 19 |
-
"auto_cast": "
|
| 20 |
"auto_cast_type": "bf16",
|
| 21 |
"compiler_type": "neuronx-cc",
|
| 22 |
"compiler_version": "2.13.66.0+6dfecc895",
|
|
@@ -36,10 +36,10 @@
|
|
| 36 |
"static_batch_size": 1,
|
| 37 |
"static_sequence_length": 77
|
| 38 |
},
|
| 39 |
-
"num_attention_heads":
|
| 40 |
-
"num_hidden_layers":
|
| 41 |
"pad_token_id": 1,
|
| 42 |
-
"projection_dim":
|
| 43 |
"task": "feature-extraction",
|
| 44 |
"torch_dtype": "float32",
|
| 45 |
"torchscript": true,
|
|
|
|
| 1 |
{
|
| 2 |
+
"_name_or_path": "/root/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-1/snapshots/5cae40e6a2745ae2b01ad92ae5043f95f23644d6/text_encoder",
|
| 3 |
"architectures": [
|
| 4 |
"CLIPTextModel"
|
| 5 |
],
|
|
|
|
| 7 |
"bos_token_id": 0,
|
| 8 |
"dropout": 0.0,
|
| 9 |
"eos_token_id": 2,
|
| 10 |
+
"hidden_act": "gelu",
|
| 11 |
+
"hidden_size": 1024,
|
| 12 |
"initializer_factor": 1.0,
|
| 13 |
"initializer_range": 0.02,
|
| 14 |
+
"intermediate_size": 4096,
|
| 15 |
"layer_norm_eps": 1e-05,
|
| 16 |
"max_position_embeddings": 77,
|
| 17 |
"model_type": "clip_text_model",
|
| 18 |
"neuron": {
|
| 19 |
+
"auto_cast": "none",
|
| 20 |
"auto_cast_type": "bf16",
|
| 21 |
"compiler_type": "neuronx-cc",
|
| 22 |
"compiler_version": "2.13.66.0+6dfecc895",
|
|
|
|
| 36 |
"static_batch_size": 1,
|
| 37 |
"static_sequence_length": 77
|
| 38 |
},
|
| 39 |
+
"num_attention_heads": 16,
|
| 40 |
+
"num_hidden_layers": 23,
|
| 41 |
"pad_token_id": 1,
|
| 42 |
+
"projection_dim": 512,
|
| 43 |
"task": "feature-extraction",
|
| 44 |
"torch_dtype": "float32",
|
| 45 |
"torchscript": true,
|