File size: 1,604 Bytes
edfa72c
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
{
  "transformers_version": "5.8.1",
  "architectures": [
    "DFlash2DraftModel"
  ],
  "output_hidden_states": false,
  "return_dict": true,
  "dtype": "bfloat16",
  "chunk_size_feed_forward": 0,
  "is_encoder_decoder": false,
  "id2label": {
    "0": "LABEL_0",
    "1": "LABEL_1"
  },
  "label2id": {
    "LABEL_0": 0,
    "LABEL_1": 1
  },
  "problem_type": null,
  "vocab_size": 248320,
  "hidden_size": 2048,
  "intermediate_size": 8192,
  "num_hidden_layers": 5,
  "num_attention_heads": 16,
  "num_key_value_heads": 2,
  "head_dim": 256,
  "hidden_act": "silu",
  "max_position_embeddings": 262144,
  "initializer_range": 0.02,
  "rms_norm_eps": 1e-06,
  "use_cache": true,
  "tie_word_embeddings": false,
  "rope_parameters": {
    "rope_theta": 1000000,
    "rope_type": "default"
  },
  "attention_bias": false,
  "use_sliding_window": false,
  "sliding_window": null,
  "max_window_layers": 5,
  "layer_types": [
    "full_attention",
    "full_attention",
    "full_attention",
    "full_attention",
    "full_attention"
  ],
  "attention_dropout": 0.0,
  "pad_token_id": null,
  "bos_token_id": null,
  "eos_token_id": 248044,
  "_name_or_path": "output/dflash2/draft_config.json",
  "model_type": "qwen3",
  "auto_map": {
    "AutoModel": "dflash.DFlash2DraftModel"
  },
  "block_size": 8,
  "dflash_config": {
    "mask_token_id": 248043,
    "target_layer_ids": [
      1,
      10,
      19,
      28,
      37
    ],
    "conv_kernel_size": 2,
    "conv_group_size": 16,
    "selector_rank": 256,
    "selector_top_k": 16
  },
  "num_target_layers": 40,
  "output_attentions": false
}