Video+code lecture on building nanoGPT from scratch
☆5,298Aug 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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆60,304Nov 12, 2025Updated 7 months ago
- LLM training in simple, raw C/CUDA☆30,362Jun 26, 2025Updated last year
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,598Jul 1, 2024Updated last year
- LLM101n: Let's build a Storyteller☆37,383Aug 1, 2024Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆16,483Aug 8, 2024Updated last year
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- llama3 implementation one matrix multiplication at a time☆15,225May 23, 2024Updated 2 years ago
- NanoGPT (124M) in 90 seconds☆5,438Jun 21, 2026Updated last week
- Inference Llama 2 in one file of pure C☆19,682Aug 6, 2024Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,628Aug 15, 2024Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,449Updated this week
- ☆4,796Jan 31, 2024Updated 2 years ago
- An autoregressive character-level language model for making more things☆4,048Jun 4, 2024Updated 2 years ago
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆97,621Jun 2, 2026Updated 3 weeks ago
- Implementation for MatMul-free LM.☆3,071Dec 2, 2025Updated 6 months ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,999May 3, 2024Updated 2 years ago
- Neural Networks: Zero to Hero☆23,335Aug 18, 2024Updated last year
- Minimal reproduction of DeepSeek R1-Zero☆13,180Feb 27, 2026Updated 4 months ago
- Fully open reproduction of DeepSeek-R1☆26,345Apr 2, 2026Updated 2 months ago
- Minimalistic 4D-parallelism distributed training framework for education purpose☆2,228Aug 26, 2025Updated 10 months ago
- Fast and memory-efficient exact attention☆24,221Jun 22, 2026Updated last week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆83,677Updated this week
- The official Meta Llama 3 GitHub site☆29,287Jan 26, 2025Updated last year
- A PyTorch native platform for training generative AI models☆5,466Updated this week
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- Train transformer language models with reinforcement learning.☆18,701Updated this week
- The official PyTorch implementation of Google's Gemma models☆5,697May 30, 2025Updated last year
- Vane is an AI-powered answering engine.☆35,489Apr 11, 2026Updated 2 months ago
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆80,393Feb 5, 2026Updated 4 months ago
- Efficient Triton Kernels for LLM Training☆6,456Jun 23, 2026Updated last week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,224Aug 22, 2025Updated 10 months ago
- The simplest, fastest repository for training/finetuning small-sized VLMs.☆4,930Oct 27, 2025Updated 8 months ago
- Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆67,571Updated 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,378May 19, 2026Updated last month
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- PyTorch native post-training library☆5,777Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,577May 24, 2026Updated last month
- verl/HybridFlow: A Flexible and Efficient RL Post-Training Framework☆22,173Updated this week
- Modeling, training, eval, and inference code for OLMo☆6,559Nov 24, 2025Updated 7 months ago
- LLM inference in C/C++☆118,422Updated this week
- UNet diffusion model in pure CUDA☆660Jun 28, 2024Updated 2 years ago
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆161,885Updated this week