Train Your Own LLM From Scratch
Summary
Provides a hands-on guide to building and training a GPT-style model from scratch on a laptop, without reliance on prebuilt APIs. Covers tokenizer, transformer, training loop, and inference, with local and Colab setup and references to nanoGPT and related papers.