Download config.json from AngelSlim/Hy4-flash-DFly2-B6: direct link, hf CLI and curl.
- Browser
- Download file 1.78 kB
-
https://huggingface.co/AngelSlim/Hy4-flash-DFly2-B6/resolve/main/config.json
- Command line
-
hf download hf://AngelSlim/Hy4-flash-DFly2-B6/config.json
-
curl -L -o config.json https://huggingface.co/AngelSlim/Hy4-flash-DFly2-B6/resolve/main/config.json
1.78 kB
| { | |
| "architectures": [ | |
| "HY4DFlyDraftModel" | |
| ], | |
| "model_type": "hy4_angelspec_draft", | |
| "dtype": "bfloat16", | |
| "block_size": 6, | |
| "sample_from_anchor": false, | |
| "vocab_size": 120832, | |
| "hidden_size": 3072, | |
| "num_hidden_layers": 3, | |
| "num_attention_heads": 32, | |
| "rms_norm_eps": 1e-05, | |
| "hidden_act": "silu", | |
| "max_position_embeddings": 1048576, | |
| "intermediate_size": 14336, | |
| "q_lora_rank": 1024, | |
| "kv_lora_rank": 512, | |
| "qk_nope_head_dim": 192, | |
| "qk_rope_head_dim": 64, | |
| "v_head_dim": 256, | |
| "gated_mla": true, | |
| "gating_type": "elementwise", | |
| "learnable_sink": true, | |
| "attn_post_proj_norm": true, | |
| "draft_mlp_type": "moe", | |
| "num_experts": 128, | |
| "num_experts_per_tok": 3, | |
| "moe_intermediate_size": 1536, | |
| "routed_expert_hidden_size": 1536, | |
| "num_shared_experts": 1, | |
| "route_norm": true, | |
| "router_scaling_factor": 3.998, | |
| "swiglu_limit": 10.0, | |
| "sandwich_norm": true, | |
| "num_target_layers": 3, | |
| "target_hidden_size": 3072, | |
| "target_num_hidden_layers": 42, | |
| "target_layer_ids": [ | |
| 32, | |
| 36, | |
| 40 | |
| ], | |
| "mask_token_id": 120009, | |
| "bos_token_id": 120000, | |
| "eos_token_id": 120025, | |
| "pad_token_id": 120002, | |
| "rope_parameters": { | |
| "mrope_interleaved": true, | |
| "mrope_section": [ | |
| 12, | |
| 10, | |
| 10 | |
| ], | |
| "rope_theta": 10000000.0, | |
| "rope_type": "default" | |
| }, | |
| "mtp_fusion": "slot0", | |
| "enable_hidden_correction": true, | |
| "hidden_correction_intermediate_size": 3072, | |
| "target_kv_layers": [ | |
| 33, | |
| 37, | |
| 41 | |
| ], | |
| "target_index_layer": [ | |
| 33, | |
| 37, | |
| 41 | |
| ], | |
| "target_index_topk": 2048, | |
| "attentive_correction": true, | |
| "attentive_correction_source_layer": -1, | |
| "attentive_correction_block_keys": true, | |
| "attentive_correction_block_mode": "gated", | |
| "attentive_correction_block_kv_in": "hidden_embed" | |
| } | |