File size: 1,674 Bytes
3d2885d
027d461
 
3d2885d
027d461
 
 
 
 
 
 
 
 
3d2885d
027d461
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
57
58
59
60
61
62
63
64
65
66
67
{
    "architectures": [
        "DFlashDraftModel"
    ],
    "model_type": "qwen3",
    "hidden_size": 4096,
    "intermediate_size": 16384,
    "num_hidden_layers": 5,
    "num_attention_heads": 64,
    "num_key_value_heads": 8,
    "head_dim": 128,
    "v_head_dim": 128,
    "partial_rotary_factor": 0.5,
    "block_size": 8,
    "dflash_config": {
        "target_layer_ids": [
            0,
            11,
            23,
            35,
            47
        ],
        "mask_token_id": 151675,
        "num_anchors": 4096,
        "block_size": 8,
        "loss_decay_gamma": 7.0,
        "attention_value_scale": 0.612,
        "attention_sink_bias": true,
        "tap_shift": 0,
        "bidirectional_block": true
    },
    "layer_types": [
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention",
        "sliding_attention"
    ],
    "sliding_window": 1024,
    "use_sliding_window": true,
    "is_causal": false,
    "num_target_layers": 48,
    "target_hidden_size": 4096,
    "vocab_size": 152576,
    "max_position_embeddings": 1048576,
    "rope_theta": 10000.0,
    "rms_norm_eps": 1e-06,
    "torch_dtype": "bfloat16",
    "hidden_act": "silu",
    "attention_bias": false,
    "attention_dropout": 0.0,
    "add_swa_attention_sink_bias": true,
    "tie_word_embeddings": false,
    "use_cache": true,
    "quantization_config": {
        "quant_method": "exl3",
        "version": "1.5.1",
        "bits": 4.0,
        "head_bits": 6,
        "calibration": {
            "rows": 250,
            "cols": 2048
        },
        "out_scales": "always",
        "codebook": "mul1"
    }
}