Qwen3-8B-DCOCO / config.json
Tal-Gonen's picture
Add DCOCO drafter for Qwen3-8B (anchor-on, block 15, DCOCODraftModel)
dcc8668 verified
Raw History Blame Contribute Delete
1.32 kB
{
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"eos_token_id": null,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 4096,
"initializer_range": 0.02,
"intermediate_size": 12288,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 40960,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 32,
"num_hidden_layers": 5,
"num_key_value_heads": 8,
"pad_token_id": null,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 1000000,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": false,
"transformers_version": "5.15.0",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 151936,
"architectures": [
"DCOCODraftModel"
],
"draft_vocab_size": 151936,
"eagle_aux_hidden_state_layer_ids": [
1,
9,
17,
25,
33
],
"dflash_config": {
"mask_token_id": 151669,
"target_layer_ids": [
0,
8,
16,
24,
32
],
"sample_from_anchor": true,
"causal": false,
"block_size": 15,
"dcoco_candidate_topk": 16,
"dcoco_emb_dim": 128,
"dcoco_state_dim": 128,
"dcoco_mlp_dim": 256
}
}