Index Ai Academy
Glossary · Phase 2 · Math, when you need it

Greedy decoding

Always picking the single most likely next word. Simple and repeatable, but it can sound flat or loop.

Try it now

The next token is a random variable: one draw from these odds. Press Sample 100 and the marks settle close to the bars.

Learn it properly

Distributions · Random variables and the shapes their outcomes take. About 25 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write