Index Ai Academy
Glossary · Phase 5 · Transformers

Corpus

Also written: corpora

The collection of text a language model learns from, such as product descriptions or a slice of the web.

Try it now

A language model is this table, for every possible context. Press Sample and it writes the next word by drawing from these made-up odds.

Learn it properly

Language modeling · Predict the next token, and score it with cross-entropy. About 30 minutes.

Start this free 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