rasbt/LLMs-from-scratch
Implement a ChatGPT-like LLM in PyTorch from scratch, step by step
Surging · #87 overall · #26 in LLM & AI · data as of 2026-12-06
Stars
110k
Stars / day
89
Forks
17k
Fork ratio
0.155
Open issues
15
Last push
1d ago
What is LLMs-from-scratch?
Template summary · AI explainer pendingImplement a ChatGPT-like LLM in PyTorch from scratch, step by step. LLMs-from-scratch is written mainly in Jupyter Notebook and maintained by rasbt on GitHub, with 110k stars and 17k forks.
Tech stack
- Python
- Jupyter
Use cases
- • Adding large-language-model features to apps
Health
- • Actively maintained (pushed in the last week)
- • No licence detected; check before reuse
- • Momentum 78/100, about 89 stars/day
Momentum breakdown
89 stars/day (lifetime average until snapshot history builds)
fork-to-star ratio 0.155
last push 1 days ago
Star history
Star history starts 2026-12-06. The sparkline fills in from real daily snapshots; Git Podium never models history.
Similar repos with momentum
The open-source app everyone uses to manage agents at work
Learn AI Engineering! Learn it. Build it. Ship it for others.
AutoGPT gives you a team of AI experts for research, content, sales, and operations. Use the managed platform or self-host with your own infrastructure and model access.
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local deterministic AST parsing, every edge explained, no vector store.