The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆64,188Nov 12, 2025Updated 11 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,985Aug 15, 2024Updated 2 years ago
- The best ChatGPT that $100 can buy.☆59,075Sep 7, 2026Updated last month
- Inference Llama 2 in one file of pure C☆20,222Aug 6, 2024Updated 2 years ago
- LLM training in simple, raw C/CUDA☆31,276Jun 26, 2025Updated last year
- A high-throughput and memory-efficient inference and serving engine for LLMs☆95,806Updated this week
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- LLM inference in C/C++☆132,630Updated this week
- The agent engineering platform.☆148,617Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆18,211Aug 3, 2026Updated 2 months ago
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆168,276Updated this week
- Inference code for Llama models☆59,628Jan 26, 2025Updated last year
- LlamaIndex is the document processing platform for AI☆52,711Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆107,463Oct 2, 2026Updated 3 weeks ago
- Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.☆78,674Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆43,268Updated this week
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,552May 1, 2026Updated 5 months ago
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,232Jul 17, 2024Updated 2 years ago
- Fast and memory-efficient exact attention☆25,216Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,917Jul 1, 2024Updated 2 years ago
- 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…☆187,804Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆19,539Aug 17, 2026Updated 2 months ago
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆75,759Oct 21, 2026Updated last week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,368Aug 17, 2024Updated 2 years ago
- ☆5,063Jan 31, 2024Updated 2 years ago
- 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.
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,735Updated this week
- Train transformer language models with reinforcement learning.☆19,621Updated this week
- Examples and guides for using the OpenAI API☆76,825Updated this week
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,803Updated this week
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,354May 27, 2025Updated last year
- LLM101n: Let's build a Storyteller☆37,474Aug 1, 2024Updated 2 years ago
- Making large AI models cheaper, faster and more accessible☆41,428Updated this week
- Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆185,154Updated this week
- DSPy: The framework for programming—not prompting—language models☆38,831Updated this week
- 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.
- Neural Networks: Zero to Hero☆25,050Aug 18, 2024Updated 2 years ago
- AI agents running research on single-GPU nanochat training automatically☆98,769Mar 26, 2026Updated 7 months ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,855Updated this week
- Instruct-tune LLaMA on consumer hardware☆18,888Jul 29, 2024Updated 2 years ago
- Robust Speech Recognition via Large-Scale Weak Supervision☆111,466Aug 31, 2026Updated last month
- Video+code lecture on building nanoGPT from scratch☆5,605Aug 13, 2024Updated 2 years ago
- A programming framework for agentic AI☆61,604Updated this week