reasoning-from-scratch
Implement a reasoning LLM in PyTorch from scratch, step by step
- ai
- artificial-intelligence
- deep-learning
- large-language-models
- llms
- machine-learning
- python
- pytorch
- reasoning
- reinforcement-learning
- chain-of-thought
- distillation
- grpo
- inference-time-scaling
- llm
- Stars
- 5,351
- Forks
- 845
- + today
- +1
- Created
- 1y
Ranking data as of October 5, 2026 (UTC).
Star History
Today, hour by hour
01
Overview
Implement a reasoning LLM in PyTorch from scratch, step by step It ranks #3148 on GitTiger, gaining +1 star on October 5, 2026 (UTC).
The project is written in Jupyter Notebook and has 845 forks. It was created 1y ago.
Installation
git clone https://github.com/rasbt/reasoning-from-scratch.git
cd reasoning-from-scratch
# see README for setup