tipsv2-l14 / config.json
guarin's picture
guarin HF Staff
Update files for transformers integration
f51cf5c verified
Raw
History Blame
1.96 kB
{
"architectures": [
"TIPSv2Model"
],
"auto_map": {
"AutoConfig": "configuration_tips.TIPSv2Config",
"AutoModel": "modeling_tips.TIPSv2Model"
},
"model_type": "tipsv2",
"temperature_init_value": 0.004785141441971064,
"text_config": {
"attention_dropout": 0.0,
"bos_token_id": null,
"eos_token_id": null,
"hidden_act": "relu",
"hidden_size": 1024,
"initializer_range": 0.02,
"intermediate_size": 4096,
"layer_norm_eps": 1e-05,
"max_position_embeddings": 64,
"model_type": "tipsv2_text_model",
"num_attention_heads": 16,
"num_hidden_layers": 12,
"pad_token_id": 0,
"pooling_epsilon": 1e-08,
"scale_sqrt_depth": true,
"vocab_size": 32000
},
"transformers_version": "5.10.0.dev0",
"vision_config": {
"apply_layernorm": true,
"attention_probs_dropout_prob": 0.0,
"drop_path_rate": 0.0,
"hidden_act": "gelu",
"hidden_dropout_prob": 0.0,
"hidden_size": 1024,
"image_size": 448,
"initializer_range": 0.02,
"interpolate_antialias": true,
"interpolate_offset": 0.0,
"layer_norm_eps": 1e-06,
"layerscale_value": 1.0,
"mlp_ratio": 4,
"model_type": "tipsv2_vision_model",
"num_attention_heads": 16,
"num_channels": 3,
"num_hidden_layers": 24,
"num_register_tokens": 1,
"out_features": [
"stage24"
],
"out_indices": [
24
],
"patch_size": 14,
"qkv_bias": true,
"reshape_hidden_states": true,
"stage_names": [
"stem",
"stage1",
"stage2",
"stage3",
"stage4",
"stage5",
"stage6",
"stage7",
"stage8",
"stage9",
"stage10",
"stage11",
"stage12",
"stage13",
"stage14",
"stage15",
"stage16",
"stage17",
"stage18",
"stage19",
"stage20",
"stage21",
"stage22",
"stage23",
"stage24"
],
"use_swiglu_ffn": false
}
}