VKVlad KulikovPublic / lectures
Modern LLMs6 / 20

Module 6. Normalization, activations, and the anatomy of a Transformer block

Choose your answers and select “Check”. Numbers accept a decimal point, comma, or simple fraction. Answers and drafts are saved in this browser and shared between RU/EN.

Checked: 0 / 22 · Correct: 0

Question 6.4.1

6.4. A block makes two successive residual updates

What does the identity path in a Pre-LN residual block guarantee?

One correct option

Question 6.5.1

6.5. What LayerNorm and RMSNorm compute

How does RMSNorm differ from LayerNorm in its basic formula?

One correct option

Question 6.5.2

6.5. What LayerNorm and RMSNorm compute

At rms = 10⁻³, how much larger is the RMSNorm multiplier with eps=10⁻⁶ than with eps=10⁻⁵?

One correct option

Question 6.5.3

6.5. What LayerNorm and RMSNorm compute

When is RMSNorm approximately invariant to positive input scaling with fixed ε>0?

One correct option

Question 6.5.4

6.5. What LayerNorm and RMSNorm compute

How should RMSNorm statistics be computed for large FP16 values?

One correct option

Question 6.6.1

6.6. Placement changes the computation graph

What is the structural difference between Post-LN and Pre-LN?

One correct option

Question 6.6.2

6.6. Placement changes the computation graph

What does Peri-LN add to ordinary Pre-LN?

One correct option

Question 6.6.3

6.6. Placement changes the computation graph

What does the 36-layer none/pre/post toy experiment establish?

One correct option

Question 6.7.1

6.7. Q/K normalization: check the equation and the axis

How should original QKNorm be distinguished from the notebook’s Q/K RMSNorm?

One correct option

Question 6.7.2

6.7. Q/K normalization: check the equation and the axis

How do Q/K RMSNorm axes differ in the inspected OLMo2 and Qwen3 implementations?

One correct option

Question 6.8.1

6.8. Why a gate adds a matrix

How does a gated FFN differ fundamentally from a plain two-matrix FFN?

One correct option

Question 6.8.2

6.8. Why a gate adds a matrix

How accurate is GELU(z) ≈ z·sigmoid(1.702z) on [-6,6] in the module’s calculation?

One correct option

Question 6.8.3

6.8. Why a gate adds a matrix

Can SiLU(g) in SwiGLU be interpreted as a probability?

One correct option

Question 6.9.1

6.9. Budgeting SwiGLU and reading its variants

Why can a model-specific clamp not be changed freely only at inference time?

One correct option

Question 6.9.2

6.9. Budgeting SwiGLU and reading its variants

In the gpt-oss variant with g=u=z, what are the outputs at z=7 and z=9?

One correct option

Question 6.10.1

6.10. From tensor shapes to 8,030,261,248 parameters

What fraction of a complete Llama-3.1-8B dense block is in the FFN matrices?

One correct option

Question 6.10.2

6.10. From tensor shapes to 8,030,261,248 parameters

How do the estimates 13d² and 13d²+2d relate for Llama-3.1-8B?

One correct option

Question 6.11.1

6.11. Element-wise alternatives: DyT and DyISRU

Why is DyT not identical to ordinary RMSNorm?

One correct option

Question 6.11.2

6.11. Element-wise alternatives: DyT and DyISRU

With γ=1 and β=0, which b in x/√(b+x²) gives slope 0.5 at zero?

One correct option

Question 6.12.1

6.12. Several residual streams: what mHC constrains

What does Manifold-Constrained Hyper-Connections (mHC) constrain?

One correct option

Question 6.12.2

6.12. Several residual streams: what mHC constrains

What should be checked after 20 Sinkhorn iterations?

One correct option

Question 6.15.1

6.15. Reading gpt-oss from code rather than from a guessed config field

How does original gpt-oss code split the packed gate/up projection?

One correct option