analyticalrohit / llms-from-scratch
Build a ChatGPT like LLM from scratch in PyTorch, explained step by step.
Why this job: says: from scratch






What it does
This repository is a hands on guide to building a ChatGPT like LLM in PyTorch. It breaks the architecture into simple parts and explains each one step by step.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 5 months ago
- Stars
- 386
- On GitHub
- Licence
- MIT
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- None yet
- No releases
- Built with
- Jupyter Notebook
- 100% of the code
Is it looked after?
- Contributors
- 0
- Last 90 days
- Issues
- 100% closed
- 0 still open
- Pull requests
- 7 merged
- 1 waiting
- Releases
- None
- Never published
- No contributing guide
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| raiyanyahya / how-to-train-your-gpt | 4,177 | 15 days ago | MIT | No downloads |
| rasbt / reasoning-from-scratch | 5,811 | 8 days ago | Apache-2.0 | No downloads |
| FareedKhan-dev / train-llm-from-scratch | 13,179 | 39 days ago | MIT | No downloads |
More: languages, topics and project record
Languages
- Jupyter Notebook 100%
Topics
- ai
- artificial-intelligence
- chatgpt
- deep-learning
- generative-ai
- gpt
- large-language-models
- llms
- machine-learning
- neural-networks
- python
- pytorch
Project record
- JobLists and guides
- StatusListed
- Commits8
- Forks90
- Watching7
- Stars in 28 days+3
- CreatedJan 16, 2026
- First seen by usNov 7, 2026
- CheckedNov 10, 2026
