tiny-BeamForCausalLM / config.json
qgallouedec's picture
qgallouedec HF Staff
Upload BeamForCausalLM
b39bd41 verified
Raw History Blame Contribute Delete
1.21 kB
{
"architectures": [
"BeamForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"bos_token_id": null,
"dtype": "bfloat16",
"eos_token_id": null,
"final_logit_softcapping": 30.0,
"head_dim": 16,
"hidden_act": "silu",
"hidden_size": 16,
"initializer_range": 0.02,
"intermediate_size": 32,
"layer_types": [
"sliding_attention",
"sliding_attention",
"sliding_attention",
"full_attention"
],
"max_position_embeddings": 1048576,
"mlp_layer_types": [
"dense",
"sparse",
"sparse",
"sparse"
],
"model_type": "beam",
"moe_intermediate_size": 8,
"n_group": 2,
"norm_topk_prob": true,
"num_attention_heads": 4,
"num_experts": 8,
"num_experts_per_tok": 2,
"num_hidden_layers": 4,
"num_key_value_heads": 2,
"output_router_logits": false,
"pad_token_id": null,
"rms_norm_eps": 1e-06,
"rope_parameters": {
"full_attention": null,
"sliding_attention": {
"rope_theta": 10000.0,
"rope_type": "default"
}
},
"routed_scaling_factor": 2.5,
"sliding_window": 4,
"tie_word_embeddings": false,
"topk_group": 1,
"transformers_version": "5.20.1",
"use_cache": true,
"vocab_size": 151936
}