Large language model (LLM)
A neural network trained on huge amounts of text to predict the next word, so it can write, summarise, translate and answer questions in plain language.
A large language model is a neural network trained on an enormous amount of text so that it can read and write language. It is the technology inside chatbots such as ChatGPT and Claude, and inside the writing and summarising features now built into office software.
The core training task is simple: predict the next word. Text is broken into tokens, which are words or pieces of words, and the model sees billions of passages with the next token hidden. Each time it guesses, it is corrected and its parameters are adjusted. To get good at this guessing game across books, websites and code, the model has to absorb grammar, facts, styles of argument and the shape of a good answer. After this pre-training it is usually fine-tuned to follow instructions and hold a conversation.
When you ask it something, it writes the reply one token at a time, each time choosing a likely continuation of everything so far. The closest everyday comparison is the autocomplete on a phone keyboard, scaled up until it can draft a contract clause or explain a balance sheet. That also explains the main weakness: the model produces what is likely, not what is verified, so it can state wrong things fluently.
Modern LLMs are built on the transformer design published in 2017. GPT-1 and BERT followed in 2018, GPT-2 drew wide attention in 2019, and ChatGPT brought the technology to the public in November 2022. The word "large" has no fixed threshold. It refers to the number of parameters and the volume of training text, and both have grown fast.
An LLM is a strong tool for language work: drafting, summarising, classifying and extracting. It is weak as a source of record. Give it your documents to work from, and check the facts it hands back.
A large language model is an AI system trained on vast amounts of text to predict the next word in a sentence. Because it has seen so much writing, it can answer questions, summarise documents, translate, write code and hold a conversation. ChatGPT, Claude and Gemini are chatbots built on large language models. They break text into small pieces called tokens and learn, from billions of examples, which token is likely to come next. That training is stored as billions of numerical settings called parameters. When you send a prompt, the model generates a reply one token at a time, each time picking a likely next piece based on your prompt and everything it has written so far. Because they are built to produce likely text, not checked text. If the training data did not contain a clear answer, or the question is unusual, the model still produces something that sounds right. This is called hallucination. Giving the model trusted documents to work from, a method called retrieval-augmented generation, reduces the problem but does not remove it. An LLM is the underlying model: the trained network that predicts text. ChatGPT is a product built on top of OpenAI's models, adding a chat interface, safety rules, memory and tools such as web search. Many companies build different products on the same kind of model, and one product can switch between several models.Common questions
What is a large language model in simple terms?
How do large language models work?
Why do large language models make things up?
What is the difference between an LLM and ChatGPT?
Search for "how large language models work", "LLM tokens explained" and "LLM hallucination". Google's free crash course has a short introduction to language models, and university textbooks on natural language processing cover the details in depth. The original research papers, most of them free on arXiv, show what was actually claimed and tested. Treat leaderboard rankings and launch announcements with care, because they change monthly and are often written by the company selling the model.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.