Ergo-dspark / config.json
younggyo-amz's picture jfchiu's picture haoliu's picture jfc4050's picture
Amazon Ergo DSpark release
dd6ea89
Raw History Blame Contribute Delete
1.57 kB
{
"architectures": [
"DSparkDraftModel"
],
"attention_bias": false,
"attention_dropout": 0.0,
"auto_map": {
"AutoModel": "dspark.DSparkDraftModel"
},
"block_size": 8,
"bos_token_id": 2,
"confidence_head_with_markov": true,
"dflash_config": {
"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": 4,
"projector_type": "dspark",
"target_layer_ids": [
1,
16,
31,
46,
61
]
},
"draft_vocab_size": 262144,
"dtype": "bfloat16",
"enable_confidence_head": true,
"eos_token_id": 1,
"head_dim": 128,
"hidden_act": "silu",
"hidden_size": 8192,
"initializer_range": 0.02,
"intermediate_size": 16384,
"layer_types": [
"sliding_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention",
"sliding_attention"
],
"markov_head_type": "vanilla",
"markov_rank": 256,
"max_position_embeddings": 1048576,
"max_window_layers": 5,
"model_type": "qwen3",
"num_attention_heads": 64,
"num_hidden_layers": 5,
"num_key_value_heads": 8,
"num_target_layers": 64,
"pad_token_id": 0,
"rms_norm_eps": 1e-12,
"rope_parameters": {
"rope_theta": 1000000,
"rope_type": "default"
},
"rope_theta": 1000000,
"sliding_window": 32768,
"tie_word_embeddings": false,
"transformers_version": "5.12.1",
"use_cache": true,
"use_sliding_window": true,
"vocab_size": 262144
}