innocent-charles
commited on
Commit
•
604f62f
1
Parent(s):
9d8b50e
Upload folder using huggingface_hub
Browse files- open_clip_config.json +41 -0
open_clip_config.json
ADDED
@@ -0,0 +1,41 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"model_cfg": {
|
3 |
+
"seed": 42,
|
4 |
+
"max_length": 200,
|
5 |
+
"image_encoder": "vit_large_patch14_clip_336",
|
6 |
+
"text_encoder": "sartifyllc/AviLaBSE",
|
7 |
+
"text_tokenizer": "sartifyllc/AviLaBSE",
|
8 |
+
"flip_ratio": 0.5,
|
9 |
+
"tensor_ratio": 1.0,
|
10 |
+
"imgs_pixels": 255.0,
|
11 |
+
"image_size": 336,
|
12 |
+
"batch_size": 4,
|
13 |
+
"num_workers": 4,
|
14 |
+
"num_projection_layers": 1,
|
15 |
+
"projection_dim": 256,
|
16 |
+
"dropout": 0.1,
|
17 |
+
"image_embedding": 1024,
|
18 |
+
"text_embedding": 768,
|
19 |
+
"temperature": 1.0,
|
20 |
+
"head_lr": 0.001,
|
21 |
+
"image_encoder_lr": 0.0001,
|
22 |
+
"text_encoder_lr": 1e-05,
|
23 |
+
"weight_decay": 0.001,
|
24 |
+
"patience": 1,
|
25 |
+
"factor": 0.8,
|
26 |
+
"epochs": 2,
|
27 |
+
"context_length": 512
|
28 |
+
},
|
29 |
+
"preprocess_cfg": {
|
30 |
+
"mean": [
|
31 |
+
0.48145466,
|
32 |
+
0.4578275,
|
33 |
+
0.40821073
|
34 |
+
],
|
35 |
+
"std": [
|
36 |
+
0.26862954,
|
37 |
+
0.26130258,
|
38 |
+
0.27577711
|
39 |
+
]
|
40 |
+
}
|
41 |
+
}
|