Home / Guides
How Today's AI Works: Large Language Models in Plain English
Today's chatbots are built on large language models. Under the hood, they are very large pattern-learning systems trained on huge amounts of text.
The short version
- Training: a neural network reads enormous amounts of text and learns to predict the next piece of text, called a token.
- Fine-tuning: it is then trained on examples of helpful answers, often with human feedback, to act like an assistant.
- Using it: when you type, it predicts a response one token at a time, guided by everything it learned.
Key terms
| Term | Meaning |
|---|---|
| Neural network | Layers of simple math units whose connections are adjusted during training |
| Parameters | The adjustable numbers inside the model, often billions |
| Token | A chunk of text, often part of a word |
| Context window | How much text the model can consider at once |
| Hallucination | A confident but false answer |
Why it makes mistakes
The model generates likely-sounding text rather than looking facts up, unless it is connected to search or documents. That is why it can invent sources or numbers. Check important facts.
Beyond text
The same ideas power models that understand images, speech and video, and "agents" that use tools such as web browsing or code to complete multi-step tasks.
Books for this guide
Photos and links go to Amazon. Check the current price, size and seller there.

Hands-On Machine Learning with Scikit-Learn, Keras, and TensorFlow, by Aurélien Géron
The standard hands-on route into building ML models in Python.
Check it on Amazon →
Artificial Intelligence: A Guide for Thinking Humans, by Melanie Mitchell
Clear explanations of how AI works and where it falls short.
Check it on Amazon →
A Brief History of Intelligence, by Max Bennett
How intelligence evolved, from early brains to AI.
Check it on Amazon →Want the full reading list sorted by theme? Browse all Top Picks →