Video+code lecture on building nanoGPT from scratch
☆4,776Aug 13, 2024Updated last year
Alternatives and similar repositories for build-nanogpt
Users that are interested in build-nanogpt are comparing it to the libraries listed below
Sorting:
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆54,071Nov 12, 2025Updated 3 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,347Jul 1, 2024Updated last year
- LLM101n: Let's build a Storyteller☆36,432Aug 1, 2024Updated last year
- LLM training in simple, raw C/CUDA☆29,054Jun 26, 2025Updated 8 months ago
- llama3 implementation one matrix multiplication at a time☆15,242May 23, 2024Updated last year
- NanoGPT (124M) in 2 minutes☆4,734Feb 27, 2026Updated last week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,842Aug 8, 2024Updated last year
- Inference Llama 2 in one file of pure C☆19,232Aug 6, 2024Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,206Mar 1, 2026Updated last week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,845Aug 15, 2024Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆87,151Updated this week
- Implementation for MatMul-free LM.☆3,056Dec 2, 2025Updated 3 months ago
- Minimal reproduction of DeepSeek R1-Zero☆12,896Feb 27, 2026Updated last week
- ☆4,544Jan 31, 2024Updated 2 years ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,902May 3, 2024Updated last year
- An autoregressive character-level language model for making more things☆3,703Jun 4, 2024Updated last year
- Neural Networks: Zero to Hero☆20,598Aug 18, 2024Updated last year
- Fully open reproduction of DeepSeek-R1☆25,927Nov 24, 2025Updated 3 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs