Back to AI Repos
Llm

rasbt/LLMs-from-scratch

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

rasbt/LLMs-from-scratch is an open-source project in the llm space, written mainly in Jupyter Notebook.

It sits at around 104.3k stars and 16k forks, and was last pushed on 2026-09-01.

Everything on this page — the summary, the category and the how-to — is written by HowToPrompts; the link below goes to the original project.

CategoryLlm
Stars104.3k
Forks16k
LanguageJupyter Notebook
Last pushed2026-09-01
Topicsai, artificial-intelligence, attention-mechanism, deep-learning
git clone https://github.com/rasbt/LLMs-from-scratch.git

How to use it

  1. Clone the repository with the command above.
  2. Follow its own README for dependencies and setup.
  3. Check the open issues and last-push date before you build on it.
Compiled and written by HowToPrompts from public sources. Open on GitHub ↗
← Back to AI Repos