Printable reference

Glossary

The vocabulary used consistently across all 23 lessons.

TermWorking meaning in this courseRoPE connection
ScalarOne number, such as an angle or scale.Position \(m\) and frequency \(\theta_i\) are scalars.
VectorAn ordered list of components; geometrically, an arrow.Each query and key is a vector.
Dimension pairTwo adjacent vector components treated as coordinates in one plane.\((q_{2i},q_{2i+1})\) receives one rotation frequency.
MagnitudeThe length \(\lVert\mathbf v\rVert=\sqrt{x^2+y^2}\).A rotation preserves it.
RadianAn angle measured as arc length divided by radius.\(m\theta_i\) is a radian angle.
PhaseAngular location around a cycle.RoPE makes position act as phase.
FrequencyAngle advanced per token in this course.Each pair uses its own \(\theta_i\).
Complex number\(x+iy\), another notation for the point \((x,y)\).A pair can be rotated by multiplication with \(e^{im\theta}\).
Conjugate\(x-iy\), reflection across the real axis.For unit phases, conjugation reverses rotation.
MatrixA rectangular array representing a linear transformation.\(R_m\) rotates every dimension pair.
TransposeSwap rows and columns: \(A^{\mathsf T}\).For a rotation, \(R_m^{\mathsf T}=R_{-m}=R_m^{-1}\).
Dot product\(\mathbf q^{\mathsf T}\mathbf k=\sum_i q_i k_i\), a signed alignment score.Attention compares each query and key with it.
Orthogonal matrixA matrix whose transpose is its inverse.Rotation matrices are orthogonal and length-preserving.
Relative positionThe displacement \(n-m\) between two token indices.\(R_m^{\mathsf T}R_n=R_{n-m}\) puts it inside the attention score.
Hidden stateThe current feature vector representing one token at one layer.Its normalized form is projected into Q, K, and V.
Tensor axesThe named directions of an array: batch \(B\), token \(T\), feature \(d_{\text{model}}\), head \(h\), and head feature \(d_h\).RoPE pairs coordinates only inside the \(d_h\) axis.
ProjectionA learned matrix multiplication that maps features into another feature space.\(W_Q,W_K,W_V\) produce the vectors used by RoPE and attention.
LayerNormCenters and scales one token using statistics across its feature coordinates.Often appears before attention in a pre-norm block.
RMSNormScales one token by its root mean square without subtracting its mean.A common modern normalization used with RoPE models.
Pre-normNormalize before a sublayer: \(X+F(\operatorname{Norm}(X))\).Describes the placement used in this course's block.
Causal maskAdds \(-\infty\) to score entries where key position \(j>i\).Prevents a query from attending to future positions.
SoftmaxTurns one score row into nonnegative weights that sum to one.Converts RoPE-modified query-key scores into attention weights.
Attention headOne learned feature subspace that attends over the full token sequence.Each head applies RoPE within its own paired feature coordinates.
Residual pathAn identity route that adds a sublayer's learned update to its input.Keeps the block input and update in the same model-width shape.
SiLUThe smooth activation \(z\sigma(z)\).Forms the nonlinear gate in SwiGLU.
SwiGLUA feed-forward layer with gate and up projections multiplied elementwise, then projected down.Transforms each token after its attention residual.

Definitions follow the course's cited sources in RESOURCES.md. Also keep the RoPE sheet and block sheet nearby.