MiniCPM5-2B-DFlash2 / config.json
applepie69's picture
DFlash2 drafter for openbmb/MiniCPM5-2B (overall 1.091x, coding 1.104x, agentic 1.095x, 1985 steps)
4671887 verified
Raw History Blame Contribute Delete
1.23 kB
{
"architectures": [
"DFlash2DraftModel"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": 0,
"dflash_config": {
"block_size": 8,
"conv_group_size": 16,
"conv_kernel_size": 2,
"mask_token_id": 75982,
"selector_rank": 256,
"selector_top_k": 16,
"target_layer_ids": [
1,
10,
20,
30,
39
]
},
"dtype": "bfloat16",
"eos_token_id": [
1,
130073
],
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 6144,
"is_causal": false,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 131072,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 16,
"num_hidden_layers": 5,
"num_key_value_heads": 2,
"num_target_layers": 42,
"pad_token_id": 1,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 5000000,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": false,
"transformers_version": "5.20.2",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 130560
}