wangyulong commited on
Commit
9c54d5d
1 Parent(s): 209b062

Upload config.json

Browse files
Files changed (1) hide show
  1. config.json +49 -0
config.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "_name_or_path": "checkpoints/base-20210729-013102-32040-512/checkpoint-15500",
3
+ "architectures": [
4
+ "BertForMaskedLM"
5
+ ],
6
+ "attention_probs_dropout_prob": 0.1,
7
+ "bos_token_id": 0,
8
+ "directionality": "bidi",
9
+ "drop_worst_after": 20000,
10
+ "drop_worst_ratio": 0.2,
11
+ "eos_token_id": 2,
12
+ "finetuning_task": "image_captioning",
13
+ "freeze_embedding": true,
14
+ "gradient_checkpointing": false,
15
+ "hidden_act": "gelu",
16
+ "hidden_dropout_prob": 0.1,
17
+ "hidden_size": 768,
18
+ "img_feature_dim": 2054,
19
+ "img_feature_type": "frcnn",
20
+ "img_layer_norm_eps": 1e-12,
21
+ "initializer_range": 0.02,
22
+ "intermediate_size": 3072,
23
+ "label_smoothing": 0.1,
24
+ "layer_norm_eps": 1e-12,
25
+ "loss_type": "sfmx",
26
+ "max_position_embeddings": 512,
27
+ "model_type": "bert",
28
+ "num_attention_heads": 12,
29
+ "num_contrast_classes": 3,
30
+ "num_hidden_layers": 12,
31
+ "num_labels": 2,
32
+ "output_attentions": false,
33
+ "output_hidden_states": false,
34
+ "output_past": true,
35
+ "pad_token_id": 1,
36
+ "pooler_fc_size": 768,
37
+ "pooler_num_attention_heads": 12,
38
+ "pooler_num_fc_layers": 3,
39
+ "pooler_size_per_head": 128,
40
+ "pooler_type": "first_token_transform",
41
+ "position_embedding_type": "absolute",
42
+ "tie_weights": true,
43
+ "torchscript": false,
44
+ "transformers_version": "4.6.1",
45
+ "type_vocab_size": 2,
46
+ "use_cache": true,
47
+ "use_img_layernorm": 1,
48
+ "vocab_size": 21128
49
+ }