Instructions to use Idan/fga-ensemble with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use Idan/fga-ensemble with Transformers:
# Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("Idan/fga-ensemble", device_map="auto") - Notebooks
- Google Colab
- Kaggle
Add ensemble member frcnn
Browse files- frcnn/config.json +56 -0
frcnn/config.json
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"FGAForVisualDialog"
|
| 4 |
+
],
|
| 5 |
+
"classifier_dropout": 0.5,
|
| 6 |
+
"dtype": "float32",
|
| 7 |
+
"empty_token_id": 11321,
|
| 8 |
+
"hidden_ans_dim": 512,
|
| 9 |
+
"hidden_cap_dim": 128,
|
| 10 |
+
"hidden_hist_dim": 128,
|
| 11 |
+
"hidden_img_dim": 2048,
|
| 12 |
+
"hidden_ques_dim": 512,
|
| 13 |
+
"initializer_type": "he",
|
| 14 |
+
"legacy_unary_dropout": false,
|
| 15 |
+
"lstm_initializer_type": "he",
|
| 16 |
+
"model_type": "fga",
|
| 17 |
+
"num_history_rounds": 9,
|
| 18 |
+
"num_options": 100,
|
| 19 |
+
"pad_token_id": 0,
|
| 20 |
+
"sharing_factor_weights": {
|
| 21 |
+
"4": [
|
| 22 |
+
9,
|
| 23 |
+
[
|
| 24 |
+
0,
|
| 25 |
+
1
|
| 26 |
+
]
|
| 27 |
+
],
|
| 28 |
+
"5": [
|
| 29 |
+
9,
|
| 30 |
+
[
|
| 31 |
+
0,
|
| 32 |
+
1
|
| 33 |
+
]
|
| 34 |
+
]
|
| 35 |
+
},
|
| 36 |
+
"size_force": false,
|
| 37 |
+
"stop_token_id": 11320,
|
| 38 |
+
"text_encoder_type": "lstm",
|
| 39 |
+
"transformers_version": "5.14.1",
|
| 40 |
+
"unary_dropout": 0.5,
|
| 41 |
+
"use_cache": false,
|
| 42 |
+
"use_pairwise": true,
|
| 43 |
+
"use_prior": true,
|
| 44 |
+
"use_self": true,
|
| 45 |
+
"use_unary": true,
|
| 46 |
+
"utility_sizes": [
|
| 47 |
+
100,
|
| 48 |
+
21,
|
| 49 |
+
41,
|
| 50 |
+
37,
|
| 51 |
+
21,
|
| 52 |
+
21
|
| 53 |
+
],
|
| 54 |
+
"vocab_size": 11322,
|
| 55 |
+
"word_embed_dim": 200
|
| 56 |
+
}
|