What Is a Large Language Model
How can one model write a poem, fix a bug and translate a menu? Advitha uses the same chat assistant in San Francisco for her biology homework, a Spanish greeting card and a Python error, all before lunch. It never asks which job it is doing. Behind it is one kind of model: a large language model, or LLM.
This lesson explains what an LLM is, what it can do, and why a single model handles so many different tasks.
A Model of Language
A large language model is a deep learning model trained on a huge amount of text to predict the next piece of text. "Large" refers to its size, with billions of parameters, and to the amount of text it learned from. Because it learned the patterns of so much writing, it can read and write language for almost any task described in words.
| An LLM can... | Example |
|---|---|
| Answer questions | "What is a token?" |
| Explain | Photosynthesis for a 10-year-old |
| Summarize | A 20-page report in three bullet points |
| Translate | "Good morning" into Spanish |
| Write code | A Python function, or a fix for an error |
| Generate ideas | Ten names for a small bakery |
| Follow instructions | "Reply in exactly three words" |
Where LLMs Fit
An LLM is a foundation model for language, from "Foundation Models and Multimodal AI", and a kind of generative AI. Chat assistants such as ChatGPT, Claude and Gemini are applications built around LLMs, as "Model vs Application vs Interface" explained: the app adds the chat window, history, safety checks and tools.
Many newer LLMs are multimodal: they also read images or audio. And some are reasoning models, which write out intermediate steps, sometimes called "thinking", before giving a final answer, which helps on math and multi-step problems. Both are still language models at heart.
Common Mistakes
Thinking an LLM searches the internet for each answer. It generates from learned patterns; only apps with a search tool look things up.
Thinking an LLM knows everything in its training text. It learned patterns, not a perfect copy, and it can be wrong.
Thinking "LLM" and "chat assistant" mean the same thing. The assistant is an application; the LLM is the model inside it.
Interview Corner
What is a large language model?
A deep learning model trained on a huge amount of text to predict the next piece of text. That one skill lets it answer, explain, summarize, translate, write code and follow instructions.
Why can one LLM do so many different tasks?
Because almost every language task can be framed as continuing text well. A model that learned the patterns of a vast amount of writing can continue a question with an answer, a request with code, or a paragraph with a summary.
Practice
Exercise: one model, seven jobs. Give a chat assistant one task from each row of the table above, using your own examples. For each, rate the answer from 1 to 5 and note one thing you checked. Which task did it do best, and which needed the most checking?
Check your understanding:
- What does "large" mean in "large language model"?
- What single skill sits behind every LLM task?
- How is a chat assistant different from the LLM inside it?
Key Takeaways
Quick reference
| Term | Meaning |
|---|---|
| Large language model (LLM) | A model trained on huge amounts of text to predict the next piece of text |
| Chat assistant | An application built around an LLM |
| Reasoning model | An LLM that writes intermediate steps before answering |
Was this tutorial helpful?