This repository provides code for building a GPT-like LLM from scratch using PyTorch, serving as the official companion to Sebastian Raschka's book. It guides users through implementing core components like attention mechanisms and training pipelines.
Highlights
Step-by-step implementation of a ChatGPT-like LLM from the ground up using PyTorch.
Covers key stages including text data processing, attention mechanisms, and model training.
Includes code for loading and finetuning larger pretrained models.
Serves as the official companion code for Sebastian Raschka's published book.
Designed for educational purposes to help users understand LLM internals.
PyTorchLarge Language ModelsGPT ArchitectureNatural Language ProcessingDeep Learning
Discover Similar Content
llm-chronicles.com
LLM Chronicles
A fast-paced whiteboard animation series unraveling Deep Learning and Large Language Models. Dive into core concepts, from Neural Networks basics to t...
github.com
angelos-p/llm-from-scratch
Contribute to angelos-p/llm-from-scratch development by creating an account on GitHub.
github.com
GitHub - dair-ai/Prompt-Engineering-Guide: 🐙 Guides, papers, lecture, notebooks and resources for prompt engineering
🐙 Guides, papers, lecture, notebooks and resources for prompt engineering - dair-ai/Prompt-Engineering-Guide