80 lines
1.9 KiB
JSON
80 lines
1.9 KiB
JSON
{
|
|
"aha_ce_weight": 1.0,
|
|
"aha_distill_weight": 0.0,
|
|
"aha_force_gate_value": null,
|
|
"aha_gate_init_full_prob": 0.9,
|
|
"aha_gate_target": 0.7,
|
|
"aha_hotstart_source": "/workspace",
|
|
"aha_lambda": 0.0003,
|
|
"aha_local_kind": "sink_recent",
|
|
"aha_mode": "dynamic",
|
|
"aha_reg_weight": -1.0,
|
|
"aha_router_granularity": "token",
|
|
"aha_window_size": 128,
|
|
"architectures": [
|
|
"AHAQwen3ForCausalLM"
|
|
],
|
|
"attention_bias": true,
|
|
"attention_dropout": 0.0,
|
|
"auto_map": {
|
|
"AutoConfig": "modeling_aha_qwen3.AHAQwen3Config",
|
|
"AutoModelForCausalLM": "modeling_aha_qwen3.AHAQwen3ForCausalLM"
|
|
},
|
|
"bos_token_id": 151643,
|
|
"duo_alpha_init": 1.0,
|
|
"duo_recent_size": 256,
|
|
"duo_sink_size": 64,
|
|
"eos_token_id": 151645,
|
|
"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",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention",
|
|
"full_attention"
|
|
],
|
|
"max_position_embeddings": 40960,
|
|
"max_window_layers": 28,
|
|
"model_type": "aha_qwen3",
|
|
"num_attention_heads": 16,
|
|
"num_hidden_layers": 28,
|
|
"num_key_value_heads": 8,
|
|
"rms_norm_eps": 1e-06,
|
|
"rope_scaling": null,
|
|
"rope_theta": 1000000,
|
|
"sliding_window": null,
|
|
"tie_word_embeddings": false,
|
|
"torch_dtype": "float32",
|
|
"transformers_version": "4.54.0",
|
|
"use_cache": false,
|
|
"use_sliding_window": false,
|
|
"vocab_size": 151936
|
|
}
|