Astaxanthin commited on
Commit
55a05ca
·
verified ·
1 Parent(s): e4ae75f

Upload custom vision-language model

Browse files
Files changed (4) hide show
  1. config.json +34 -0
  2. pytorch_model.bin +3 -0
  3. tokenizer_config.json +3 -0
  4. vocab.txt +0 -0
config.json ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "model_type": "keep",
3
+ "vision_config": {
4
+ "model_type": "vit",
5
+ "img_size": 224,
6
+ "patch_size": 16,
7
+ "hidden_size": 1024,
8
+ "num_heads": 16,
9
+ "num_layers": 24,
10
+ "mlp_ratio": 4.0,
11
+ "qkv_bias": true,
12
+ "drop_rate": 0.0,
13
+ "attn_drop_rate": 0.0,
14
+ "init_values": 1e-5,
15
+ "num_classes": 0,
16
+ "dynamic_img_size": true
17
+ },
18
+ "text_config": {
19
+ "model_type": "bert",
20
+ "vocab_size": 30522,
21
+ "hidden_size": 768,
22
+ "num_hidden_layers": 12,
23
+ "num_attention_heads": 12,
24
+ "intermediate_size": 3072,
25
+ "hidden_act": "gelu",
26
+ "hidden_dropout_prob": 0.1,
27
+ "attention_probs_dropout_prob": 0.1,
28
+ "max_position_embeddings": 512,
29
+ "type_vocab_size": 2,
30
+ "initializer_range": 0.02,
31
+ "layer_norm_eps": 1e-12
32
+ },
33
+ "projection_dim": 768
34
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:19a9ef805fcde4f1a255892ed755f960214fb19da59e87d2fc0de49d4683946b
3
+ size 1657016149
tokenizer_config.json ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ {
2
+ "do_lower_case": true
3
+ }
vocab.txt ADDED
The diff for this file is too large to render. See raw diff