awesome/repos

#118 of 5,656 by stars

rasbt/LLMs-from-scratch

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

Open on GitHubWebsiteOpen comparison
Stars
106,839
Forks
16,451
Created
3y ago
Last push
16d ago

Momentum

Per day
+72
Per 7 days
+427
Per 30 days
+1.6K
Rank, 7 days
-1

Stars over time

105K105.5K106K106.5K107KSep 17Oct 5Oct 12Oct 19
View as table
DateStars
Sep 17, 2026105,086
Oct 5, 2026106,041
Oct 12, 2026106,412
Oct 19, 2026106,839

Understand this repo

Open it in a tool that explains, diagrams or digests the code.

Similar repositories

Ranked by how many distinctive topics they share with this one.

  1. 2535

    Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We also show you how to solve end to end problems using Llama model family and using them on various provider services

    18.6K+3 7d2.8KJupyter Notebook5mo ago
  2. 1644

    Implementation of Vision Transformer, a simple way to achieve SOTA in vision classification with only a single transformer encoder, in Pytorch

    25.6K+9 7d3.5KPython6d ago
  3. 1161

    Pretrain, finetune ANY AI model of ANY size on 1 or 10,000+ GPUs with zero code changes.

    31.4K+20 7d3.8KPython7d ago
  4. 2435

    Materials for the Learn PyTorch for Deep Learning: Zero to Mastery course.

    19.2K+57 7d5.2KJupyter Notebook22d ago
  5. 279

    Learn AI Engineering! Learn it. Build it. Ship it for others.

    71.2K+3.4K 7d12.5KPythontoday
  6. 4924

    💥 Fast State-of-the-Art Tokenizers optimized for Research and Production

    11.2K+18 7d1.2KRusttoday