The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆59,723Nov 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,533Aug 15, 2024Updated last year
- Inference Llama 2 in one file of pure C☆19,631Aug 6, 2024Updated last year
- LLM inference in C/C++☆116,603Updated this week
- LLM training in simple, raw C/CUDA☆30,209Jun 26, 2025Updated 11 months ago
- The agent engineering platform.☆139,241Updated this week
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆82,482Updated this week
- Inference code for Llama models☆59,463Jan 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,518Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆16,298Aug 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☆50,073Jun 10, 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,508Updated this week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,399Aug 17, 2024Updated last year
- 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.
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,573Jul 1, 2024Updated last year
- Fast and memory-efficient exact attention☆24,111Updated this week
- ☆4,774Jan 31, 2024Updated 2 years ago
- Making large AI models cheaper, faster and more accessible☆41,395May 25, 2026Updated 3 weeks ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,425Jun 9, 2026Updated last week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,459May 24, 2026Updated 3 weeks ago
- Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆66,620Updated this week
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,375May 27, 2025Updated last year
- Instruct-tune LLaMA on consumer hardware☆18,916Jul 29, 2024Updated last year
- 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.
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,087Updated this week
- LLM101n: Let's build a Storyteller☆37,316Aug 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,890Updated this week
- Examples and guides for using the OpenAI API☆74,126Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,081Jul 1, 2025Updated 11 months ago
- Train transformer language models with reinforcement learning.☆18,613Updated this week
- DSPy: The framework for programming—not prompting—language models☆35,064Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆96,979Jun 2, 2026Updated 2 weeks ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,273Updated this week
- 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.
- Get up and running with Kimi-K2.6, GLM-5.1, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆173,937Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,874Aug 12, 2024Updated last year
- Robust Speech Recognition via Large-Scale Weak Supervision☆102,585Apr 15, 2026Updated 2 months ago
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆72,107Updated this week
- Video+code lecture on building nanoGPT from scratch☆5,258Aug 13, 2024Updated last year
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,149Jan 23, 2026Updated 4 months ago
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,558Jun 8, 2026Updated last week