#565 · Primary category: Education & Research
build-nanogpt
Video+code lecture on building nanoGPT from scratch
Project last updated:08/13/24
GitHub Stars
5.5K
Forks
885
Contributors
4
License
Other
Why we included this project
For anyone who has read about transformers and still felt the gap between theory and a model that actually trains, this repo is the bridge. It pairs a video lecture with clean, step-by-step git commits that take you from an empty file to a working GPT-2 (124M) reproduction, so you can watch the pieces click together as you go. The training code is practical enough that a fresh pretraining run costs about an hour and under ten dollars on a rented GPU box, which makes it a friendly first real training project. It deliberately sticks to pretraining on internet documents and leaves chat fine-tuning aside, so you come away with a clear picture of the core training loop before layering on conversation. Individuals self-studying deep learning and teams that want an inspectable baseline they can actually run and modify will both find a solid starting point.
Articles for this project
No articles for this project yet.
To suggest a topic or contribute an article, contact us.
Related projects in this category
prompts.chat
f.k.a. Awesome ChatGPT Prompts. Share, discover, and collect prompts from the community. Free and open source — self-host for your organization with complete privacy.
JavaGuide
Java Interview & Backend General Interview Guide, covering computer fundamentals, databases, distributed systems, high concurrency, system design, and AI application development.
system-prompts-and-models-of-ai-tools
A curated collection of system prompts, internal tools, and AI models from popular AI assistants and coding agents.
30-seconds-of-code
Coding articles to level up your development skills
generative-ai-for-beginners
21 Lessons, Get Started Building with Generative AI