Large language model
Abbreviation: LLM
A large language model (LLM) is an AI model trained on very large amounts of text to predict the next token in a sequence. That simple objective lets it write, summarise, translate, answer questions and generate code. LLMs power chat assistants, writing tools and most AI agents.
Most LLMs use the transformer architecture introduced in 2017. During pre-training, the model reads a very large collection of text and adjusts its parameters to get better at predicting what comes next. It is then usually tuned with instruction data and human feedback so that it follows requests, declines harmful ones and answers in a helpful format. When you send a prompt, the model generates its reply one token at a time.
For buyers, the LLM inside a product drives much of its quality, speed and cost. Two writing tools built on the same model may perform similarly, while switching to a cheaper model can cut costs but lose nuance. Many product pages name the model they use; checking that, along with the context window and data-use terms, tells you more than marketing copy does.
Example: when you ask an assistant to turn meeting notes into a summary, the LLM reads the notes as tokens within its context window and predicts a summary that fits your instructions.
Limits: unless it is connected to search or documents, an LLM does not look facts up, so it can state false information confidently (hallucination). Its knowledge stops at a training cutoff, and its output can vary between runs.
Related terms
Learn it step by step
- Lesson 1What is artificial intelligence (AI)?
- Lesson 5What is generative AI?
- Lesson 6What is a large language model (LLM)?
- Lesson 7What is ChatGPT and how does it work?
- Lesson 8What is an AI chatbot?
- Lesson 9What is a token in AI?
- Lesson 10What is a context window?
- Lesson 11What are parameters in an LLM?
- Lesson 13What is an AI hallucination?
- Lesson 16What is fine-tuning?
- Lesson 17What is an AI agent?
- Lesson 20What is multimodal AI?
- Lesson 22What is natural language processing (NLP)?
- Lesson 23What is AGI and how is it different from AI?
- Lesson 24What is open-source AI?
- Lesson 27Is AI bad for the environment?
Sources
- Attention Is All You Need. Vaswani et al., arXiv, June 2017
- Language Models are Few-Shot Learners. Brown et al., arXiv, May 2020
Topic: AI fundamentals
Last updated