Create preprocessor_config.json
Browse files- preprocessor_config.json +16 -0
preprocessor_config.json
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{'model_type': 'CLIPModel',
|
2 |
+
'temperature': 1.0,
|
3 |
+
'image_embedding': 2048,
|
4 |
+
'text_embedding': 768,
|
5 |
+
'image_encoder': {'model_name': 'resnet50',
|
6 |
+
'pretrained': True,
|
7 |
+
'trainable': True},
|
8 |
+
'text_encoder': {'model_name': 'distilbert-base-multilingual-cased',
|
9 |
+
'pretrained': True,
|
10 |
+
'trainable': True},
|
11 |
+
'image_projection': {'embedding_dim': 2048,
|
12 |
+
'projection_dim': 256,
|
13 |
+
'dropout': 0.1},
|
14 |
+
'text_projection': {'embedding_dim': 768,
|
15 |
+
'projection_dim': 256,
|
16 |
+
'dropout': 0.1}}
|