In crisis or need support? Call or text 988 - 988 Suicide & Crisis Lifeline (24/7)

Voice Up®

Back to the video
⚡ 7-DAY SPRINT

How the Machine Reads — A 7-Day Sprint on Transformers

Sanderson's fifth deep learning chapter follows data through the transformer, the architecture inside every large language model. This sprint walks the same path one stage per day — each with a reflection, a small hands-on action, and links deeper into Voice Up's AI foundations.

Page Narrator

Day 1 — Predict, Sample, Repeat

The chapter opens with the whole trick, stated flatly: a language model reads the text so far, assigns a probability to every possible next token, samples one, adds it to the text, and repeats. Novels, answers, and code all come out of that loop, run fast enough.

Reflect

How does knowing the loop change what you think a chatbot is doing when it answers you?

Do

Play the loop yourself: take any sentence, and at each word write down the two or three continuations you consider likeliest — with rough probabilities. You have just run the model's core job by hand.

Day 2 — Inside a Transformer

Sanderson then opens the box: tokens become vectors, vectors flow through alternating attention and feed-forward blocks, and out the far end comes a distribution over the next token. The chapter's gift is the flow — you watch data move, stage by stage, instead of memorizing parts in isolation.

Reflect

Which stage of the flow is still a black box for you — and what would you need to see to open it?

Do

Sketch the flow from memory on one page: input tokens, embeddings, blocks, output probabilities. Then rewatch the inside-a-transformer segment and correct your sketch in a second color.

Day 3 — The Premise of Deep Learning

Underneath the architecture sits a bet: take a function with millions of adjustable numbers, feed it more examples than any human could review, and it will generalize — handle new cases sensibly. Sanderson names the premise plainly, including that nobody fully knows why it works as well as it does.

Reflect

Where in your own learning do you trust generalization — knowledge that transfers to cases you have never seen?

Do

Write the premise in your own two sentences, including the honest unknown. Precision about what is not known is part of the lesson.

Day 4 — Word Embeddings: Meaning as Direction

Each word enters as an embedding: a long list of numbers placing it in a vast space where direction carries meaning. King sits near queen; the direction from man to woman matches the direction from king to queen. The model never sees a dictionary. It sees geometry, learned from usage.

Reflect

What does it suggest about language that meaning can be carried by position and direction alone?

Do

On paper, place six words from your own field on a simple two-axis map (for example, formal-to-casual, abstract-to-concrete). Notice the choices you made — that is embedding work, done by hand.

Day 5 — Embeddings Beyond Words

The chapter then widens the lens: images, sounds, and other data can be embedded into the same kind of numerical space. That is the quiet move behind multimodal AI — many kinds of input, one shared geometry, one architecture reading all of it.

Reflect

What would it mean for your own work if text, images, and sound could all be compared in one shared space?

Do

List three kinds of information in your field that never get compared directly today, and write one sentence on what a shared space for them could make possible — and one on what it could get wrong.

Day 6 — Unembedding, Softmax, and Temperature

At the far end, the model's final vector is unembedded back into scores for every token, and softmax turns those scores into probabilities that sum to one. Temperature then stretches or sharpens the distribution: cool it and the model turns cautious and repetitive; heat it and the model roams, brilliantly and erratically.

Reflect

When you use an AI tool, which do you actually want: the cautious answer or the roaming one? Does it depend on the stakes?

Do

Ask an AI tool the same open question twice, once framed for the safest answer and once for the most surprising. Compare the two outputs and write down what the temperature likely did.

Day 7 — Trace One Sentence, Whole

The chapter ends by pointing onward, but the map is complete: tokens in, embeddings, attention and feed-forward layers, unembedding, probabilities, a sampled next word. The week's test is fluency — can you walk a sentence through the machine and name every stage it passes?

Reflect

Which stage of the transformer will you keep explaining to others — and why that one?

Do

Draw the full flow one more time, from memory, with a real sentence of your choosing, and teach it to one person. Their questions mark exactly where your map still needs work.

Voice Up® is a federally registered service mark (U.S. Reg. No. 8,148,220) owned by J Ellington Publishing LLC and operated by Voice Up Publishing Incorporated under permanent license.