Live Prediction Viewer

Type any sentence and see what GPT-2 predicts comes next at each token position. Click a token in the attention strip to see what meaning it contributes to the prediction. The model runs entirely in your browser — no data leaves your machine.

Loading GPT-2 (124M parameters)
Initializing…
First visit downloads ~210 MB (model + weights). Cached for subsequent visits.