qwen3¶
qwen3
¶
Qwen3 (Qwen3ForCausalLM).
Llama's tree and Llama's block: model.{embed_tokens, layers[i].{input_layernorm,
self_attn, post_attention_layernorm, mlp}, norm} and lm_head, the residual
added in the block, attention through the shared eager forward. q_norm / k_norm sit inside the attention; head_dim is not hidden // heads.