the Transformer feed-forward layer
FFN(x)=W2⋅GELU(W1x) holds roughly 2/3 of model parameters (excluding embeddings); SwiGLU is a gated activation:
SwiGLU(x)=(SiLU(xWg))⋅(xWu)Wd with
SiLU(x)=x⋅sigmoid(x) (Swish), shrinking the intermediate width from
4d to
38d (LLaMA-2 7B: hidden 4096 → intermediate 11008).