Index

Free, with Google

Keep going, free.

A free account opens lessons 2 and 3 of every track, 33 more lessons, and keeps your progress and review cards on every device.

Start free with Google

A chalk plan

Open everything on chalk.

Every lesson, board, video, lab and paper, and the full review decks. Yearly is $39/year.

See plansStart free instead

AILLM sampling: softmax and temperature

The temperature dial

The model has read 'The weather today is'. Its scores never change. How often does the reply say something other than sunny, and what decides that?

Five words sit in a raffle drum for the next word after 'The weather today is', and their scores never change. The panels show each word's share of the tickets, the share that misses sunny, and a thousand draws from the drum. Shake it harder and the draws spread out. Cool it and they pile onto sunny.

Included with a plan

This lab is part of a plan.

A plan opens every lesson, board, video, lab and paper on chalk. Yearly is $39/year.

See plansAlready a member? Sign in

Or start free: a free account opens lessons 2 and 3 of every track.

the lesson Inference (sampling, context, KV cache, hallucination)
The whole idea this lab came from, told start to finish.

on the path Module 2 of 9 in AI: From a model to an app
The lessons, boards and videos around this lab, in reading order.

Board: Inference

see also Training language models to follow instructions with human feedback in Papers.