ohgnues commited on
Commit
39a3d63
·
1 Parent(s): 9a62245

Upload ImageTextRetrieval

Browse files
Files changed (2) hide show
  1. config.json +50 -0
  2. pytorch_model.bin +3 -0
config.json ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "./aa",
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.27.4"
50
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7877ed90c0950a5c2067dba14d927e1909b91715807834dd75ed122ebf818567
3
+ size 535761193