Skip to content
Git Podium
Contact
rasbt avatar

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 pending

Implement 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

Star velocity36.2 / 50

89 stars/day (lifetime average until snapshot history builds)

Community12.4 / 20

fork-to-star ratio 0.155

Freshness29.2 / 30

last push 1 days ago

How the score works

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

#12

The open-source app everyone uses to manage agents at work

● TypeScript★ 120k▲ 430/day⟳ today
#21

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.

● Python★ 188k▲ 138.3/day⟳ today
#22

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

● JavaScript★ 318k▲ 984.6/day⟳ 5d ago
#23

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.

● Python★ 158k▲ 638.9/day⟳ today

GitHub token (optional)

Live search and Analyze call the public GitHub API from your browser (60 requests/hour). Add a fine-grained token with public read-only access to raise the limit. It stays in this browser's localStorage and is sent only to api.github.com.