Verified project record
rasbt/LLMs-from-scratch
A step-by-step educational tutorial for implementing a small-but-functional GPT-like large language model from scratch using PyTorch and Python. It is designed for learning the internal mechanics of LLMs, including data preparation, attention mechanisms, pretraining, and finetuning.