Transformers and attention for beginners: Days 1 to 6
The first six days explain the engine inside every modern AI model, gently. You start with why older language AI got lost in long sentences, meet the idea of attention from the 2017 paper “Attention Is All You Need”, and see how the Transformer, embeddings and neural networks fit together, without needing to be good at maths.
Day by day
Day 1: What the World Was Like Before AI Understood Us
How computers went from dumb calculators to almost understanding language
You will learn to
- Explain in one plain sentence what 'AI' actually means, without any jargon
- Describe the old 'write every rule by hand' approach and give a clear reason it failed
- Explain the core idea of machine learning: letting computers learn from examples instead of rules
- Understand why a computer could recognize a cat in a photo long before it could understand a simple sentence
- Describe early word-by-word language helpers and the 'forgetting' problem that limited them
- Name the wall the whole field was stuck behind by 2016, setting up the breakthrough in Day 2
Homework
Pick one app you used today (your photo gallery, email autocomplete, a voice assistant, or a translation app) and write three sentences: What 'human-smarts' task is it doing? Do you think it learned from examples or follows hand-written rules? Where do you notice it 'forgetting' or getting confused by longer, trickier input? Bring your notes to Day 2.
Day 2: The Tiny Idea That Changed Everything: Attention
The 2017 moment a simple idea rewired all of AI
You will learn to
- Explain in plain words why older AI got 'lost' when reading long sentences
- Describe the core idea of attention: looking at all the words at once and focusing on the ones that matter
- Recall the 2017 paper 'Attention Is All You Need' and why its title was a bold bet
- Use the spotlight analogy to explain how attention decides what to focus on
- Connect attention to the speed and scale that made today's AI tools possible
- Recognize attention at work in everyday 2026 tools like chatbots and writing assistants
Homework
Find a long, winding sentence in a book, article, or chat message (at least 15 words). Read it slowly and notice your own 'spotlight': which earlier words does your brain jump back to in order to make sense of the later ones? Write down two or three of those links (for example, 'the word *it* at the end points back to *the project* near the start'). You just did, by hand, exactly what attention does inside an AI.
Day 3: Meet the Transformer (Without the Math Headache)
The engine inside every modern AI, explained gently
You will learn to
- Explain in plain words what a Transformer is and why it powers tools like ChatGPT, Gemini, and Claude in 2026
- Describe how text gets chopped into small pieces called tokens before an AI can read it
- Understand why every word gets turned into numbers, and what those numbers are for
- Retell, using an everyday analogy, how attention lets every word 'listen' to every other word
- Explain why stacking layers builds deeper understanding, and why doing the work all at once makes it fast
Homework
Open any AI chatbot you like and paste in a tricky sentence with a vague word, such as: 'The trophy didn't fit in the suitcase because it was too big — what was too big?' Notice how the AI uses the surrounding words (attention!) to figure out what 'it' means. Then, in two or three sentences of your own, explain to a friend or in a note what a 'token' is, using your own everyday analogy. Bring your analogy to Day 4.
Day 4: How Words Become Numbers
Why AI turns language into math, and why that's nothing to fear
You will learn to
- Explain in one plain sentence why a computer can only work with numbers, never with letters directly
- Describe what an embedding is, using the idea of giving every word its own coordinates on a map
- Walk through a tiny example of why similar words end up sitting close together
- Understand 'matrix multiplication' as simply mixing piles of numbers to discover relationships, with zero math anxiety
- Say clearly what this number trick actually buys us: an AI that can compare, group, and understand meaning
Homework
Pick any three everyday words — for example 'dog,' 'puppy,' and 'airplane.' On a piece of paper, draw a simple two-direction map like our king-queen one (you choose the two directions, such as 'how big' and 'how alive'). Place your three words as dots. Notice which two land close together and which one sits far away — that closeness is exactly what an embedding captures, just with hundreds of directions instead of two. Bring your little map to Day 5.
Day 5: What Is a Neural Network, Really?
The brain-inspired idea that learns from examples
You will learn to
- Picture a neural network as simple connected units passing signals to each other, loosely inspired by brain cells
- Understand 'weights' as tunable knobs that decide how strongly one unit listens to another
- Explain learning as a repeating cycle of guess, check the real answer, and nudge the knobs
- Describe the training loop using the everyday experience of learning to ride a bike
- Say why stacking many layers earns the name 'deep' learning
- Give real examples of what neural networks can and cannot learn from data
Homework
Find one AI feature you used today (photo search, autocomplete, a song recommendation, a chatbot reply) and write three short sentences: (1) What pattern did it have to learn from examples? (2) What would its 'guess, check, nudge' training have looked like? (3) Name one way its answer could go wrong because of limited or biased examples. Bring your favorite one to share.
Day 6: When Huge Data Starts to Look Like Intelligence
The simple loop that turns mountains of data into ability
You will learn to
- Explain the 'predict the next word' game in plain language and why it is the heart of how modern AI learns
- Describe what it means to train an AI on a huge slice of the internet, and why scale matters
- Walk through the simple learning loop: guess, check, correct, repeat — billions of times
- Define 'emergence' and give an example of a skill that appears without being directly programmed
- Explain in everyday terms why more data and more computing power tend to make AI smarter
- Understand why this growing ability can start to feel like real intelligence, and stay thoughtfully curious about whether it is
Homework
Become the teacher for ten minutes. Pick someone in your life — a friend, parent, or even your reflection — and explain, with no jargon, how AI learns: the predict-the-next-word game, the guess-check-correct loop, and the idea of emergence. Use your own everyday analogy (cooking, sports, music, anything). Then play the game yourself: open any text app, type a few half-sentences, and notice the next-word suggestions — that is a tiny version of today's lesson living in your pocket. Jot down one thing that still feels mysterious; carry that question into Day 7.
Questions
Can I learn transformers without maths?
Yes, that is how these days are built. Day 4, for example, presents matrix multiplication as mixing piles of numbers to discover relationships, and embeddings as giving every word its own coordinates on a map.
Which paper does the course start from?
“Attention Is All You Need” (2017). Day 2 covers what the paper proposed and why its title was a bold bet; Day 3 explains the Transformer it introduced.
What comes after these six days?
Foundation models, fine-tuning, chat and prompting (Days 7 to 11), then images, video and multimodal AI (Days 12 to 14), then agents, reasoning, memory and MCP (Days 15 to 18).