Idan commited on
Commit
abcd9ee
·
verified ·
1 Parent(s): 231a4a6

Replace with the open-ended model

Browse files
Files changed (1) hide show
  1. config.json +4 -4
config.json CHANGED
@@ -1,23 +1,23 @@
1
  {
2
  "architectures": [
3
- "HighOrderAttentionForVQA"
4
  ],
5
  "classifier_dropout": 0.3,
6
  "dropout": 0.5,
7
  "dtype": "float32",
 
8
  "hidden_size": 512,
9
  "image_feature_dim": 2048,
 
10
  "mask_padding": true,
11
  "max_question_length": 15,
12
- "model_type": "high_order_attention",
13
  "num_answers": 3001,
14
- "num_choices": 18,
15
  "num_regions": 36,
16
  "pad_token_id": 0,
17
  "pooling_dim": 16000,
18
  "transformers_version": "5.14.1",
19
  "use_cache": false,
20
- "use_ternary": true,
21
  "vocab_size": 8597,
22
  "word_embed_dim": 512
23
  }
 
1
  {
2
  "architectures": [
3
+ "OpenEndedVQAModel"
4
  ],
5
  "classifier_dropout": 0.3,
6
  "dropout": 0.5,
7
  "dtype": "float32",
8
+ "gated_tanh": true,
9
  "hidden_size": 512,
10
  "image_feature_dim": 2048,
11
+ "loss_type": "soft_ce",
12
  "mask_padding": true,
13
  "max_question_length": 15,
14
+ "model_type": "open_ended_vqa",
15
  "num_answers": 3001,
 
16
  "num_regions": 36,
17
  "pad_token_id": 0,
18
  "pooling_dim": 16000,
19
  "transformers_version": "5.14.1",
20
  "use_cache": false,
 
21
  "vocab_size": 8597,
22
  "word_embed_dim": 512
23
  }