File size: 1,260 Bytes
210262d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 | {
"architectures": [
"DFlash2DraftModel"
],
"model_type": "qwen3",
"block_size": 8,
"dflash_config": {
"mask_token_id": 201817,
"target_layer_ids": [
3,
19,
31,
47,
59
],
"use_swa": true,
"swa_window_size": 2048,
"causal": false,
"projector_type": "dflash2",
"conv_kernel_size": 2,
"conv_group_size": 16,
"selector_rank": 256,
"selector_top_k": 16,
"block_size": 8,
"output_multiplier": 0.17677669529663687,
"final_logit_softcapping": 20.0
},
"hidden_size": 8192,
"num_hidden_layers": 5,
"num_attention_heads": 128,
"num_key_value_heads": 16,
"head_dim": 64,
"intermediate_size": 24576,
"hidden_act": "silu",
"rms_norm_eps": 1e-06,
"vocab_size": 202048,
"max_position_embeddings": 1048576,
"initializer_range": 0.02,
"attention_bias": false,
"attention_dropout": 0.0,
"rope_theta": 500000.0,
"rope_scaling": null,
"tie_word_embeddings": false,
"torch_dtype": "bfloat16",
"num_target_layers": 62,
"layer_types": [
"sliding_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention"
],
"sliding_window": 2048,
"use_sliding_window": true,
"is_causal": false
} |