Video+code lecture on building nanoGPT from scratch
☆4,839Aug 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.☆55,030Nov 12, 2025Updated 4 months ago
- LLM training in simple, raw C/CUDA☆29,216Jun 26, 2025Updated 8 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,375Jul 1, 2024Updated last year
- LLM101n: Let's build a Storyteller☆36,559Aug 1, 2024Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,046Aug 8, 2024Updated last year
- llama3 implementation one matrix multiplication at a time☆15,252May 23, 2024Updated last year
- NanoGPT (124M) in 2 minutes☆4,848Updated this week
- Inference Llama 2 in one file of pure C☆19,262Aug 6, 2024Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,950Aug 15, 2024Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,228Mar 6, 2026Updated 2 weeks ago
- ☆4,574Jan 31, 2024Updated 2 years ago
- An autoregressive character-level language model for making more things☆3,745Jun 4, 2024Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆88,603Mar 7, 2026Updated 2 weeks ago
- Implementation for MatMul-free LM.☆3,060Dec 2, 2025Updated 3 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,922May 3, 2024Updated last year
- Neural Networks: Zero to Hero☆20,897Aug 18, 2024Updated last year
- Minimal reproduction of DeepSeek R1-Zero☆12,963Feb 27, 2026Updated 3 weeks ago
- Fully open reproduction of DeepSeek-R1☆25,953Nov 24, 2025Updated 3 months ago
- Minimalistic 4D-parallelism distributed training framework for education purpose☆2,116Aug 26, 2025Updated 6 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆73,479Updated this week
- Fast and memory-efficient exact attention☆22,832Updated this week
- The official Meta Llama 3 GitHub site☆29,279Jan 26, 2025Updated last year
- A PyTorch native platform for training generative AI models☆5,162Updated this week
- Train transformer language models with reinforcement learning.☆17,697Updated this week
- Vane is an AI-powered answering engine.☆33,063Mar 10, 2026Updated last week
- The official PyTorch implementation of Google's Gemma models☆5,611May 30, 2025Updated 9 months ago
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆77,102Feb 5, 2026Updated last month
- Efficient Triton Kernels for LLM Training☆6,216Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,187Aug 22, 2025Updated 6 months ago
- Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, DeepSeek, Qwen, Llama, Gemma, TTS 2x faster with 70% less VRAM.☆54,096Updated this week
- The simplest, fastest repository for training/finetuning small-sized VLMs.☆4,729Oct 27, 2025Updated 4 months ago
- PyTorch native post-training library☆5,707Updated this week
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆18,261Mar 3, 2026Updated 2 weeks ago
- verl: Volcano Engine Reinforcement Learning for LLMs☆19,919Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆17,599Feb 8, 2026Updated last month
- Modeling, training, eval, and inference code for OLMo☆6,404Nov 24, 2025Updated 3 months ago
- LLM inference in C/C++☆98,098Updated this week
- UNet diffusion model in pure CUDA☆656Jun 28, 2024Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆158,060Updated this week