LibraryLLMs from Scratch
Browse the library
rasbt / LLMs-from-scratch

LLMs from Scratch

Code for the book Build a Large Language Model (From Scratch): implement a ChatGPT-like LLM in PyTorch step by step

Explore on GitHub

Explore the source

This repository is part of the community-maintained Awesome Repositories catalog. Its description and license information come from the catalog README.

Visit the repository to check its documentation, examples, requirements, and current status before choosing it for your project or learning plan.

Help others find their starting point

Used this resource? Contribute selection notes about who it helps and what to expect.