What this lesson covers.
This module is one of 42 in the curriculum. Below is the canonical interactive lesson — tabs, cards, and diagrams from the source repo, rendered inside the course shell. An audio narration runs alongside it - the sticky player at the top of the page plays the full Module 04 clip.
If you prefer to read first and play with the demos after, the interactive lesson sits below this section. If you'd rather hear it narrated while you scroll, hit play on the sticky audio bar at the top — or just let it autoplay.
Read / reason / test
Distinguish samples, features and positions
High school · build the intuition
Text, images and audio start as different signals. A system may combine their later representations, but preprocessing still matters. Cropping determines which image details remain; audio segmentation determines which sounds are available together. A multimodal answer can fail because information was lost before the shared model received it. Trace those transformations instead of assuming all inputs begin as interchangeable tokens.
College · work the example
One second of mono audio at 16,000 samples per second contains 16,000 samples. At 16 bits each, its raw payload is 32,000 bytes excluding headers. That is not a transformer token count. Feature extraction and subsampling change sequence length. Distinguish raw samples, feature frames and model positions before comparing audio with text context budgets.
Explain it back
Describe the process in your own words. Identify the assumption that makes this example work, then explain one conclusion it cannot establish.
Read the primary source or official documentation →
The numerical examples are authored teaching exercises, not measured model benchmarks. This extension adds context to the original lesson.
The lesson itself.
Try it: vit patcher.
Watch a 224x224 image get sliced into 196 patches and become a token stream. Hover any patch to see its position in the sequence.
Further reading.
The canonical references for this module. External links open in a new tab.
What to read next.
Use the pager below to move sequentially through the curriculum, or jump to any module from the course index. Each track has a "Prereq: ↑ foundation" callout so you can backfill anything that wasn't clear.