ofa-cn-base-muge-v2 / config.json
YeungNLP's picture
Upload 7 files
ede6c52
{
"_name_or_path": "",
"activation_dropout": 0.0,
"activation_function": "gelu",
"add_type_embedding": true,
"architectures": [
"OFAModel"
],
"attention_dropout": 0.0,
"attn_scale_factor": 2.0,
"bos_token_id": 0,
"classifier_dropout": 0.0,
"code_image_size": 128,
"code_layernorm_embedding": true,
"d_model": 768,
"decoder_attention_heads": 12,
"decoder_drop_path_rate": 0.0,
"decoder_ffn_dim": 3072,
"decoder_layerdrop": 0.0,
"decoder_layers": 6,
"decoder_normalize_before": true,
"decoder_start_token_id": 0,
"dropout": 0.1,
"encoder_attention_heads": 12,
"encoder_drop_path_rate": 0.0,
"encoder_ffn_dim": 3072,
"encoder_layerdrop": 0.0,
"encoder_layers": 6,
"encoder_normalize_before": true,
"entangle_position_embedding": false,
"eos_token_id": 2,
"forced_eos_token_id": 2,
"image_bucket_size": 42,
"init_std": 0.02,
"is_encoder_decoder": true,
"layernorm_embedding": true,
"max_position_embeddings": 1024,
"model_type": "ofa",
"normformer": true,
"num_hidden_layers": 6,
"pad_token_id": 1,
"patch_layernorm_embedding": true,
"resnet_drop_path_rate": 0.0,
"resnet_model_path": null,
"resnet_type": "resnet101",
"scale_embedding": false,
"share_decoder_input_output_embed": true,
"token_bucket_size": 256,
"torch_dtype": "float32",
"transformers_version": "4.20.0",
"use_cache": false,
"vocab_size": 30325
}