LLMs from Scratch

Build a GPT-like model in PyTorch

Sebastian Raschka's free companion code: step-by-step PyTorch notebooks that implement a ChatGPT-style LLM from scratch. The book is paid; this repo is not.

📚 Learning github.com
learningai-tools
Pricing
Free
Type
Learning
Platforms
web
Popularity
★ 102k
Found via
GitHub
Link
✓ Reached 3 Oct 2026
Last commit
2 Oct 2026
Reviewed by
Automated checks

In collections

Side by side

ResourcePricingTypeLicencePlatforms
LLMs from ScratchFreeLearning—web
AI Engineering from ScratchFreeLearningMITweb
Learn Claude CodeFreeLearningMITweb
AI Agents for BeginnersFreeLearningMITweb
RAG TechniquesFreeLearning—web
Hello AgentsFreeLearning—web
AI Engineering HubFreeLearningMITweb

Similar resources