Step 2 of 6· Separate counts and duration
Separate counts and duration
Optional arithmetic and percentage refresher — return to this activity
Use the source notes if you need them. This is public practice; feedback appears after your choice.
Instrumented generator: local teaching model contract
All people, records and numbers in this pack are authored teaching examples. They are not records or performance claims about real organizations.
- G1 · The downloadable Python generator uses four token IDs and fixed authored two-number embeddings with causal attention. It is untrained and is not a pretrained language model. It demonstrates execution and cache equivalence, not text quality.
- G2 · Input is 1–16 token IDs; output limit is 0–16 tokens. EOS is token 3. Greedy selection chooses the lowest ID on a tie. Reaching a limit and emitting EOS are reported separately.
- G3 · The clock starts after imports. Validation/token preparation, prefill, first-token selection, decode steps and total generation are timed with a monotonic high-resolution clock. Report serialization and disk writing are outside total generation. Loading/import/terminal display are not measured.
- G4 · Cached attention retains projected keys and values for exactly the prior token prefix. Changed prefixes require a fresh cache or rejection. Every step’s scores, not just chosen IDs, must agree with uncached execution within 1e-12.
- G5 · Timing varies by machine and run. Compare the same prompt, output limit and stopping behavior, repeat runs, report all outcomes and the measurement boundary. Projection and attention-term counts are not milliseconds.
Your selected answer and feedback are temporary and excluded from progress backups. They can return during this visit, but a full reload clears them. Your saved activity location and recorded completion or passed checks remain separate.
Decide before checking