Explaining Generative Pre-Trained Transformers to a 5-Year-Old

Shubham PrakashShubham Prakash
2 min read

“So… is GPT a robot?”
Kind of, kiddo. But instead of arms and legs, it has words — lots of them.
Let’s break it down.


Step 1: Think of GPT as a Super Parrot

Imagine a parrot that:

  • Has read every storybook, comic, and encyclopedia it could find

  • Remembers patterns from all of them

  • Can talk back to you in a way that sounds like a real person

That’s GPT — it’s not thinking like we do, it’s just really good at guessing the next word based on what it’s seen before.


Step 2: The Magic Trick — Predicting the Next Word

If I say:

“Once upon a…”

You probably shout:

“Time!”

You didn’t think hard — your brain just knows what usually comes next.
GPT works the same way, except it’s read billions of examples, so its guesses are crazy accurate.


Step 3: Lego Bricks of Words

Think of every sentence as a tower made of Lego bricks.

  • Each word is a brick

  • GPT has a huge box of bricks in different shapes and colors

  • It picks the brick that best fits next in the tower you’re building together

The more bricks it’s seen before, the better it can guess what you need.


Step 4: GPT’s Brain Is Made of Numbers

Here’s the weird part: GPT doesn’t actually store words — it stores numbers that represent meaning (embeddings).
When you give it words, it:

  1. Turns them into numbers

  2. Uses math to figure out which number should come next

  3. Turns the number back into a word

No feelings. No opinions. Just math magic.


Step 5: What GPT Can and Can’t Do

Can:

  • Tell stories

  • Answer questions

  • Help with homework

  • Pretend to be a pirate 🏴‍☠️

Can’t:

  • Have feelings

  • Know what’s true without being told

  • Make you a sandwich


TL;DR for a 5-Year-Old

GPT is like the smartest parrot in the world — it listens to what you say, remembers all the books it’s read, and then guesses the best next words to keep the conversation going.

Now when someone asks what GPT is, you can say: “It’s like a talking library that never runs out of stories, jokes, or answers — but it can’t play football with you.”

0
Subscribe to my newsletter

Read articles from Shubham Prakash directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shubham Prakash
Shubham Prakash