File size: 4,264 Bytes
3a803fb | 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 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | {
"add_classification_head": false,
"architectures": [
"UnifiedMoTForConditionalGeneration"
],
"attention_bias": false,
"attention_dropout": 0.0,
"attention_head_dim": 128,
"bos_token_id": 120000,
"boundary_loss_weight": 0.0,
"cla_share_factor": 2,
"class_num": 0,
"dense_list": [
2048,
0
],
"dtype": "bfloat16",
"eos_token_id": 120020,
"flow_latent_placeholder_id": 120690,
"flow_loss_weight": 1.0,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"im_end_id": 5,
"im_newline_id": 11,
"im_start_id": 4,
"image_end_token_id": 120120,
"image_start_token_id": 120119,
"image_token_id": 120687,
"initializer_range": 0.02,
"intermediate_size": 6144,
"latent_patch_size": 2,
"latent_token_id": 120690,
"mask_init_id": 12,
"max_latent_size": 32,
"max_position_embeddings": 262144,
"mlp_bias": false,
"model_type": "unified_mot",
"norm_type": "rms",
"num_attention_heads": 16,
"num_hidden_layers": 32,
"num_key_value_heads": 4,
"org_vocab_size": 120818,
"pad_id": 120002,
"pad_token_id": 120002,
"pool_type": "last",
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": {
"alpha": 1000.0,
"beta_fast": 32,
"beta_slow": 1,
"factor": 1.0,
"mscale": 1.0,
"mscale_all_dim": 1.0,
"type": "dynamic"
},
"rope_theta": 10000.0,
"sep_token_id": 120007,
"text_config": {
"_name_or_path": "",
"add_classification_head": false,
"architectures": [
"UnifiedMoTForConditionalGeneration"
],
"attention_bias": false,
"attention_dropout": 0.0,
"attention_head_dim": 128,
"cla_share_factor": 2,
"class_num": 0,
"dense_list": [
2048,
0
],
"dtype": "bfloat16",
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"im_end_id": 5,
"im_newline_id": 11,
"im_start_id": 4,
"initializer_range": 0.02,
"intermediate_size": 6144,
"mask_init_id": 12,
"max_position_embeddings": 262144,
"mlp_bias": false,
"mlp_g_init_noise_std": 0.0001,
"mlp_g_intermediate_size": 12288,
"model_type": "unified_mot",
"norm_type": "rms",
"num_attention_heads": 16,
"num_hidden_layers": 32,
"num_key_value_heads": 4,
"org_vocab_size": 120818,
"pad_id": 120002,
"pool_type": "last",
"pretraining_tp": 1,
"rms_norm_eps": 1e-05,
"rope_scaling": {
"alpha": 1000.0,
"beta_fast": 32,
"beta_slow": 1,
"factor": 1.0,
"mscale": 1.0,
"mscale_all_dim": 1.0,
"type": "dynamic"
},
"rope_theta": 10000.0,
"sep_token_id": 120007,
"text_end_id": 7,
"text_start_id": 6,
"use_cache": true,
"use_cla": false,
"use_moe": false,
"use_qk_norm": true,
"use_rotary_pos_emb": true,
"use_varlen_flash_attn": true,
"vision_full_attention": false,
"vocab_size": 120818
},
"text_end_id": 7,
"text_loss_weight": 1.0,
"text_start_id": 6,
"timestep_shift": 1.0,
"transformers_version": "4.57.0",
"use_cache": true,
"use_cla": false,
"use_qk_norm": true,
"use_rotary_pos_emb": true,
"vae_image_downsample": 16,
"vae_z_channels": 16,
"video_end_token_id": 120123,
"video_start_token_id": 120122,
"vision_config": {
"anyres_vit_max_image_size": 2048,
"attention_dropout": 0.0,
"cat_extra_token": 1,
"dtype": "bfloat16",
"hidden_act": "gelu",
"hidden_size": 1152,
"img_max_token_num": 4096,
"intermediate_size": 4304,
"interpolate_mode": "bilinear",
"learnable_mlp_pooling_size": 0,
"max_image_size": 2048,
"max_vit_seq_len": 16384,
"min_image_size": 512,
"model_type": "hunyuan_vl_mot",
"num_attention_heads": 16,
"num_channels": 3,
"num_hidden_layers": 27,
"num_key_value_heads": 16,
"out_hidden_size": 4096,
"patch_size": 16,
"perceive_post_norm": true,
"perceive_pre_norm": true,
"remove_prenorm": true,
"resize_resolution": 2048,
"rms_norm_eps": 1e-05,
"spatial_merge_size": 2,
"spatial_patch_size": 1,
"temporal_patch_size": 1,
"text_hidden_size": 2048,
"video_max_image_size": 768,
"video_min_image_size": 256,
"vision_full_attention": false
},
"vocab_size": 120818
}
|