{ "activation_dropout": 0.0, "activation_function": "gelu", "add_type_embedding": true, "architectures": [ "OFAForConditionalGeneration" ], "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.1, "decoder_ffn_dim": 3072, "decoder_layerdrop": 0.0, "decoder_layers": 6, "decoder_normalize_before": true, "dropout": 0.0, "encoder_attention_heads": 12, "encoder_drop_path_rate": 0.1, "encoder_ffn_dim": 3072, "encoder_layerdrop": 0.0, "encoder_layers": 6, "encoder_normalize_before": true, "entangle_position_embedding": false, "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.18.0.dev0", "use_cache": false, "vocab_size": 59457 }