๐Ÿงช Interactive Playground โ€” Experiment with LLM concepts
Interactive

Playground

Experiment with LLM concepts hands-on. Tokenize text, visualize attention, explore activation functions, and more.

๐Ÿ“ Tokenizer
See how text is split into tokens
Tokens:
Token count: 0 | Character count: 0
๐Ÿ“ˆ Activation Functions
Visualize ReLU, Sigmoid, Tanh, GELU
f(x) = max(0, x)
๐ŸŽฏ Attention Visualization
See how tokens attend to each other
Attention Matrix: Click a word to see what it attends to
โž• Vector Arithmetic
Explore word analogies with embeddings
โˆ’ +
Result: queen
๐ŸŒก๏ธ Temperature Sampling
See how temperature affects probability distribution
Temperature (T) 1.0
Next token probabilities:
๐Ÿง  Simple Neural Net
Play with weights and see the output change
Input
Weight (w)
w = 1.5
Output
3.0
output = ReLU(w ร— input) = max(0, w ร— input)