Safetensors
speculative-decoding
dflash
dflash2
speculators
vllm
custom_code
File size: 2,039 Bytes
e8177a5
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
  "architectures": [
    "DFlash2DraftModel"
  ],
  "auto_map": {
    "": "config.DFlash2SpeculatorConfig"
  },
  "aux_hidden_state_layer_ids": [
    42,
    46,
    50,
    54,
    58
  ],
  "block_size": 8,
  "conv_group_size": 16,
  "conv_kernel_size": 2,
  "draft_vocab_size": 202048,
  "dtype": "bfloat16",
  "mask_token_id": 201818,
  "sample_from_anchor": false,
  "selector_rank": 256,
  "selector_top_k": 16,
  "sliding_window_non_causal": true,
  "speculators_config": {
    "algorithm": "dflash2",
    "default_proposal_method": "greedy",
    "proposal_methods": [
      {
        "accept_tolerance": 0.0,
        "proposal_type": "greedy",
        "speculative_tokens": 7,
        "verifier_accept_k": 1
      }
    ],
    "verifier": {
      "architectures": [
        "MuseSparkForConditionalGeneration"
      ],
      "name_or_path": "meta-models/Muse-Spark-Open-816B-A42B-NVFP4"
    }
  },
  "speculators_model_type": "dflash2",
  "speculators_version": "0.10.0a18",
  "target_hidden_size": null,
  "tie_word_embeddings": false,
  "transformer_layer_config": {
    "attention_bias": false,
    "attention_dropout": 0.0,
    "bos_token_id": null,
    "eos_token_id": null,
    "head_dim": 64,
    "hidden_act": "silu",
    "hidden_size": 8192,
    "initializer_range": 0.02,
    "intermediate_size": 16384,
    "layer_types": [
      "sliding_attention",
      "sliding_attention",
      "sliding_attention",
      "sliding_attention",
      "sliding_attention"
    ],
    "max_position_embeddings": 1048576,
    "max_window_layers": 28,
    "model_type": "qwen3",
    "num_attention_heads": 128,
    "num_hidden_layers": 5,
    "num_key_value_heads": 16,
    "pad_token_id": null,
    "rms_norm_eps": 1e-05,
    "rope_parameters": {
      "rope_theta": 500000.0,
      "rope_type": "default"
    },
    "sliding_window": 2048,
    "tie_word_embeddings": false,
    "transformers_version": "5.20.2",
    "use_cache": true,
    "use_sliding_window": true,
    "vocab_size": 202048
  },
  "transformers_version": "5.20.2"
}