Update config.json
Browse files- config.json +12 -7
config.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
"decoder_attention_heads": 16,
|
| 21 |
"decoder_ffn_dim": 4096,
|
| 22 |
"decoder_layerdrop": 0.0,
|
| 23 |
-
"decoder_layers":
|
| 24 |
"decoder_start_token_id": null,
|
| 25 |
"diversity_penalty": 0.0,
|
| 26 |
"do_sample": false,
|
|
@@ -49,7 +49,7 @@
|
|
| 49 |
},
|
| 50 |
"length_penalty": 1.0,
|
| 51 |
"max_length": 20,
|
| 52 |
-
"max_position_embeddings":
|
| 53 |
"min_length": 0,
|
| 54 |
"model_type": "mbart",
|
| 55 |
"no_repeat_ngram_size": 0,
|
|
@@ -86,6 +86,7 @@
|
|
| 86 |
"use_cache": true,
|
| 87 |
"vocab_size": 50000
|
| 88 |
},
|
|
|
|
| 89 |
"encoder": {
|
| 90 |
"_name_or_path": "",
|
| 91 |
"add_cross_attention": false,
|
|
@@ -122,8 +123,8 @@
|
|
| 122 |
"1": "LABEL_1"
|
| 123 |
},
|
| 124 |
"image_size": [
|
| 125 |
-
|
| 126 |
-
|
| 127 |
],
|
| 128 |
"initializer_range": 0.02,
|
| 129 |
"is_decoder": false,
|
|
@@ -155,6 +156,7 @@
|
|
| 155 |
"output_scores": false,
|
| 156 |
"pad_token_id": null,
|
| 157 |
"patch_size": 4,
|
|
|
|
| 158 |
"prefix": null,
|
| 159 |
"problem_type": null,
|
| 160 |
"pruned_heads": {},
|
|
@@ -176,13 +178,16 @@
|
|
| 176 |
"torch_dtype": null,
|
| 177 |
"torchscript": false,
|
| 178 |
"typical_p": 1.0,
|
|
|
|
| 179 |
"use_absolute_embeddings": false,
|
| 180 |
"use_bfloat16": false,
|
| 181 |
-
"window_size":
|
| 182 |
},
|
| 183 |
"is_encoder_decoder": true,
|
| 184 |
"model_type": "vision-encoder-decoder",
|
|
|
|
| 185 |
"tie_word_embeddings": false,
|
| 186 |
-
"torch_dtype": "
|
| 187 |
-
"transformers_version": "4.
|
| 188 |
}
|
|
|
|
|
|
| 20 |
"decoder_attention_heads": 16,
|
| 21 |
"decoder_ffn_dim": 4096,
|
| 22 |
"decoder_layerdrop": 0.0,
|
| 23 |
+
"decoder_layers": 8,
|
| 24 |
"decoder_start_token_id": null,
|
| 25 |
"diversity_penalty": 0.0,
|
| 26 |
"do_sample": false,
|
|
|
|
| 49 |
},
|
| 50 |
"length_penalty": 1.0,
|
| 51 |
"max_length": 20,
|
| 52 |
+
"max_position_embeddings": 1536,
|
| 53 |
"min_length": 0,
|
| 54 |
"model_type": "mbart",
|
| 55 |
"no_repeat_ngram_size": 0,
|
|
|
|
| 86 |
"use_cache": true,
|
| 87 |
"vocab_size": 50000
|
| 88 |
},
|
| 89 |
+
"decoder_start_token_id": 0,
|
| 90 |
"encoder": {
|
| 91 |
"_name_or_path": "",
|
| 92 |
"add_cross_attention": false,
|
|
|
|
| 123 |
"1": "LABEL_1"
|
| 124 |
},
|
| 125 |
"image_size": [
|
| 126 |
+
420,
|
| 127 |
+
420
|
| 128 |
],
|
| 129 |
"initializer_range": 0.02,
|
| 130 |
"is_decoder": false,
|
|
|
|
| 156 |
"output_scores": false,
|
| 157 |
"pad_token_id": null,
|
| 158 |
"patch_size": 4,
|
| 159 |
+
"path_norm": true,
|
| 160 |
"prefix": null,
|
| 161 |
"problem_type": null,
|
| 162 |
"pruned_heads": {},
|
|
|
|
| 178 |
"torch_dtype": null,
|
| 179 |
"torchscript": false,
|
| 180 |
"typical_p": 1.0,
|
| 181 |
+
"use_2d_embeddings": false,
|
| 182 |
"use_absolute_embeddings": false,
|
| 183 |
"use_bfloat16": false,
|
| 184 |
+
"window_size": 5
|
| 185 |
},
|
| 186 |
"is_encoder_decoder": true,
|
| 187 |
"model_type": "vision-encoder-decoder",
|
| 188 |
+
"pad_token_id": 1,
|
| 189 |
"tie_word_embeddings": false,
|
| 190 |
+
"torch_dtype": "float16",
|
| 191 |
+
"transformers_version": "4.36.0"
|
| 192 |
}
|
| 193 |
+
|