LESSON 25.07 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
Conditioning and classifier-free guidance
Watch a prompt steer noise toward one image, and guidance push it further.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 25.07 · GUIDANCE BAYC (−0.50, 0.87, 1.00, 1.00)
01
Stage 1 of 6 · Text encoder
A text encoder turns the prompt into a vector c. Each word adds its own vector.
Explain it simply
Each word owns a few cells. The shape word writes into the first two cells. The row word writes into the third, and the column word into the fourth. The sum is the prompt vector. Here the word vectors are set by hand, and a real text encoder such as CLIP learns them.
Three word chips, ring, top, left, each with four cells, add up to the prompt vector c.
prompt, codesguidancenoiseguesses, sample
Toy: 25.C1 images, VAE latent, hand-set words, exact denoiser (not trained)
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The prompt vector adds the vectors of its words.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.