gitpulse

rasbt/LLMs-from-scratch

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

108,501 stars16,789 forksJupyter NotebookNOASSERTIONpushed 2026-11-09

View on GitHub →

Star momentum

Today+66 (+0.1%)
This week+428 (+0.4%)
This month+1,799 (+1.7%)

Topics

gptlarge-language-modelsllmpythonpytorchaiartificial-intelligencelanguage-modeldeep-learningmachine-learningfrom-scratchgenerative-aitransformersattention-mechanismfinetuninginstruction-tuningnatural-language-processingpretrainingtokenizer