Xenova's picture
Xenova HF staff
Upload GraniteMoeForCausalLM
071235d verified
{
"architectures": [
"GraniteMoeForCausalLM"
],
"attention_bias": false,
"attention_dropout": 0.0,
"attention_multiplier": 1.0,
"bos_token_id": 1,
"embedding_multiplier": 1.0,
"eos_token_id": 2,
"hidden_act": "silu",
"hidden_size": 32,
"initializer_range": 0.02,
"intermediate_size": 64,
"logits_scaling": 1.0,
"max_position_embeddings": 2048,
"model_type": "granitemoe",
"num_attention_heads": 4,
"num_experts_per_tok": 2,
"num_hidden_layers": 2,
"num_key_value_heads": 4,
"num_local_experts": 8,
"output_router_logits": false,
"pad_token_id": 0,
"residual_multiplier": 1.0,
"rms_norm_eps": 1e-06,
"rope_scaling": null,
"rope_theta": 10000.0,
"router_aux_loss_coef": 0.001,
"tie_word_embeddings": false,
"torch_dtype": "float32",
"transformers_version": "4.46.1",
"use_cache": true,
"vocab_size": 49155
}