roneneldan/TinyStories
Viewer โข Updated โข 2.14M โข 153k โข 1.23k
A ~30M-parameter GPT trained from scratch on TinyStories with unmodified nanoGPT (MIT, Andrej Karpathy). Trained on Kaggle.
KekGPT/nanoGPT/out-kekgpt/ckpt.pt (iter 8000, best val loss 1.4365, 360,488,092 bytes), exact file from training, not modifiedgpt2KekGPT.zip has the same folder in one fileKekGPT/kekgpt_ui_cell.py: the notebook cell for the top-10 next-token UI (Flask + optional Cloudflare quick tunnel). Softmax is over the full 50304 logits with no masking or renormalizing; ids >= 50257 show as "[unused id N]". It runs on CPU (about 0.09-0.28 s per call, measured on a 2-thread Kaggle CPU). Edit the s= path to your nanoGPT folder.KekGPT/samples.txt: sample stories from the checkpointKekGPT/nanoGPT/ with their MIT license. Training data is TinyStories (CDLA-Sharing-1.0), not included.Small model trained on children's stories: it writes simple fiction and is not a general assistant.