| { | |
| "architectures": [ | |
| "DFlashDraftModel" | |
| ], | |
| "model_type": "qwen3", | |
| "hidden_size": 5120, | |
| "intermediate_size": 13824, | |
| "num_hidden_layers": 8, | |
| "num_attention_heads": 40, | |
| "num_key_value_heads": 8, | |
| "head_dim": 128, | |
| "hidden_act": "silu", | |
| "rms_norm_eps": 1e-06, | |
| "attention_bias": false, | |
| "vocab_size": 129280, | |
| "max_position_embeddings": 65536, | |
| "rope_theta": 500000.0, | |
| "rope_scaling": null, | |
| "sliding_window": 512, | |
| "layer_types": [ | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention", | |
| "sliding_attention" | |
| ], | |
| "block_size": 11, | |
| "num_target_layers": 64, | |
| "target_hidden_size": 5120, | |
| "torch_dtype": "bfloat16", | |
| "tie_word_embeddings": false, | |
| "dflash_config": { | |
| "mask_token_id": 128000, | |
| "target_layer_ids": [ | |
| 1, | |
| 10, | |
| 18, | |
| 27, | |
| 35, | |
| 44, | |
| 52, | |
| 61 | |
| ], | |
| "num_target_layers": 64, | |
| "block_size": 11, | |
| "use_attention_sink": true, | |
| "sliding_window": 512 | |
| } | |
| } |