All assessments
DL Coding

LLM Internals Mock Assessment

Attention, normalization, positional encodings, and decoding building blocks implemented in PyTorch.

Unlock this assessment

Upgrade to Pro to take any set.

Upgrade to Pro
45 min
Set 1Problems
1Rotary Position EmbeddingMedium
2Scaled Dot-Product AttentionMedium
3KV Cache AppendEasy

What this assessment covers

LLM Internals Mock Assessment has 4 sets and 12 coding problems in total: 4 easy, 7 medium and 1 hard. The problems are:

  • Rotary Position Embedding (medium)
  • Scaled Dot-Product Attention (medium)
  • KV Cache Append (easy)
  • RMS Normalization (easy)
  • Temperature Softmax (medium)
  • Causal Masked Attention (medium)
  • Sinusoidal Positional Encoding (easy)
  • Multi-Head Attention (medium)
  • SwiGLU Activation (easy)
  • Muon Scaled Update (medium)
  • Grouped Query Attention (medium)
  • LayerNorm Backward (hard)

Format

Each set is a separate timed sitting of 45 minutes with 3 problems. Pick a set, start the timer and solve the problems in the browser. When the sitting ends you get your score and a report on how you did, and you can take another set to practise again.