Log inStart free
LESSON 12.04 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW

Adapters

Watch a frozen model learn to answer through two small adapters.


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/mo
EXPLAINER · 12.04 · FINE-TUNING BAY175 WEIGHTS · ALL FROZEN
01
Stage 1 of 6 · Frozen base
The pretrained model has 175 weights, and adapter tuning keeps them frozen. After the prompt, it writes question words or dots.
Explain it simply

The four ochre grids hold the model's 175 weights. Adapter tuning keeps them frozen, like a printed book, with one small exception you may meet later. Ask about the sky, and the model only writes more question words.

Four dashed weight grids, E, W1, W2 and U, hold 175 frozen weights. After the prompt, the model writes "what color is the".

tokens and streamweightsanswerslossfrozen or zero
E embeddings60 frozenlayer 120 frozenlayer 220 frozenU head75 frozenenduser0what1color2is3the4sky5?6bot7whatcoloristhebase modelsky ?whatcoloristhegrass ??whatcolorissnow ?....the frozen pretrained modelE embeddings60 frozenlayer 120 frozenlayer 220 frozenU head75 frozenenduser0what1color2is3the4sky5?6bot7whatcoloristhebase modelsky ?whatcoloristhegrass ??whatcolorissnow ?....the frozen pretrained model
Toy: the 12.C1 model, 175 frozen weights, 3 chat pairs
STAGE 1 / 6
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
z=U h2+c\sy{z}{out}{z} = \sy{U}{param}{U}\,\sy{h}{data}{h_2} + \sy{c}{param}{c}
p(blue)=0.003p(\text{blue}) = 0.003

The frozen head turns the last stream into word scores.

Common mix-ups

MYTHThe random adapter weights scramble the model at first.

The fix, and 1 more mix-up with the diagram to show them, come with Pro.

Predict, then reveal
3 CHECKS · PRO
Q01At 0 steps, what does the adapted model answer about the sky?

Make your guess, then test it in the diagram. All 3 checks come with Pro.

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.