transformer.dataglanz.com
I love watching old hindi ___
Our goal: teach a machine to predict the missing word.
Foundations
neuron.py
mlp.py
backprop.py
embedding.py
Recurrent
rnn.py
lstm.py
gru.py
Transformer
attention.py
transformer.py
dims_walkthrough.py
Next Word
predict_rnn.py
predict_transformer.py
Pure Python → Pyodide (browser) · torch → HuggingFace Space
// Click Run to execute

The Prediction Playground

Watch how each model predicts the next word differently — and see how much better they get over generations.

Top Predictions
Press Predict →
Attention Heatmap

How the answer evolved over 40 years