Equation 16 · Part 8 · How Llama's Architecture Actually Works, Generation by Generation
multiplication
multiplication
What this part means
Multiply the quantities on either side.
Its job in the formula
Multiply the quantities on either side.
Full expression→multiplication→Article meaning
The passage around this formula
Shazeer’s paper on gated linear unit variants tested several replacements for the standard ReLU or GELU feed-forward block, in which two linear projections are combined so that one, passed through a nonlinearity, gates the other [ 6 ] . The variant that stuck across the field, and that Llama adopts in every generation, uses the Swish (SiLU) nonlinearity as the gate: . Two independent linear projections of the residual stream are formed; one is passed through the gate and multiplied element-wise ( ) against the other; the product is projected back down. Shazeer’s own results reported the gated variants outperforming the plain ReLU feed-forward block across the…
Learn the underlying idea
Multiplication scales one quantity by another. A dot, a cross, or adjacent symbols can indicate a product.
Open the illustrated multiplication: combining factors guide →
Sources cited in the surrounding passage
These citations provide research context; check each source for the exact claim it supports.