How models work

Attention

The mechanism in a transformer that lets the model weigh how relevant each token is to every other token when working out meaning. It is how the model links 'it' back to the right noun several sentences earlier.


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.

Related terms

Unsupervised learning

Training on data without labels, where the model finds structure by itself, such as grouping customers with similar bu…

Vision-language model

A model that can reason about images and text together, for example describing a chart, reading a scanned form or answ…

Weights

The numerical values on the connections in a neural network that determine how strongly one unit influences the next. …

Backpropagation

The technique that calculates how much each weight in a neural network contributed to an error, working backwards from…

Base model

A model straight out of pretraining, before it has been tuned to follow instructions or hold a conversation. Given a q…

Chain of thought

Step-by-step reasoning written out before a final answer, either prompted ('think it through step by step') or built i…

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