vivekkalyanarangan30/llm_from_scratch resource
None observed · 2026-08-28
Health v2 · maintenance only
39/100
- Activity 48
- Release rhythm 35
- Longevity 27
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 389
- days_rel: n/a
- days_push: 314
- n_releases_24m: 0
Adoption not part of the score
1102 stars · 287 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A hands-on Python/PyTorch curriculum that builds large language models from scratch, covering transformer architecture, training, modern improvements like RoPE and MoE, and alignment via SFT, reward modeling, and PPO-based RLHF. It is structured as a step-by-step educational course with runnable code rather than a production library.
Use cases
- learn how transformers and self-attention work from first principles
- train a tiny LLM from scratch in PyTorch
- understand RLHF and PPO implementation
- implement mixture-of-experts layers
- learn modern LLM techniques like RoPE, RMSNorm, and KV cache
- study the full LLM pipeline from pretraining to alignment
When to choose
- you want to learn LLM internals by coding them yourself
- you need a structured curriculum covering pretraining through RLHF
- you prefer PyTorch-based educational code over high-level frameworks
When to avoid
- you need a production-ready training framework
- you want pretrained models or inference serving
- you need distributed multi-node training at scale
Facets
learning-resource · maturity active
llm-training deep-learning machine-learning large-language-models deep-learning machine-learning tutorials python cross-platform pytorch transformer rlhf mixture-of-experts hands-on-curriculum nano-gpt-style education gpu
1 source
- readme: https://github.com/vivekkalyanarangan30/llm_from_scratch · fetched 2026-08-28 · ccc425b1eb1f
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| vivekkalyanarangan30/llm_from_scratch | main | 39 |
For agents
markdown · JSON · MCP: product_card(name="vivekkalyanarangan30/llm_from_scratch")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem