starcoder2¶
starcoder2
¶
StarCoder2 (Starcoder2ForCausalLM).
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.
The norms are nn.LayerNorm; the MLP is c_fc/c_proj with no gate; the
attention and MLP outputs pass a residual dropout inside their module, the
identity in eval.