Module 1. The Modern LLM Landscape
Try each exercise first. Expand worked answers or project guidance when needed; their open state is shared between RU/EN.
Download course files (.zip) 2588.1 KBThe archive preserves the source folder structure, both languages, and supporting files.
E1. Passport arithmetic
For 1.6T/49B, 550B/55B, and 117B/5.1B, compute idealized BF16 payload, raw four-bit payload, weight GFLOP/token, and total/active ratio.
Show answer and solution
Solution.
For a model with total and active parameters, use
For example, 1.6T/49B gives TB, TB, GFLOP/token, and .
| Passport | BF16, TB | raw 4-bit, TB | GFLOP/token | total/active |
|---|---|---|---|---|
| 1.6T / 49B | 3.20 | 0.80 | 98 | 32.65× |
| 550B / 55B | 1.10 | 0.275 | 110 | 10× |
| 117B / 5.1B | 0.234 | 0.0585 | 10.2 | 22.94× |
These are lower payload and weight-matmul estimates. A real checkpoint includes scales and heterogeneous tensors; a runtime adds state and buffers.
E2. Classify attention
Use the definitions and validated function in §17 to classify (Q=8, KV=8), (Q=8, KV=1), and (Q=8, KV=2). Check that (Q=8, KV=3) is rejected. Why is kv_lora_rank tested before the head ratio?
Show answer and solution
Solution. The cases are MHA, MQA, and GQA with four query heads per KV head. The 8/3 case is invalid because the KV-head count must divide the query-head count. Under the supported configuration conventions, kv_lora_rank identifies MLA's compressed representation and needs a separate interpretation. This is a classifier for those conventions, not for every possible architecture.
E3 [project]. Two passports for one product
Choose an API model or open-weight checkpoint. Fill the six model axes, then the system passport: tools, secrets, egress, shared memory, sandbox, monitoring, and evaluation protocol. Label each field as primary-source evidence, your own measurement, or unknown.
Project demos and guidance
Demo for this project exercise: English project-demo notebook for Module 1, section “Demo 1”. It shows a compact reproducible example on small inputs, not a completed solution to the full-scale project.
E4 [project]. Release wave
Four to six weeks later, repeat the dated snapshot in §§13–15. Do not merely add names: record the source, artefact status, and passport fields that actually changed. The exercise builds a procedure for updating knowledge rather than dependence on a news stream.
Project demos and guidance
Demo for this project exercise: English project-demo notebook for Module 1, section “Demo 2”. It shows a compact reproducible example on small inputs, not a completed solution to the full-scale project.
E5. Cost of an accepted task
Keep B's total spend at 2.80 USD, but reduce its accepted count to 40 out of 100. Which system now has the lower cost per accepted task? Does either meet the 80-out-of-100 requirement?
Show answer and solution
Solution. B costs USD per accepted task, compared with A's USD. A is cheaper by this measure, but neither system meets the quality threshold. With zero accepted tasks, the ratio is undefined, not zero.
E6. An answer and its evidence
Using documents A and B in Section 12, evaluate “30 days, A”, “7 days, A”, and “30 days, B”. Check the retention period and source support separately. Does the existence of the cited document establish that the answer is acceptable?
Show answer and solution
Solution. The first response passes both checks. The second gives the wrong period: A specifies 30 days. The third gives the correct number but cites a rule about temporary exports, so its evidence does not support the experiment-log claim. An accessible citation establishes that a source exists, not that it entails the answer. The notebook checks these cases against an explicit reference; this bounded test is not a general verifier for free-form text.