A standalone WebGPU implementation of the companion write-up: a pile of text in, a tiny model that writes and answers questions out. Append ?gradcheck to the URL to run the finite-difference gradient check instead.
(train for a few hundred steps first)
Ask wraps your words as Q: … A:, the format the training text uses for questions. Continue
feeds them in raw and lets the model keep writing. Things it can know: where each person lives, their job, their pet's name and
color, their favorite food, and sums of small numbers.