Upload config.json with huggingface_hub
Browse files- config.json +5 -3
config.json
CHANGED
|
@@ -9,7 +9,6 @@
|
|
| 9 |
"projection_dim": 512,
|
| 10 |
"text_config": {
|
| 11 |
"attention_dropout": 0.0,
|
| 12 |
-
"dtype": "float32",
|
| 13 |
"hidden_act": "quick_gelu",
|
| 14 |
"hidden_size": 512,
|
| 15 |
"initializer_factor": 1.0,
|
|
@@ -28,7 +27,6 @@
|
|
| 28 |
"transformers_version": "4.57.3",
|
| 29 |
"vision_config": {
|
| 30 |
"attention_dropout": 0.0,
|
| 31 |
-
"dtype": "float32",
|
| 32 |
"hidden_act": "quick_gelu",
|
| 33 |
"hidden_size": 768,
|
| 34 |
"image_size": 224,
|
|
@@ -42,5 +40,9 @@
|
|
| 42 |
"num_hidden_layers": 12,
|
| 43 |
"patch_size": 16,
|
| 44 |
"projection_dim": 512
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
}
|
| 46 |
-
}
|
|
|
|
| 9 |
"projection_dim": 512,
|
| 10 |
"text_config": {
|
| 11 |
"attention_dropout": 0.0,
|
|
|
|
| 12 |
"hidden_act": "quick_gelu",
|
| 13 |
"hidden_size": 512,
|
| 14 |
"initializer_factor": 1.0,
|
|
|
|
| 27 |
"transformers_version": "4.57.3",
|
| 28 |
"vision_config": {
|
| 29 |
"attention_dropout": 0.0,
|
|
|
|
| 30 |
"hidden_act": "quick_gelu",
|
| 31 |
"hidden_size": 768,
|
| 32 |
"image_size": 224,
|
|
|
|
| 40 |
"num_hidden_layers": 12,
|
| 41 |
"patch_size": 16,
|
| 42 |
"projection_dim": 512
|
| 43 |
+
},
|
| 44 |
+
"auto_map": {
|
| 45 |
+
"AutoModel": "long_clip_hf.LongCLIPModel",
|
| 46 |
+
"AutoConfig": "long_clip_hf.LongCLIPConfig"
|
| 47 |
}
|
| 48 |
+
}
|