How models work

Loss function

The measure of how wrong a model's outputs are during training. Training works by repeatedly nudging the weights to make this number smaller. What you choose to measure shapes what the model learns to be good at.


Related terms

Inference

Running a trained model to get an output, as opposed to training it. Every prompt you send triggers inference. For org…

Instruction tuning

Further training on examples of instructions paired with good responses, which turns a base model into one that follow…

Latent space

The internal mathematical space in which a model represents data, where similar concepts sit close together. Image gen…

Mixture of experts

A model design split into many specialist sub-networks, with a router that sends each token to only a few of them. The…

Multimodal

Able to take in or produce more than one kind of data, such as text, images, audio and video. A multimodal assistant c…

Next-token prediction

The core task a language model is trained on: given the text so far, predict the most likely next token. Generation re…

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