Choose the model decision that matches the observed gap
Separate architecture, training objective, adaptation method and inference policy. Write a bounded comparison plan from an observed failure.
Text lesson
MLE PathChecking your access…
Also in Technical membership bundle, Career membership bundle, Interview Accelerator bundle, ML Residency bundle, AI Engineer Interviews learning bundle, LLMs A to Z learning bundle.
Shared topics and concepts are exploration links, not universal prerequisites.
25 of 25 modules
Separate architecture, training objective, adaptation method and inference policy. Write a bounded comparison plan from an observed failure.
Text lesson
Distinguish historical attention mechanisms by candidate scope, score function and readout; compute a soft mixture without making origin or causal-explanation claims.
Text lesson
Count a complete serialized request with a specified tokenizer. Separate lossless string coverage from semantic competence.
Text lesson
Given shifted inputs, identify legal keys and diagnose a future-information leak across layers.
Text lesson
Derive rectangular and batched score/output shapes and diagnose key-value alignment errors.
Text lesson
Calculate masked probabilities and outputs, identify normalization mistakes, and specify empty-row behavior.
Text lesson
Trace an ID permutation through input, output, decoder and stopping controls. Design a behavior-preservation test that goes beyond shapes or a tokenizer round trip.
Text lesson
Count distinct stored vocabulary tables and biases with explicit units. Separate weight storage from sequence-dependent memory and total deployment cost.
Text lesson
Trace permitted support, row normalization and value aggregation. Map one attention operator onto message passing without whole-model overclaims.
Text lesson
Trace query/key/value sources and head dimensions, then choose masks consistent with input availability. Trace the original Transformer FFN, residual and normalization order; distinguish a pre-norm sublayer without assuming checkpoint equivalence.
Text lesson
Repair an attention reference and justify independent tests for axes, mask semantics, normalization and empty-row behavior.
Text lesson
Trace greedy WordPiece and a Unigram probability lattice. Explain training versus deterministic encoding versus sampled segmentation.
Text lesson
Recompute frequency-weighted adjacent-pair counts after each merge. Apply a frozen ordered merge list to a new word.
Text lesson
Calculate per-layer KV cache storage under explicit assumptions. Diagnose cached/full-prefix mismatch.
Text lesson
Compute temperature and truncated-sampling probabilities. Show why greedy decoding can miss a higher-probability sequence.
Text lesson
Explain why unmasked attention without positions cannot distinguish token order by itself. Compute a distance-biased attention row and state its limits.
Text lesson
Distinguish demonstration learning, reward-model training and policy optimization. Compute a DPO pair loss from policy and reference log probabilities.
Text lesson
Construct shifted causal labels and distinguish them from masked-token targets. Compute held-out token negative log likelihood and explain when perplexities are comparable.
Text lesson
Distinguish supervised behavior adaptation from adding facts to an inference context. Calculate LoRA parameters and verify a zero-initialized update.
Text lesson
Compute acceptance and rejection correction for a toy draft distribution. Separate distributional correctness from measured speedup.
Text lesson
Name the object that learns. Turn selected traces into supervised targets.
Text+worked example+CPU experiment
More work at inference changes the procedure. Candidate availability is not selected-answer accuracy.
Text+worked example+CPU experiment
Preserve shifted targets, causal masks and valid loss denominators. Verify updates, evaluation and reproducible restoration.
Text lesson
State dense count, token presentations, quality proxy and serving-demand assumptions. Calculate a fixed-budget allocation and conditional lifetime break-even with units.
Text lesson