Story
– tok/s
0 tokens
context 0/512
loading the model…
A 15-million-parameter language model whose weights are all −1, 0 or +1. It was trained on short children's stories and runs here, in WebAssembly, from a 4.6 MB file.
Every linear layer inside the network is a grid of trits. Pick one to see it: each pixel is a single weight, −1, 0 or +1. The layer multiplies its input by this grid and then by one number, γ.