The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆60,304Nov 12, 2025Updated 7 months ago
Alternatives and similar repositories for nanoGPT
Users that are interested in 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:
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,628Aug 15, 2024Updated last year
- Inference Llama 2 in one file of pure C☆19,682Aug 6, 2024Updated last year
- LLM inference in C/C++☆118,422Updated this week
- LLM training in simple, raw C/CUDA☆30,362Jun 26, 2025Updated last year
- The agent engineering platform.☆140,319Updated this week
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆83,677Jun 24, 2026Updated last week
- Inference code for Llama models☆59,475Jan 26, 2025Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆161,885Updated this week
- 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
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,486May 1, 2026Updated 2 months ago
- LlamaIndex is the leading document agent and OCR platform☆50,340Jun 20, 2026Updated last week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,249Jul 17, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,586Updated this week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,387Aug 17, 2024Updated last year
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,598Jul 1, 2024Updated 2 years ago
- Fast and memory-efficient exact attention☆24,221Jun 22, 2026Updated last week
- ☆4,796Jan 31, 2024Updated 2 years ago
- Making large AI models cheaper, faster and more accessible☆41,404May 25, 2026Updated last month
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,449Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,577May 24, 2026Updated last month
- 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
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,382May 27, 2025Updated last year
- Instruct-tune LLaMA on consumer hardware☆18,913Jul 29, 2024Updated last year
- 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.
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,178Updated this week
- LLM101n: Let's build a Storyteller☆37,383Aug 1, 2024Updated last year
- AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus o…☆185,132Jun 23, 2026Updated last week
- Examples and guides for using the OpenAI API☆74,358Jun 24, 2026Updated last week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,085Jul 1, 2025Updated last year
- Train transformer language models with reinforcement learning.☆18,701Jun 24, 2026Updated last week
- DSPy: The framework for programming—not prompting—language models☆35,605Updated this week
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,337Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆97,621Jun 2, 2026Updated 3 weeks ago
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- Get up and running with Kimi-K2.6, GLM-5.1, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆174,889Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,896Aug 12, 2024Updated last year
- Robust Speech Recognition via Large-Scale Weak Supervision☆103,646Apr 15, 2026Updated 2 months ago
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆72,482Jun 24, 2026Updated last week
- Video+code lecture on building nanoGPT from scratch☆5,298Aug 13, 2024Updated last year
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,152Jan 23, 2026Updated 5 months ago
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,572Jun 13, 2026Updated 2 weeks ago