Update config.json
Browse files- config.json +38 -0
config.json
ADDED
@@ -0,0 +1,38 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
{
|
2 |
+
"architectures": [
|
3 |
+
"LxmertForQuestionAnswering"
|
4 |
+
],
|
5 |
+
"attention_probs_dropout_prob": 0.1,
|
6 |
+
"hidden_act": "gelu",
|
7 |
+
"hidden_dropout_prob": 0.1,
|
8 |
+
"hidden_size": 768,
|
9 |
+
"initializer_range": 0.02,
|
10 |
+
"intermediate_size": 3072,
|
11 |
+
"l_layers": 9,
|
12 |
+
"layer_norm_eps": 1e-12,
|
13 |
+
"max_position_embeddings": 512,
|
14 |
+
"model_type": "lxmert",
|
15 |
+
"num_attention_heads": 12,
|
16 |
+
"num_attr_labels": 400,
|
17 |
+
"num_hidden_layers": {
|
18 |
+
"cross_encoder": 5,
|
19 |
+
"language": 9,
|
20 |
+
"vision": 5
|
21 |
+
},
|
22 |
+
"num_object_labels": 1600,
|
23 |
+
"num_qa_labels": 1842,
|
24 |
+
"r_layers": 5,
|
25 |
+
"task_mask_lm": true,
|
26 |
+
"task_matched": true,
|
27 |
+
"task_obj_predict": true,
|
28 |
+
"task_qa": true,
|
29 |
+
"type_vocab_size": 2,
|
30 |
+
"visual_attr_loss": true,
|
31 |
+
"visual_feat_dim": 2048,
|
32 |
+
"visual_feat_loss": true,
|
33 |
+
"visual_loss_normalizer": 6.67,
|
34 |
+
"visual_obj_loss": true,
|
35 |
+
"visual_pos_dim": 4,
|
36 |
+
"vocab_size": 30522,
|
37 |
+
"x_layers": 5
|
38 |
+
}
|