Add files using upload-large-folder tool
Browse files
dflash-7b-draft/config.json
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"architectures": [
|
| 3 |
+
"DFlashDraftModel"
|
| 4 |
+
],
|
| 5 |
+
"model_type": "qwen3",
|
| 6 |
+
"hidden_size": 4096,
|
| 7 |
+
"intermediate_size": 11008,
|
| 8 |
+
"num_hidden_layers": 8,
|
| 9 |
+
"num_attention_heads": 32,
|
| 10 |
+
"num_key_value_heads": 8,
|
| 11 |
+
"head_dim": 128,
|
| 12 |
+
"hidden_act": "silu",
|
| 13 |
+
"rms_norm_eps": 1e-06,
|
| 14 |
+
"attention_bias": false,
|
| 15 |
+
"vocab_size": 129280,
|
| 16 |
+
"max_position_embeddings": 65536,
|
| 17 |
+
"rope_theta": 500000,
|
| 18 |
+
"rope_scaling": null,
|
| 19 |
+
"sliding_window": 128,
|
| 20 |
+
"layer_types": [
|
| 21 |
+
"sliding_attention",
|
| 22 |
+
"sliding_attention",
|
| 23 |
+
"sliding_attention",
|
| 24 |
+
"sliding_attention",
|
| 25 |
+
"sliding_attention",
|
| 26 |
+
"sliding_attention",
|
| 27 |
+
"sliding_attention",
|
| 28 |
+
"sliding_attention"
|
| 29 |
+
],
|
| 30 |
+
"block_size": 11,
|
| 31 |
+
"num_target_layers": 32,
|
| 32 |
+
"torch_dtype": "bfloat16",
|
| 33 |
+
"tie_word_embeddings": false,
|
| 34 |
+
"dflash_config": {
|
| 35 |
+
"mask_token_id": 128000,
|
| 36 |
+
"target_layer_ids": [
|
| 37 |
+
1,
|
| 38 |
+
5,
|
| 39 |
+
9,
|
| 40 |
+
13,
|
| 41 |
+
17,
|
| 42 |
+
21,
|
| 43 |
+
25,
|
| 44 |
+
29
|
| 45 |
+
],
|
| 46 |
+
"num_target_layers": 32,
|
| 47 |
+
"block_size": 11,
|
| 48 |
+
"use_attention_sink": true,
|
| 49 |
+
"sliding_window": 128
|
| 50 |
+
}
|
| 51 |
+
}
|
dflash-7b-draft/model-00001-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:af9743c058a5cec811bc23a9f96a28792c602bcdc3618257a26223f4a45ba0cb
|
| 3 |
+
size 1157692464
|
dflash-7b-draft/model-00002-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:1d0fa8fd2c61f44446c24a500ab64222dc64596c3408b473c3f99e61cb7992ed
|
| 3 |
+
size 1195487976
|
dflash-7b-draft/model-00003-of-00003.safetensors
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9c7e0d50e605bfe099243b5281a9ff6c8666167ea06fb95cfc98d547cdab66c5
|
| 3 |
+
size 750853312
|
dflash-7b-draft/model.safetensors.index.json
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"metadata": {
|
| 3 |
+
"total_size": 3104023040
|
| 4 |
+
},
|
| 5 |
+
"weight_map": {
|
| 6 |
+
"fc.weight": "model-00001-of-00003.safetensors",
|
| 7 |
+
"hidden_norm.weight": "model-00001-of-00003.safetensors",
|
| 8 |
+
"layers.0.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
| 9 |
+
"layers.0.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
| 10 |
+
"layers.0.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
| 11 |
+
"layers.0.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 12 |
+
"layers.0.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 13 |
+
"layers.0.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
|
| 14 |
+
"layers.0.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 15 |
+
"layers.0.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
| 16 |
+
"layers.0.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
|
| 17 |
+
"layers.0.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 18 |
+
"layers.0.self_attn.sinks": "model-00001-of-00003.safetensors",
|
| 19 |
+
"layers.0.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 20 |
+
"layers.1.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
| 21 |
+
"layers.1.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
| 22 |
+
"layers.1.mlp.up_proj.weight": "model-00001-of-00003.safetensors",
|
| 23 |
+
"layers.1.post_attention_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 24 |
+
"layers.1.post_feedforward_layernorm.weight": "model-00001-of-00003.safetensors",
|
| 25 |
+
"layers.1.self_attn.k_norm.weight": "model-00001-of-00003.safetensors",
|
| 26 |
+
"layers.1.self_attn.k_proj.weight": "model-00001-of-00003.safetensors",
|
| 27 |
+
"layers.1.self_attn.o_proj.weight": "model-00001-of-00003.safetensors",
|
| 28 |
+
"layers.1.self_attn.q_norm.weight": "model-00001-of-00003.safetensors",
|
| 29 |
+
"layers.1.self_attn.q_proj.weight": "model-00001-of-00003.safetensors",
|
| 30 |
+
"layers.1.self_attn.sinks": "model-00001-of-00003.safetensors",
|
| 31 |
+
"layers.1.self_attn.v_proj.weight": "model-00001-of-00003.safetensors",
|
| 32 |
+
"layers.2.mlp.down_proj.weight": "model-00001-of-00003.safetensors",
|
| 33 |
+
"layers.2.mlp.gate_proj.weight": "model-00001-of-00003.safetensors",
|
| 34 |
+
"layers.2.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
| 35 |
+
"layers.2.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 36 |
+
"layers.2.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 37 |
+
"layers.2.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
|
| 38 |
+
"layers.2.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 39 |
+
"layers.2.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
| 40 |
+
"layers.2.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
|
| 41 |
+
"layers.2.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 42 |
+
"layers.2.self_attn.sinks": "model-00002-of-00003.safetensors",
|
| 43 |
+
"layers.2.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 44 |
+
"layers.3.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
| 45 |
+
"layers.3.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
| 46 |
+
"layers.3.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
| 47 |
+
"layers.3.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 48 |
+
"layers.3.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 49 |
+
"layers.3.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
|
| 50 |
+
"layers.3.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 51 |
+
"layers.3.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
| 52 |
+
"layers.3.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
|
| 53 |
+
"layers.3.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 54 |
+
"layers.3.self_attn.sinks": "model-00002-of-00003.safetensors",
|
| 55 |
+
"layers.3.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 56 |
+
"layers.4.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
| 57 |
+
"layers.4.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
| 58 |
+
"layers.4.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
| 59 |
+
"layers.4.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 60 |
+
"layers.4.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 61 |
+
"layers.4.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
|
| 62 |
+
"layers.4.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 63 |
+
"layers.4.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
| 64 |
+
"layers.4.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
|
| 65 |
+
"layers.4.self_attn.q_proj.weight": "model-00002-of-00003.safetensors",
|
| 66 |
+
"layers.4.self_attn.sinks": "model-00002-of-00003.safetensors",
|
| 67 |
+
"layers.4.self_attn.v_proj.weight": "model-00002-of-00003.safetensors",
|
| 68 |
+
"layers.5.mlp.down_proj.weight": "model-00002-of-00003.safetensors",
|
| 69 |
+
"layers.5.mlp.gate_proj.weight": "model-00002-of-00003.safetensors",
|
| 70 |
+
"layers.5.mlp.up_proj.weight": "model-00002-of-00003.safetensors",
|
| 71 |
+
"layers.5.post_attention_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 72 |
+
"layers.5.post_feedforward_layernorm.weight": "model-00002-of-00003.safetensors",
|
| 73 |
+
"layers.5.self_attn.k_norm.weight": "model-00002-of-00003.safetensors",
|
| 74 |
+
"layers.5.self_attn.k_proj.weight": "model-00002-of-00003.safetensors",
|
| 75 |
+
"layers.5.self_attn.o_proj.weight": "model-00002-of-00003.safetensors",
|
| 76 |
+
"layers.5.self_attn.q_norm.weight": "model-00002-of-00003.safetensors",
|
| 77 |
+
"layers.5.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
| 78 |
+
"layers.5.self_attn.sinks": "model-00003-of-00003.safetensors",
|
| 79 |
+
"layers.5.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
| 80 |
+
"layers.6.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
| 81 |
+
"layers.6.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
| 82 |
+
"layers.6.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
| 83 |
+
"layers.6.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 84 |
+
"layers.6.post_feedforward_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 85 |
+
"layers.6.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
|
| 86 |
+
"layers.6.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
| 87 |
+
"layers.6.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
| 88 |
+
"layers.6.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
|
| 89 |
+
"layers.6.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
| 90 |
+
"layers.6.self_attn.sinks": "model-00003-of-00003.safetensors",
|
| 91 |
+
"layers.6.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
| 92 |
+
"layers.7.mlp.down_proj.weight": "model-00003-of-00003.safetensors",
|
| 93 |
+
"layers.7.mlp.gate_proj.weight": "model-00003-of-00003.safetensors",
|
| 94 |
+
"layers.7.mlp.up_proj.weight": "model-00003-of-00003.safetensors",
|
| 95 |
+
"layers.7.post_attention_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 96 |
+
"layers.7.post_feedforward_layernorm.weight": "model-00003-of-00003.safetensors",
|
| 97 |
+
"layers.7.self_attn.k_norm.weight": "model-00003-of-00003.safetensors",
|
| 98 |
+
"layers.7.self_attn.k_proj.weight": "model-00003-of-00003.safetensors",
|
| 99 |
+
"layers.7.self_attn.o_proj.weight": "model-00003-of-00003.safetensors",
|
| 100 |
+
"layers.7.self_attn.q_norm.weight": "model-00003-of-00003.safetensors",
|
| 101 |
+
"layers.7.self_attn.q_proj.weight": "model-00003-of-00003.safetensors",
|
| 102 |
+
"layers.7.self_attn.sinks": "model-00003-of-00003.safetensors",
|
| 103 |
+
"layers.7.self_attn.v_proj.weight": "model-00003-of-00003.safetensors",
|
| 104 |
+
"mask_embed": "model-00003-of-00003.safetensors",
|
| 105 |
+
"norm.weight": "model-00003-of-00003.safetensors"
|
| 106 |
+
}
|
| 107 |
+
}
|