File size: 1,812 Bytes
3ea2afa c2771cf 3ea2afa 382d197 3ea2afa |
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 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 |
{
"architectures": [
"Ernie4_5_VLMoeForConditionalGeneration"
],
"auto_map": {
"AutoConfig": "configuration_ernie_45t_vl.Ernie4_5_VLMoEConfig",
"AutoModel": "modeling_ernie_45t_vl.Ernie4_5_VLMoeForConditionalGeneration",
"AutoModelForCausalLM": "modeling_ernie_45t_vl.Ernie4_5_VLMoeForConditionalGeneration",
"AutoProcessor": "processing_ernie_45t_vl.Ernie_45T_VLProcessor",
"AutoImageProcessor": "processing_ernie_45t_vl.Ernie_45T_VLImageProcessor"
},
"pad_token_id": 0,
"bos_token_id": 1,
"eos_token_id": 2,
"torch_dtype": "bfloat16",
"hidden_act": "silu",
"hidden_size": 2560,
"intermediate_size": 12288,
"im_patch_id": 100295,
"model_type": "ernie4_5_moe_vl",
"moe_capacity": [128, 128, 128],
"moe_gate": "topk",
"moe_intermediate_size": [1536, 512],
"moe_k": 6,
"moe_layer_end_index": [29, 28],
"moe_layer_interval": 1,
"moe_layer_start_index": [1, 1],
"moe_multimodal_dispatch_use_allgather": "v2-alltoall-unpad-text",
"moe_num_experts": [64, 64],
"moe_num_shared_experts": 2,
"moe_use_aux_free": true,
"num_attention_heads": 20,
"num_hidden_layers": 28,
"num_key_value_heads": 4,
"pixel_hidden_size": 1280,
"rms_norm_eps": 1e-05,
"rope_3d": true,
"rope_theta": 500000,
"spatial_conv_size": 2,
"temporal_conv_size": 2,
"vocab_size": 103424,
"tie_word_embeddings": true,
"use_cache": true,
"use_rmsnorm": true,
"use_bias": false,
"vision_config": {
"attn_implementation": "eager",
"depth": 32,
"embed_dim": 1280,
"hidden_act": "quick_gelu",
"hidden_size": 1280,
"in_channels": 3,
"in_chans": 3,
"mlp_ratio": 4,
"num_heads": 16,
"patch_size": 14,
"spatial_merge_size": 2,
"spatial_patch_size": 14,
"vit_first_fwd_bsz": 128,
"attn_sep": "true,"
}
}
|