Upload 2 files
Browse filesAdd new CLIPVisionModelWithProjection image_encoder (update image_encoder from CLIPVisionModel to CLIPVisionModelWithProjection)
- image_encoder/config.json +22 -0
- image_encoder/pytorch_model.bin +3 -0
image_encoder/config.json
ADDED
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"CLIPVisionModelWithProjection"
|
4 |
+
],
|
5 |
+
"attention_dropout": 0.1,
|
6 |
+
"dropout": 0.1,
|
7 |
+
"hidden_act": "quick_gelu",
|
8 |
+
"hidden_size": 32,
|
9 |
+
"image_size": 32,
|
10 |
+
"initializer_factor": 1.0,
|
11 |
+
"initializer_range": 0.02,
|
12 |
+
"intermediate_size": 37,
|
13 |
+
"layer_norm_eps": 1e-05,
|
14 |
+
"model_type": "clip_vision_model",
|
15 |
+
"num_attention_heads": 4,
|
16 |
+
"num_channels": 3,
|
17 |
+
"num_hidden_layers": 5,
|
18 |
+
"patch_size": 2,
|
19 |
+
"projection_dim": 32,
|
20 |
+
"torch_dtype": "float32",
|
21 |
+
"transformers_version": "4.26.1"
|
22 |
+
}
|
image_encoder/pytorch_model.bin
ADDED
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
1 |
+
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:c37c257554416ac1216857504ee74091e6325a19b98e4fb8d79b13958097c94a
|
3 |
+
size 205628
|