Skip to content
The Internet Compass

Repository

rasbt/LLMs-from-scratch

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

aiartificial-intelligenceattention-mechanismdeep-learningfinetuningfrom-scratchgenerative-aigpt
★ 104.4k16k forksJupyter NotebookView on GitHub ↗

Homepage

https://amzn.to/4fqvn0D ↗

Sourced from GitHub · Updated September 6, 2026

Data from the GitHub REST API. Not affiliated with or endorsed by GitHub.

View original source ↗Spot an error on this page? Let us know →

FAQ

Common questions

What is rasbt/LLMs-from-scratch?

Implement a ChatGPT-like LLM in PyTorch from scratch, step by step

What license does rasbt/LLMs-from-scratch use?

rasbt/LLMs-from-scratch is licensed under NOASSERTION.

How popular is rasbt/LLMs-from-scratch?

rasbt/LLMs-from-scratch has 104.4k stars and 16k forks on GitHub, with 1 open issues.

Is rasbt/LLMs-from-scratch actively maintained?

The last push to rasbt/LLMs-from-scratch was September 1, 2026.