The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆58,258Nov 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,374Aug 15, 2024Updated last year
- Inference Llama 2 in one file of pure C☆19,503Aug 6, 2024Updated last year
- LLM inference in C/C++☆110,506Updated this week
- LLM training in simple, raw C/CUDA☆29,912Jun 26, 2025Updated 10 months ago
- The agent engineering platform.☆136,798May 14, 2026Updated last week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆80,418Updated this week
- Inference code for Llama models☆59,425Jan 26, 2025Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆160,794Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,857Aug 8, 2024Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,474May 1, 2026Updated 3 weeks ago
- LlamaIndex is the leading document agent and OCR platform☆49,501Updated this 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,337May 14, 2026Updated last week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,409Aug 17, 2024Updated last year
- Serverless GPU API endpoints on Runpod - Get Bonus Credits • AdSkip the infrastructure headaches. Auto-scaling, pay-as-you-go, no-ops approach lets you focus on innovating your application.
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,484Jul 1, 2024Updated last year
- Fast and memory-efficient exact attention☆23,836Updated this week
- ☆4,720Jan 31, 2024Updated 2 years ago
- Making large AI models cheaper, faster and more accessible☆41,386Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,364May 1, 2026Updated 2 weeks ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,243May 15, 2026Updated last week
- Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆64,485Updated this week
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,369May 27, 2025Updated 11 months ago
- Instruct-tune LLaMA on consumer hardware☆18,925Jul 29, 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.
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆32,703Updated this week
- LLM101n: Let's build a Storyteller☆36,910Aug 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,414Updated this week
- Examples and guides for using the OpenAI API☆73,651Updated 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 10 months ago
- Train transformer language models with reinforcement learning.☆18,411Updated this week
- DSPy: The framework for programming—not prompting—language models☆34,496Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆95,205Updated this week
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,138May 13, 2026Updated last week
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆171,844Updated this week
- Robust Speech Recognition via Large-Scale Weak Supervision☆99,901Apr 15, 2026Updated last month
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,802Aug 12, 2024Updated last year
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆71,468Updated this week
- Video+code lecture on building nanoGPT from scratch☆5,016Aug 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,531May 8, 2026Updated last week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,128Jan 23, 2026Updated 3 months ago