udop / config.json
Jian
upload
044b79f
raw
history blame
1.37 kB
{
"_name_or_path": "t5-large",
"architectures": [
"UdopUnimodelForConditionalGeneration"
],
"d_ff": 4096,
"d_kv": 64,
"d_model": 1024,
"decoder_start_token_id": 0,
"dense_act_fn": "relu",
"dropout_rate": 0.1,
"eos_token_id": 1,
"feed_forward_proj": "relu",
"image_size": 224,
"initializer_factor": 1.0,
"is_encoder_decoder": true,
"is_gated_act": false,
"layer_norm_epsilon": 1e-06,
"layernorm_type": "torch_LayerNorm",
"locked_dropout": 0.0,
"mae_checkpoint": "mae_models/mae_pretrain_vit_large_full.pth",
"mae_version": "mae_vit_large_patch16",
"max_2d_position_embeddings": 1024,
"max_bbox_length": 1001,
"max_context_weight": 1.0,
"max_pos_dropout": 0.0,
"max_position_embeddings": 512,
"model_type": "t5",
"n_positions": 512,
"num_decoder_layers": 24,
"num_heads": 16,
"num_layers": 24,
"output_past": true,
"pad_token_id": 0,
"relative_attention_max_distance": 128,
"relative_attention_num_buckets": 32,
"relative_bias_args": [
{
"type": "1d"
},
{
"type": "horizontal"
},
{
"type": "vertical"
}
],
"syncbn_type": "torch_SyncBatchNorm",
"torch_dtype": "float32",
"transformers_version": "4.20.1",
"truncate_decoder_after_layer": null,
"truncate_encoder_after_layer": null,
"use_cache": true,
"vocab_size": 33201,
"word_dropout": 0.0
}