Home Projects llms-from-scratch
llms-from-scratch
Jupyter Notebook

llms-from-scratch

Build a ChatGPT like LLM from scratch in PyTorch, explained step by step.

by analyticalrohit · GitHub
Stars
Forks
Trending
License
Created
Last commit
Category
aiartificial-intelligencechatgptMITJupyter Notebook
View on GitHub
In plain words

Follow a step-by-step guide to build a ChatGPT-like language model from scratch using PyTorch.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
llms-from-scratch — GitHub preview card
📈 Star history
383376
2026-07-202026-08-31
📈 Track llms-from-scratch

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

Build a ChatGPT like LLM from scratch in PyTorch, explained step by step.

llms-from-scratch has 383 stars on GitHub. It has been forked 87 times. llms-from-scratch is written mainly in Jupyter Notebook. It has been in active development since 2026. llms-from-scratch is available under the MIT license. Its main topics are ai, artificial-intelligence, chatgpt, deep-learning.

Frequently asked questions

What is llms-from-scratch?

Build a ChatGPT like LLM from scratch in PyTorch, explained step by step.

Is llms-from-scratch open source?

llms-from-scratch is an open-source project. It is released under the MIT license.

Is llms-from-scratch free?

Yes. llms-from-scratch is free and open source — you can use, modify and self-host it.

What license does llms-from-scratch use?

llms-from-scratch is available under the MIT license.

What language is llms-from-scratch written in?

llms-from-scratch is written mainly in Jupyter Notebook.

🏅 Maintainer of this project?
olud.ai badge — llms-from-scratch

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=analyticalrohit-llms-from-scratch)](https://olud.ai/project/analyticalrohit-llms-from-scratch.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.