Image-to-Text
PyTorch
bert
michelecafagna26 commited on
Commit
2671765
1 Parent(s): fcf525b

Upload 5 files

Browse files
Files changed (5) hide show
  1. added_tokens.json +1 -0
  2. config.json +37 -0
  3. pytorch_model.bin +3 -0
  4. special_tokens_map.json +1 -0
  5. vocab.txt +0 -0
added_tokens.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {}
config.json ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "architectures": [
3
+ "BertForMaskedLM"
4
+ ],
5
+ "attention_probs_dropout_prob": 0.1,
6
+ "drop_worst_after": 20000,
7
+ "drop_worst_ratio": 0.2,
8
+ "finetuning_task": "image_captioning",
9
+ "freeze_embedding": true,
10
+ "hidden_act": "gelu",
11
+ "hidden_dropout_prob": 0.1,
12
+ "hidden_size": 768,
13
+ "img_feature_dim": 2054,
14
+ "img_feature_type": "frcnn",
15
+ "img_layer_norm_eps": 1e-12,
16
+ "initializer_range": 0.02,
17
+ "intermediate_size": 3072,
18
+ "is_bert": true,
19
+ "label_smoothing": 0.1,
20
+ "language_model_type": "MLM",
21
+ "layer_norm_eps": 1e-12,
22
+ "loss_type": "classification",
23
+ "max_position_embeddings": 512,
24
+ "model_type": "bert",
25
+ "num_attention_heads": 12,
26
+ "num_contrast_classes": 3,
27
+ "num_hidden_layers": 12,
28
+ "num_labels": 2,
29
+ "output_attentions": false,
30
+ "output_hidden_states": false,
31
+ "pad_token_id": 0,
32
+ "tie_weights": true,
33
+ "torchscript": false,
34
+ "type_vocab_size": 2,
35
+ "use_img_layernorm": 0,
36
+ "vocab_size": 30522
37
+ }
pytorch_model.bin ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:aa11774986a54898dff1554194243c21c35930dc8f0c01af10b05858c2cec66d
3
+ size 446784228
special_tokens_map.json ADDED
@@ -0,0 +1 @@
 
 
1
+ {"unk_token": "[UNK]", "sep_token": "[SEP]", "pad_token": "[PAD]", "cls_token": "[CLS]", "mask_token": "[MASK]"}
vocab.txt ADDED
The diff for this file is too large to render. See raw diff