How models work

Temperature

A setting that controls how random a model's word choices are. Low temperature makes output more predictable and repetitive; high temperature makes it more varied and more likely to drift. It is usually adjustable through an API or developer console rather than in consumer chat apps.


Where this is taught

15How large language models work
Tokens, embeddings, attention, context windows, temperature and training: what is actually happening when a model answers you.

Guides that cover it

Related terms

Self-supervised learning

Training where the labels come from the data itself, for example hiding the next word and asking the model to predict …

Small language model

A language model with relatively few parameters, designed to run cheaply, quickly or on a laptop or phone. Well suited…

Supervised learning

Training on examples that come with the right answer attached, such as photos labelled 'cat' or 'dog', or loan applica…

Test-time compute

Computing power spent while answering a question rather than during training, for example by letting a model reason fo…

Tokeniser

The component that splits text into tokens before a model sees it and joins tokens back into text afterwards. Tokenisa…

Top-p (nucleus sampling)

A setting that limits the model's choice of next token to the smallest set of options whose combined probability reach…

Beyond the definition

Knowing the word is the easy part

A short assessment scores you across five skill areas and builds a path through 18 modules, skipping whatever you already know. Free, no card.

Find your level