File size: 1,227 Bytes
1b5c085 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 |
{
"_name_or_path": "BridgeTower/bridgetower-large-itm-mlm-itc",
"architectures": [
"BridgeTowerForContrastiveLearning"
],
"contrastive_hidden_size": 512,
"drop_rate": 0.1,
"head_hidden_scale": 2,
"hidden_act": "gelu",
"hidden_size": 1024,
"init_layernorm_from_vision_encoder": false,
"initializer_factor": 1,
"layer_norm_eps": 1e-05,
"link_tower_type": "add",
"logit_scale_init_value": 2.6592,
"model_type": "bridgetower",
"num_attention_heads": 16,
"num_hidden_layers": 6,
"share_cross_modal_transformer_layers": true,
"share_link_tower_layers": false,
"text_config": {
"architectures": [
"BridgeTowerTextModel"
],
"classifier_dropout": null,
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 4096,
"model_type": "bridgetower_text_model",
"num_attention_heads": 16,
"num_hidden_layers": 24
},
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.43.4",
"vision_config": {
"architectures": [
"BridgeTowerVisionModel"
],
"hidden_size": 1024,
"image_size": 294,
"model_type": "bridgetower_vision_model",
"num_hidden_layers": 24,
"patch_size": 14
}
}
|