reasoning-from-scratch
rasbt/reasoning-from-scratch
Implement a reasoning LLM in PyTorch from scratch, step by step
5,077stars
Forks
782
Open issues
2
Watchers
5,077
Size
4.6 MB
Jupyter NotebookApache License 2.0
aiartificial-intelligencechain-of-thoughtdeep-learningdistillationgrpoinference-time-scalinglarge-language-modelsllmllmsmachine-learningmath-reasoningpythonpytorchreasoningreasoning-modelsreinforcement-learningrlhftest-time-compute
Created: Mar 4, 2025
Updated: Aug 28, 2026
Last push: Aug 27, 2026