Upload config.json with huggingface_hub
Browse files- config.json +20 -22
config.json
CHANGED
|
@@ -1,29 +1,27 @@
|
|
| 1 |
{
|
| 2 |
-
"
|
|
|
|
| 3 |
"architectures": [
|
| 4 |
-
"
|
| 5 |
],
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 6 |
"initializer_factor": 1.0,
|
| 7 |
-
"
|
| 8 |
-
"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
"projection_dim": 768,
|
| 10 |
-
"
|
| 11 |
-
"dropout": 0.0,
|
| 12 |
-
"hidden_size": 768,
|
| 13 |
-
"intermediate_size": 3072,
|
| 14 |
-
"model_type": "clip_text_model",
|
| 15 |
-
"num_attention_heads": 12
|
| 16 |
-
},
|
| 17 |
-
"torch_dtype": "float32",
|
| 18 |
"transformers_version": "4.46.3",
|
| 19 |
-
"
|
| 20 |
-
"_attn_implementation_autoset": true,
|
| 21 |
-
"dropout": 0.0,
|
| 22 |
-
"hidden_size": 1024,
|
| 23 |
-
"intermediate_size": 4096,
|
| 24 |
-
"model_type": "clip_vision_model",
|
| 25 |
-
"num_attention_heads": 16,
|
| 26 |
-
"num_hidden_layers": 24,
|
| 27 |
-
"patch_size": 14
|
| 28 |
-
}
|
| 29 |
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"_attn_implementation_autoset": true,
|
| 3 |
+
"_name_or_path": "/root/sd15_104000/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 |
+
"export_model_type": "clip-text",
|
| 12 |
+
"hidden_act": "quick_gelu",
|
| 13 |
+
"hidden_size": 768,
|
| 14 |
"initializer_factor": 1.0,
|
| 15 |
+
"initializer_range": 0.02,
|
| 16 |
+
"intermediate_size": 3072,
|
| 17 |
+
"layer_norm_eps": 1e-05,
|
| 18 |
+
"max_position_embeddings": 77,
|
| 19 |
+
"model_type": "clip_text_model",
|
| 20 |
+
"num_attention_heads": 12,
|
| 21 |
+
"num_hidden_layers": 12,
|
| 22 |
+
"pad_token_id": 1,
|
| 23 |
"projection_dim": 768,
|
| 24 |
+
"torch_dtype": "float16",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
"transformers_version": "4.46.3",
|
| 26 |
+
"vocab_size": 49408
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 27 |
}
|