Upload ImageTextRetrieval
Browse files- config.json +44 -8
- pytorch_model.bin +2 -2
config.json
CHANGED
@@ -1,14 +1,50 @@
|
|
1 |
{
|
2 |
-
"
|
3 |
"architectures": [
|
4 |
-
"
|
5 |
],
|
6 |
-
"
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 |
"torch_dtype": "float32",
|
13 |
"transformers_version": "4.34.1"
|
14 |
}
|
|
|
1 |
{
|
2 |
+
"_name_or_path": "./runs/checkpoint-7820",
|
3 |
"architectures": [
|
4 |
+
"ImageTextRetrieval"
|
5 |
],
|
6 |
+
"image_config": {
|
7 |
+
"depths": [
|
8 |
+
3,
|
9 |
+
4,
|
10 |
+
6,
|
11 |
+
3
|
12 |
+
],
|
13 |
+
"downsample_in_first_stage": false,
|
14 |
+
"embedding_size": 64,
|
15 |
+
"hidden_sizes": [
|
16 |
+
256,
|
17 |
+
512,
|
18 |
+
1024,
|
19 |
+
2048
|
20 |
+
],
|
21 |
+
"image_hidden_act": "relu",
|
22 |
+
"layer_type": "bottleneck",
|
23 |
+
"num_channels": 3,
|
24 |
+
"out_features": null
|
25 |
+
},
|
26 |
+
"initializer_factor": 1.0,
|
27 |
+
"logit_scale_init_value": 2.6592,
|
28 |
+
"model_type": "bert, resnet",
|
29 |
+
"projection_dim": 512,
|
30 |
+
"text_config": {
|
31 |
+
"attention_probs_dropout_prob": 0.1,
|
32 |
+
"classifier_dropout": null,
|
33 |
+
"hidden_dropout_prob": 0.1,
|
34 |
+
"hidden_size": 768,
|
35 |
+
"initializer_range": 0.02,
|
36 |
+
"intermediate_size": 3072,
|
37 |
+
"layer_norm_eps": 1e-12,
|
38 |
+
"max_position_embeddings": 512,
|
39 |
+
"num_attention_heads": 12,
|
40 |
+
"num_hidden_layers": 12,
|
41 |
+
"pad_token_id": 0,
|
42 |
+
"position_embedding_type": "absolute",
|
43 |
+
"text_hidden_act": "gelu",
|
44 |
+
"type_vocab_size": 2,
|
45 |
+
"use_cache": true,
|
46 |
+
"vocab_size": 30522
|
47 |
+
},
|
48 |
"torch_dtype": "float32",
|
49 |
"transformers_version": "4.34.1"
|
50 |
}
|
pytorch_model.bin
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
-
size
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:7f1ea5033a582618e5cd46906f634088b3d741e504958d328ad16c31642eb6fb
|
3 |
+
size 535756965
|