rasbt/LLMs-from-scratch
Learn to build a large language model from scratch with PyTorch.
Rising: +478 stars this week
- 107kstars
- 17kforks
- 2open issues
- updated 2mo ago
LLMs-from-scratch star history
+478 this week
About LLMs-from-scratch
LLMs-from-scratch is a free, open-source AI resource list by rasbt, written mainly in Jupyter Notebook. Learn to build a large language model from scratch with PyTorch. It has 107k GitHub stars and 17k forks, and was last updated 2mo ago. GitHub doesn't detect a standard license, so check the repository before using it commercially.
Similar free tools
500-AI-Machine-learning-Deep-learning-Computer-vision-NLP-Projects-with-code38k stars · A curated list of 500+ AI, ML, DL, CV, and NLP projects with code.
netron34k stars · Visualizes neural network, deep learning, and machine learning models.
deep-learning-drizzle13k stars · Curated lectures and resources for deep learning and AI enthusiasts.
machine-learning-for-trading22k stars · Code and resources for the 3rd edition of Machine Learning for Trading book.
ColossalAI41k stars · Provides GPU cloud services and APIs for training large AI models.
cs249r_book30k stars · A comprehensive textbook series on machine learning systems engineering.
LLMs-from-scratch FAQ
Can I use LLMs-from-scratch commercially?
Unclear. No license was detected, which legally means all rights are reserved. Ask the author before using it commercially. This is a plain-English summary, not legal advice.
Is LLMs-from-scratch free?
Yes. LLMs-from-scratch is open source and free to use. GitHub doesn't detect a standard license, so check the repository before using it commercially.
Does LLMs-from-scratch run on a Mac?
The project doesn't say. Check its installation guide before you start.
Does LLMs-from-scratch need a GPU?
The project doesn't state hardware needs. AI models generally run much faster with a GPU.
Is LLMs-from-scratch still maintained?
It was last updated 2mo ago. Check recent issues on GitHub to judge how active it is.
How hard is LLMs-from-scratch to set up?
Hard: typically 1–3 hours, using build from source.
What are alternatives to LLMs-from-scratch?
Similar free, open-source tools include 500-AI-Machine-learning-Deep-learning-Computer-vision-NLP-Projects-with-code, netron, deep-learning-drizzle, machine-learning-for-trading.
Related topics
Maintain LLMs-from-scratch? Add a FreeAIRepo badge to your README
[](https://www.freeairepo.com/repo/rasbt/LLMs-from-scratch)