Labs
Each lab shows a concept at work. Everything runs in your browser.
Writing prompts
Build, compare and fix requests to AI.
- Prompt anatomySee the five parts of a prompt and build yours block by block.Used in 1 bookOpen lab
- Before and afterCompare a weak and a strong prompt, with the answers side by side.Used in 1 bookOpen lab
- Formula sheetWrite SUMIF and VLOOKUP in a small sheet, copy them down and check them two ways.Open lab
- Photo on the phoneFrame the photo, pick the question and how to send it, and check the AI's answer.Open lab
Inside AI
What happens to your text inside the model.
- TokenizerType a text and see the pieces the model actually reads.Used in 1 bookOpen lab
- Embedding mapSearch a word and see its neighbours on a 2D or 3D map.Used in 1 bookOpen lab
- TemperatureMove the slider and watch the next-word odds change.Used in 1 bookOpen lab
- Artificial neuron in 3DMove the weights of one neuron and watch the chance that the next letter is a vowel.Open lab
- Layered network in 3DType a text and watch two letters go through 16 neurons to the prediction.Open lab
- Recurrent network (RNN) in 3DWatch the memory of an RNN pass from letter to letter as you type.Open lab
- LSTM in 3DWatch the gates of an LSTM decide what to forget, keep and show.Open lab
- Attention mapTap a word and see where it looks, with the attention arithmetic laid open.Open lab
- Voting forestTrain a Random Forest in your browser and compare one tree alone with the whole forest.Open lab
- Ensemble in a neighborhoodCombine three models into a risk map and watch the PAI change with weights, POI Boost and the cutoff rule.Open lab
Test yourself
Quick questions with instant explanations.