Quizzes

Transformer comprehension test

Ranked quizzes: Bronze 10 (8 to pass), Silver 20 (16 to pass), Gold 10 (8 to pass).

Silver · 20 random questions · Exam mode

My papersKeep up to 3 per tier; a 4th paper removes the oldest.
1Why do many implementations scale token embeddings by √d_model?
2What is the main role of sparse mixture-of-experts (MoE)?
3How does language-model perplexity relate to average negative log-likelihood (NLL)?
4During encoder-decoder inference, must the encoder’s K/V be recomputed at every step?
5What does weight tying usually mean in a language model?
6StreamingLLM found that keeping which KV entries helps stabilize attention in long streaming generation?
7How does ALiBi inject positional information?
8How does speculative decoding work?
9What should happen to Transformer dropout at inference time?
10What is the core idea of LoRA fine-tuning?
11What is the basic form of a SwiGLU feed-forward layer?
12What often limits long-sequence attention on GPUs?
13What does raising the sampling temperature usually do?
14What is bf16’s main advantage over fp16 for training?
15What idea does PagedAttention borrow to manage the KV cache?
16Where does attention dropout usually apply?
17What is the main difference between Pre-LN and Post-LN?
18Which tensor is usually not stored in the KV cache?
19LLM inference is usually split into which two phases?
20How is the training loss for a causal language model constructed?
Back