The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆57,242Nov 12, 2025Updated 5 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,275Aug 15, 2024Updated last year
- Inference Llama 2 in one file of pure C☆19,440Aug 6, 2024Updated last year
- LLM inference in C/C++☆106,639Updated this week
- LLM training in simple, raw C/CUDA☆29,687Jun 26, 2025Updated 10 months ago
- The agent engineering platform☆134,826Updated 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☆78,385Updated this week
- Inference code for Llama models☆59,370Jan 26, 2025Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,620Aug 8, 2024Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆160,073Updated this week
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,461Jun 2, 2025Updated 10 months ago
- LlamaIndex is the leading document agent and OCR platform☆48,997Updated this week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,264Jul 17, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,231Updated this week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,417Aug 17, 2024Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,454Jul 1, 2024Updated last year
- Fast and memory-efficient exact attention☆23,563Updated this week
- ☆4,673Jan 31, 2024Updated 2 years ago
- Making large AI models cheaper, faster and more accessible☆41,377Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,326Apr 25, 2026Updated last week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,037Mar 27, 2026Updated last month
- Web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆63,070Updated this week
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,373May 27, 2025Updated 11 months ago
- Instruct-tune LLaMA on consumer hardware☆18,945Jul 29, 2024Updated last year
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆32,554Updated this week
- LLM101n: Let's build a Storyteller☆36,854Aug 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…☆183,844Updated this week
- Examples and guides for using the OpenAI API☆73,072Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,084Jul 1, 2025Updated 10 months ago
- Train transformer language models with reinforcement learning.☆18,193Updated this week
- DSPy: The framework for programming—not prompting—language models☆34,016Apr 24, 2026Updated last week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆91,680Apr 16, 2026Updated 2 weeks ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,006Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆170,289Updated this week
- Robust Speech Recognition via Large-Scale Weak Supervision☆98,662Apr 15, 2026Updated 2 weeks ago
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,722Aug 12, 2024Updated last year
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆70,777Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,961Aug 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,492Updated this week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,107Jan 23, 2026Updated 3 months ago