how-to-train-your-gpt
Build a modern LLM from scratch. Every line commented. Explained like we are five.
by angelos-p
An open-source project from the GitHub Signals archive. The repository has the documentation and setup steps.
Saved projects stay in this browser. No account needed.
Projects that share its topics · The archive
Build a modern LLM from scratch. Every line commented. Explained like we are five.
Build a ChatGPT like LLM from scratch in PyTorch, explained step by step.
code for "Tying the Loop - Tied Expert Layers in Mixture-of-Experts Language Models"
GPT-2-style LLM built from scratch in C/CUDA with hand-written backprop, BPE tokenizer, FlashAttention, pretraining, and SFT.