3Wthreewise
Curiosity, made clear

Big questions.
Clear answers.

Technology can feel like a maze of strange words. We turn the hard stuff into ideas you can see, play with, and actually remember.

3W
why?
AI
how
✨
A LITTLE CURIOSITY GOES A LONG WAY
Pick a question

Where should we start?

No jargon required · Just curiosity
✳ Artificial intelligence7 min read

What is a transformer
in AI, anyway?

The idea behind the AI that can chat, translate, and write code.

Coming up · AI6 min

How does an AI chatbot make an answer?

One small prediction at a time.

Coming up · Internet5 min

What happens when you open a website?

A tiny trip from your browser to a computer far away.

Coming up · Security4 min

Why can’t a website read your password?

A one-way trick that helps keep secrets safe.

Coming up · Programming5 min

What does an API actually do?

The helpful messenger between two pieces of software.

 /  Artificial intelligence
AI, without the mystery

What is a transformer in AI?

The idea behind the AI that can chat, translate, and write code—and why one little word can change the whole meaning.

In a nutshell: A transformer is a kind of AI model that looks at how pieces of information relate to each other. Its attention mechanism helps it use relevant context—like figuring out what “it” refers to in a sentence. Language models use this to predict and generate text, one piece at a time.

Picture a group reading together

Imagine everyone in a reading group has one word from a sentence. To understand “it,” you might look back at the other words for clues. In “The dog chased the ball because it was excited,” “it” probably connects to “dog.”

A transformer does something a little like that with numbers. Each word-piece can gather useful clues from other pieces around it. The technical name for this clue-gathering is attention.

The reading group is just a picture to help us imagine the information flow. A transformer has no tiny readers inside it, and attention is math—not human awareness.

See attention in action

Tap a word below, then choose which word it should connect to for a useful clue. Try changing the sentence.

A tiny context experiment
What should “it” use as a clue?

Make a guess. Does “it” mean the dog or the ball here?

This playful guessing game is not showing a real AI’s attention scores. Real models use many layers of learned numbers, and their internal patterns are more complicated than one word choosing another.

From words to a next guess

A model first splits text into tokens—pieces that might be whole words, word parts, or punctuation. It turns those pieces into lists of numbers called vectors, adds information about their order, and processes the numbers through layers.

Text→Word pieces→Context clues→Next guess

Attention helps each piece gather relevant context. Other parts of the network refine the information. In a common chat model, the system then scores possible next pieces, chooses one, and repeats. That’s how a short prompt can grow into a full answer.

Why is it such a big deal?

Transformers are good at finding relationships across lots of pieces, and much of their training can happen in parallel. The same basic idea can be adapted for text, images, audio, and code.

A useful caveat: during text generation, a model predicts one piece at a time based on what came before. It can produce a confident-sounding answer that’s still wrong. “Transformer” describes an architecture; it doesn’t mean the model thinks like a person.
Keep this picture

A transformer turns pieces into numbers, uses attention to mix in helpful context, and can use that context to make a next-token guess.

Curious about the next piece?

These questions pick up right where this one leaves off:

Inspired by Vaswani et al., Attention Is All You Need (2017). This is a simplified introduction; transformer designs vary.