Visualisations
A gallery of the interactive React components used across this site.
Counter
A minimal interactive island: local state only, no external data.
Float32 Viewer
An interactive IEEE-754 float32 bit-layout visualizer. Drag the slider to watch the sign, exponent, and significand bits flip live.
Integer Bit Viewer
An interactive integer bit-layout visualizer for signed and unsigned values, updating each bit as you drag.
Precision Rounder
Drag a value across the BF16, FP8, and FP4 grids to feel how rounding error grows as bit width shrinks.
Prefill vs Decode — Forward Passes
The same staircase drawn as forward passes: prefill swallows the whole prompt in one pass (about the cost of generating a single token), while decode spends a full pass on every token.
Autoregressive Generation
A timeline of token-by-token generation, showing how each new token is fed back in as input for the next step.
Speculative Decoding
Animates the draft-then-verify loop: a small model proposes several tokens, the target model checks them in one pass, and only the accepted prefix survives.
Bar Chart
A general-purpose, data-driven bar chart island for embedding small datasets in prose.