{ "architectures": [ "Llama4ForCausalLM" ], "attention_bias": false, "attention_chunk_size": 8192, "attention_dropout": 0.0, "attn_scale": 0.1, "attn_temperature_tuning": true, "bos_token_id": 1, "dtype": "float32", "eos_token_id": 2, "floor_scale": 8192, "head_dim": 128, "hidden_act": "silu", "hidden_size": 384, "initializer_range": 0.02, "interleave_moe_layer_step": 1, "intermediate_size": 768, "intermediate_size_mlp": 1024, "layer_types": [ "chunked_attention", "chunked_attention", "chunked_attention", "full_attention", "chunked_attention", "chunked_attention", "chunked_attention", "full_attention", "chunked_attention", "chunked_attention", "chunked_attention", "full_attention", "chunked_attention", "chunked_attention", "chunked_attention", "full_attention" ], "max_position_embeddings": 1024, "model_type": "llama4_text", "moe_layers": [ 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ], "no_rope_layers": [ 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 0 ], "num_attention_heads": 6, "num_experts_per_tok": 1, "num_hidden_layers": 16, "num_key_value_heads": 2, "num_local_experts": 4, "output_router_logits": false, "pad_token_id": null, "rms_norm_eps": 1e-05, "rope_parameters": { "rope_theta": 500000.0, "rope_type": "default" }, "router_aux_loss_coef": 0.001, "router_jitter_noise": 0.0, "sliding_window": 512, "tie_word_embeddings": false, "transformers_version": "5.0.0", "use_cache": false, "use_qk_norm": true, "vocab_size": 202048 }