10M params in the browser aren't fast — expect several seconds for short samples, more for longer ones.
Output
ready
Press generate to speak with the Bard.
← examples · Shakespeare GPT
A 10 million parameter transformer, trained from scratch in a hand-written C++ ML framework, no PyTorch, on the complete works of Shakespeare. Quantized to int8 so the whole model fits in an 11 MB download.
10M params in the browser aren't fast — expect several seconds for short samples, more for longer ones.