CuMo-mixtral-8x7b / config.json
jiachenl's picture
Update config.json
4c4e2bd verified
{
"_name_or_path": "cumo-mixtral-8x7b",
"architectures": [
"LlavaMixtralForCausalLM"
],
"attention_dropout": 0.0,
"balance_loss_coef": 0.1,
"bos_token_id": 1,
"clip_smoe": true,
"dropout": false,
"eos_token_id": 2,
"freeze_mm_mlp_adapter": false,
"hidden_act": "silu",
"hidden_size": 4096,
"image_aspect_ratio": "pad",
"initializer_range": 0.02,
"intermediate_size": 14336,
"local_rank": 0,
"max_position_embeddings": 32768,
"mlp_smoe": true,
"mm_hidden_size": 1024,
"mm_patch_merge_type": "flat",
"mm_projector_lr": null,
"mm_projector_type": "smoe_mlp",
"mm_use_im_patch_token": false,
"mm_use_im_start_end": false,
"mm_vision_select_feature": "patch",
"mm_vision_select_layer": -2,
"mm_vision_tower": "openai/clip-vit-large-patch14-336",
"model_type": "llava_mixtral",
"num_attention_heads": 32,
"num_experts": 4,
"num_experts_per_tok": 2,
"num_hidden_layers": 32,
"num_key_value_heads": 8,
"num_layers": 3,
"num_local_experts": 8,
"num_selected": 2,
"output_router_logits": false,
"rms_norm_eps": 1e-05,
"rope_theta": 1000000.0,
"router_aux_loss_coef": 0.02,
"router_z_loss_coef": 0.01,
"scales": [
1,
3
],
"sliding_window": null,
"tie_word_embeddings": false,
"tokenizer_model_max_length": 4096,
"tokenizer_padding_side": "right",
"torch_dtype": "bfloat16",
"training": true,
"transformers_version": "4.37.2",
"tune_mm_mlp_adapter": false,
"use_cache": true,
"use_mm_proj": true,
"vocab_size": 32000
}