mgoin's picture
Upload config.json with huggingface_hub
7f7543b verified
Raw
History Blame Contribute Delete
1.97 kB
{
"architectures": [
"DSparkDraftModel"
],
"auto_map": {
"": "config.DSparkSpeculatorConfig"
},
"aux_hidden_state_layer_ids": [
8,
23,
39,
55,
70
],
"block_size": 8,
"confidence_head_with_markov": true,
"draft_vocab_size": 154880,
"dtype": "bfloat16",
"enable_confidence_head": true,
"markov_head_type": "vanilla",
"markov_rank": 256,
"mask_token_id": 154856,
"max_anchors": 1024,
"sliding_window_non_causal": false,
"speculators_config": {
"algorithm": "dspark",
"default_proposal_method": "greedy",
"proposal_methods": [
{
"accept_tolerance": 0.0,
"proposal_type": "greedy",
"speculative_tokens": 7,
"verifier_accept_k": 1
}
],
"verifier": {
"architectures": [
"GlmMoeDsaForCausalLM"
],
"name_or_path": "zai-org/GLM-5.2-FP8"
}
},
"speculators_model_type": "dspark",
"speculators_version": "0.5.0.dev38",
"target_hidden_size": null,
"tie_word_embeddings": false,
"transformer_layer_config": {
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"eos_token_id": null,
"head_dim": 64,
"hidden_act": "silu",
"hidden_size": 6144,
"initializer_range": 0.02,
"intermediate_size": 12288,
"layer_types": [
"full_attention",
"full_attention",
"full_attention",
"full_attention",
"full_attention"
],
"max_position_embeddings": 1048576,
"max_window_layers": 28,
"model_type": "qwen3",
"num_attention_heads": 64,
"num_hidden_layers": 5,
"num_key_value_heads": 64,
"pad_token_id": null,
"rms_norm_eps": 1e-05,
"rope_parameters": {
"rope_theta": 8000000,
"rope_type": "default"
},
"sliding_window": null,
"tie_word_embeddings": false,
"use_cache": true,
"use_sliding_window": false,
"vocab_size": 154880
},
"transformers_version": "5.12.1"
}