What is Top-K? Why does it exist? Where does it appear in Generation?
Draw or describe a visual model of Top-K. What does it look like conceptually?
Work through a concrete manual example of Top-K with real numbers or pseudocode.
Implement Top-K from scratch in Python. Keep it minimal โ just enough to see it work.
Try Top-K on a real example. Vary the inputs and observe what changes.
Explain Top-K in plain language using an analogy. Could a non-expert follow it?
agent/recovery_policy.py
๐ full plan โ