reasoning-from-scratch

by rasbt · Machine Learning

Implement a reasoning LLM in PyTorch from scratch, step by step

New0 ratings5,173 starsActive
Machine LearningAI ApplicationJupyter NotebookPython
Open project ↗↓ Download v1.0GitHub⚑ Report
reasoning-from-scratch preview

About this project

Build A Reasoning Model (From Scratch) 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). (Printed in color.) In Build a Reasoning Model (From Scratch), you will learn and understand how a reasoning large language model (LLM) works. Reasoning is one of the most exciting and important recent advances in improving LLMs, but it’s also one of the easiest to misunderstand if you only hear the term reasoning and read about it in theory. This is why this book takes a hands-on approach. We will start with a pre-trained base LLM and then add reasoning capabilities ourselves,…

Technologies

ShellaiPythonartificial-intelligenceJupyter Notebookchain-of-thought

Project health

Actively maintained
Last update2 days ago
Contributors5
Latest releasev1.0
Open issues & PRs2
LicenseApache-2.0
On GitHubsince 2025

GitHub

5,173
stars
805
forks
5
contributors
2
open issues & PRs
Jupyter Notebook
language
2 days ago
last commit
View on GitHub ↗All releases ↗

Reviews

out of 5 · 0 ratings
★★★★★
0%
★★★★
0%
★★★
0%
★★
0%
0%
Sign in to write a review
No reviews yet
Be the first to review reasoning-from-scratch.

Built by

rasbt
Imported from GitHub · not yet claimed on GitPalace
View developer pageSign in with GitHub to claim

Maintain rasbt/reasoning-from-scratch? Claiming verifies admin access through your GitHub account and gives you control of this listing.

You might also like