rasbt/LLMs-from-scratch S

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

View on GitHub ↗

Rank#73
Future score82.8/100
Stars107.8k
Forks16.6k
stars / year32.8k
LanguageJupyter Notebook
LicenseNOASSERTION
Size17 MB
Created2023-07-23
Last update2026-10-30

rasbt/LLMs-from-scratch is a model / machine-learning project written in Jupyter Notebook, first published on 2023-07-23. It has 107,774 stars and 16,648 forks, and gains about 32,781 new stars a year. Its code was last updated 5 days ago. It is released under the NOASSERTION license: check the repository's license file before using it in a product.

OpenShelf gives it a future score of 82.8/100 (tier S) because it shows: very fast growth, a huge community, active updates, a hot AI trend.

Get it

Clone a lightweight copy (latest commit only):

git clone --depth 1 https://github.com/rasbt/LLMs-from-scratch.git

Related repos