Home Projects llms-from-scratch
llms-from-scratch

llms-from-scratch

by analyticalrohit · GitHub

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

# ai# artificial-intelligence# chatgpt# deep-learning
View on GitHub
⭐ Stars
376
🍴 Forks
84
📜 License
MIT
Commercial use OK
📅 Created
2026
🔄 Last commit
1 mo ago
🏷️ Category
ai
💻 Language
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
377376
2026-07-202026-07-22
📄 About

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

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.

🏅 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 →
🧬 Related projects