loopmm-base / config.json
MostLime's picture
Upload base_early
029807d verified
Raw History Blame Contribute Delete
1.17 kB
{
"architectures": [
"LoopMMForCausalLM"
],
"model_type": "loopmm",
"auto_map": {
"AutoConfig": "modeling_loopmm.LoopMMHFConfig",
"AutoModelForCausalLM": "modeling_loopmm.LoopMMForCausalLM"
},
"vocab_size": 65536,
"hidden_size": 640,
"layer_types": [
"conv",
"conv",
"full",
"conv",
"swa",
"conv",
"full",
"conv",
"swa",
"conv",
"full",
"conv",
"swa",
"conv",
"full",
"conv",
"swa",
"conv",
"full",
"conv",
"swa",
"conv",
"full",
"conv"
],
"num_attention_heads": 5,
"num_key_value_heads": 1,
"head_dim": 128,
"intermediate_size": 2432,
"conv_kernel": 7,
"sliding_window": 256,
"global_rope_theta": 1000000.0,
"global_partial_rotary_factor": 0.5,
"swa_rope_theta": 10000.0,
"rms_norm_eps": 1e-05,
"prelude_layers": 6,
"core_layers": 12,
"num_loops": 3,
"message_mode": "start",
"gate_rank": 64,
"attnres_block": 6,
"patch_size": 32,
"max_grid": 64,
"image_bidirectional": true,
"attention_sink": true,
"max_image_tokens": 256,
"bos_token_id": 1,
"tie_word_embeddings": true,
"torch_dtype": "float32"
}