MiniCPM5-2B-DSpark / config.json
BigDong's picture
upload MiniCPM5-2B-DSpark
d53583e verified
Raw
History Blame Contribute Delete
1.41 kB
{
"architectures": [
"Qwen3DSparkModel"
],
"attention_bias": false,
"attention_dropout": 0.0,
"auto_map": {
"AutoModel": "dspark.DSparkDraftModel"
},
"block_size": 7,
"bos_token_id": 0,
"draft_vocab_size": 130560,
"dtype": "bfloat16",
"eos_token_id": [
1,
130073
],
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 2048,
"initializer_range": 0.02,
"intermediate_size": 6144,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 131072,
"max_window_layers": 5,
"mlp_bias": false,
"model_type": "qwen3",
"num_attention_heads": 16,
"num_hidden_layers": 5,
"num_key_value_heads": 2,
"num_target_layers": 42,
"pad_token_id": 1,
"pretraining_tp": 1,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"rope_theta": 5000000,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": false,
"transformers_version": "5.12.1",
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 130560,
"attention_mode": "gqa",
"confidence_head_alpha": 1.0,
"confidence_head_with_markov": true,
"enable_confidence_head": true,
"markov_head_type": "vanilla",
"markov_rank": 256,
"mask_token_id": 75982,
"projector_type": "dspark",
"target_layer_ids": [
1,
10,
20,
30,
39
]
}