Read the script’s setup instructions and run it on your own computer. The website does not execute code or verify your results.
// Independent work
W03-LAB
Week 3: A causal decoder block and tokenizer study
Combine the token, attention, and decoder exercises into one runnable component.
Extend the guided artifact rather than start a second project. A future-token perturbation cannot change earlier outputs; document shape and token-count checks.
What to produce
A causal decoder block and tokenizer study
Setup commands, data or generation procedure, versions, and recorded outputs
Acceptance results and a precise limitation
Check your work
A future-token perturbation cannot change earlier outputs; document shape and token-count checks.
Each claimed execution is supported by actual saved output.
Fixture results and real model results are identified separately.
Setup and reproduction use the taught tools without private credentials.
Self-assessment rubric
Technical correctness · 35 points
Implementation or analysis follows the relevant technical mechanism and handles the stated case.
Evaluation and evidence · 30 points
Reproducible tests, appropriate baseline, and accurate interpretation.
Engineering quality · 20 points
Clear structure, safe boundaries, and usable reproduction instructions.
Explanation and reflection · 15 points
Explains tradeoffs, limitations, and next experiment with evidence.
// Retrieve before you reread
Week 3 knowledge check
Try all 6 questions. Check your answers, review the explanations, and retry whenever you like. Answers are checked on this device.