Glass Box
Interactive simulations of how AI systems work, with the math behind each one and where the toy models stop matching real ones. Move a slider, watch it happen, then read why it matters when you use AI.
- Every number comes from a small engine written in C, running in your browser.
- There is nothing to install.
- Each module says where the toy model stops matching a real one.
Using AI
What matters when you work with Claude or another assistant.
- 1 How it works open
- 2 Why answers vary open
- 3 Long tasks open
- 4 Context open
- 5 Tokenization open
- 6 Calibration open
- 7 What you want to hear open
- 8 Retrieval open
Under the hood
How a model runs, reads and is fine-tuned. For anyone who runs models locally, fine-tunes them, or wants to start.
- 1 Shrinking a model · Local models open
- 2 Fitting in memory · Local models open
- 3 Embeddings open
- 4 Sampling settings · Local models open
- 5 LoRA · Fine-tuning open
- 6 Learning rate · Fine-tuning open
- 7 Overfitting · Fine-tuning open
- 8 Evaluating a model open