The unit a language model actually reads and writes — usually a word fragment rather than a word or a character.
A neural network trained on very large amounts of text to predict what comes next, which turns out to be enough to answer questions, write code and hold a conversation.
Also known as: LLM
A large language model is a neural network — almost always a transformer — trained on a very large corpus of text with a deceptively simple objective: given some text, predict the next token.
Nothing about that objective mentions reasoning, translation or code. Those capabilities emerge because doing next-token prediction well across a broad enough corpus requires modelling a great deal about how the world is described. Scaling the model, the data and the compute together tends to improve those emergent capabilities, which is the observation the last several years of the field have been built on.
An LLM has no memory between conversations unless one is bolted on, and no access to information outside its training data unless it is given tools or retrieval. Both of those limits are engineering problems rather than properties of the model.
The unit a language model actually reads and writes — usually a word fragment rather than a word or a character.
The maximum number of tokens a model can consider at once — everything it is allowed to "see" for a single response.
Giving a model a handful of worked examples in the prompt so it infers the pattern you want.
Prompting a model to work through its reasoning step by step before answering, which measurably improves multi-step problems.
Fetching relevant documents at query time and putting them in the prompt, so the model answers from your data rather than its memory.
Asking a model to do a task it was never explicitly trained on, using only an instruction and no examples.
Definitions are reviewed by our editorial team. Spotted a problem? Tell us.