The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆59,420Nov 12, 2025Updated 6 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,509Aug 15, 2024Updated last year
- Inference Llama 2 in one file of pure C☆19,604Aug 6, 2024Updated last year
- LLM inference in C/C++☆115,667Updated this week
- LLM training in simple, raw C/CUDA☆30,150Jun 26, 2025Updated 11 months ago
- The agent engineering platform.☆138,777Updated this week
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆81,909Jun 4, 2026Updated last week
- Inference code for Llama models☆59,452Jan 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,309Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆16,219Aug 8, 2024Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,470May 1, 2026Updated last month
- LlamaIndex is the leading document agent and OCR platform☆49,909Jun 4, 2026Updated last week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,248Jul 17, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,478Updated this week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,410Aug 17, 2024Updated last year
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,549Jul 1, 2024Updated last year
- Fast and memory-efficient exact attention☆24,037Jun 3, 2026Updated last week
- ☆4,760Jan 31, 2024Updated 2 years ago
- Making large AI models cheaper, faster and more accessible☆41,385May 25, 2026Updated 2 weeks ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,414Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,402May 24, 2026Updated 2 weeks ago
- Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆66,153Updated this week
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,359May 27, 2025Updated last year
- Instruct-tune LLaMA on consumer hardware☆18,920Jul 29, 2024Updated last year
- 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.
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,035Updated this week
- LLM101n: Let's build a Storyteller☆37,259Aug 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…☆184,750Jun 4, 2026Updated last week
- Examples and guides for using the OpenAI API☆73,986Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,079Jul 1, 2025Updated 11 months ago
- Train transformer language models with reinforcement learning.☆18,547Updated this week
- DSPy: The framework for programming—not prompting—language models☆34,958Updated this week
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,258Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆96,674Jun 2, 2026Updated last week
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Get up and running with Kimi-K2.6, GLM-5.1, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆173,296Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,864Aug 12, 2024Updated last year
- Robust Speech Recognition via Large-Scale Weak Supervision☆101,671Apr 15, 2026Updated last month
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆71,937Updated this week
- Video+code lecture on building nanoGPT from scratch☆5,234Aug 13, 2024Updated last year
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,558Updated this week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,147Jan 23, 2026Updated 4 months ago