Sign inGet started
Repository · GitHub

rasbt/LLMs-from-scratch

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

Ownerrasbt
Stars106,530
Forks16,391
Main languageJupyter Notebook
Created23 July 2023
Last updated at source2 October 2026
jupyter notebookaiartificial-intelligenceattention-mechanismdeep-learningfinetuningfrom-scratchgenerative-aigptinstruction-tuninglanguage-modellarge-language-modelsllmmachine-learningnatural-language-processingpretrainingpythonpytorchtokenizertransformers

More from rasbt

Silytics shows public metadata from GitHub and links to the original. Information may be incomplete or out of date. Last refreshed 14 October 2026. Licenses and terms of the original apply to the work itself. Not financial, legal or professional advice.