rasbt / reasoning-from-scratch
Implement a reasoning LLM in PyTorch from scratch, step by step
Why this job: says: from scratch
What it does
This repository contains the code for developing an LLM reasoning model and is the official code repository for the book *Build a Reasoning Model (From Scratch)*.
Get started
No single install command. Read the steps in the README (opens in new tab)
- Maintenance
- Active
- Last commit 7 days ago
- Stars
- 5,808
- +41 this week
- Licence
- Apache-2.0
- Allows business use
- Downloads for
- None listed
- No release files
- Latest version
- v1.0
- Released 5 months ago
- Built with
- Jupyter Notebook
- 67% of the code
Is it looked after?
- Contributors
- 3
- Last 90 days
- Issues
- 97% closed
- 2 still open
- Pull requests
- 192 merged
- 0 waiting
- Releases
- 1
- 1 in the last year
- No contributing guide
- No security policy
- No code of conduct
Similar repos
| Repo | Stars | Last commit | Licence | Downloads for |
|---|---|---|---|---|
| weitianxin / Awesome-Agentic-Reasoning | 1,429 | 49 days ago | MIT | No downloads |
| huggingface / alignment-handbook | 5,711 | 47 days ago | Apache-2.0 | No downloads |
| analyticalrohit / llms-from-scratch | 386 | 5 months ago | MIT | No downloads |
More: languages, topics, project record and preview image
Languages
- Jupyter Notebook 67%
- Python 33%
- Shell <1%
Topics
- ai
- artificial-intelligence
- deep-learning
- large-language-models
- llms
- machine-learning
- python
- pytorch
- reasoning
- reinforcement-learning
- chain-of-thought
- distillation
Project record
- JobLists and guides
- StatusListed
- Commits306
- Forks937
- Watching67
- Stars in 28 days+422
- CreatedMar 4, 2025
- First seen by usNov 7, 2026
- CheckedNov 9, 2026
