Create config.json
Browse files- config.json +31 -0
config.json
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
// config.json
|
| 2 |
+
{
|
| 3 |
+
"_name_or_path": "openai/clip-vit-base-patch32",
|
| 4 |
+
"architectures": [
|
| 5 |
+
"CLIPModel"
|
| 6 |
+
],
|
| 7 |
+
"initializer_factor": 1.0,
|
| 8 |
+
"model_type": "clip",
|
| 9 |
+
"text_config": {
|
| 10 |
+
"model_type": "clip_text_model",
|
| 11 |
+
"initializer_factor": 1.0,
|
| 12 |
+
"vocab_size": 49408,
|
| 13 |
+
"max_position_embeddings": 77,
|
| 14 |
+
"hidden_size": 512,
|
| 15 |
+
"num_hidden_layers": 12,
|
| 16 |
+
"num_attention_heads": 8,
|
| 17 |
+
"intermediate_size": 2048,
|
| 18 |
+
"projection_dim": 512
|
| 19 |
+
},
|
| 20 |
+
"vision_config": {
|
| 21 |
+
"model_type": "clip_vision_model",
|
| 22 |
+
"initializer_factor": 1.0,
|
| 23 |
+
"image_size": 224,
|
| 24 |
+
"patch_size": 32,
|
| 25 |
+
"num_hidden_layers": 12,
|
| 26 |
+
"num_attention_heads": 8,
|
| 27 |
+
"hidden_size": 768,
|
| 28 |
+
"intermediate_size": 3072,
|
| 29 |
+
"projection_dim": 512
|
| 30 |
+
}
|
| 31 |
+
}
|