{ "hidden_size": 2560, "intermediate_size": 8192, "hidden_act": "silu", "vocab_size": 128256, "max_position_embeddings": 1048576, "rms_norm_eps": 1e-06, "attention_bias": false, "num_attention_heads": 32, "num_key_value_heads": 32, "qk_nope_head_dim": 128, "qk_rope_head_dim": 64, "v_head_dim": 128, "kv_lora_rank": 512, "q_lora_rank": 1536, "architectures": [ "GigaChat4DFlash2DraftModel" ], "model_type": "gigachat4", "torch_dtype": "bfloat16", "num_hidden_layers": 5, "norm_type": "GatedNorm", "layernorm_type": "pre_post", "gated_attention": true, "use_mla_scaling_factor": true, "rope_parameters": { "beta_fast": 32, "beta_slow": 1, "factor": 32.0, "mscale": 1.0, "mscale_all_dim": 1.0, "original_max_position_embeddings": 32768, "rope_type": "yarn", "rope_theta": 100000.0 }, "dflash_config": { "num_target_layers": 32, "target_layer_ids": [ 1, 8, 15, 22, 29 ], "block_size": 8, "mask_token_id": 128016, "context_input_norm": "none", "shift_label": true, "conv_kernel_size": 2, "conv_group_size": 16, "selector_rank": 256, "selector_top_k": 16, "attention_mode": "mla", "final_logit_softcapping": 30.0 }, "layernorm_gating_weight": 2.0, "swiglu_limit": 10.0 }