The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆56,219Nov 12, 2025Updated 4 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,044Aug 15, 2024Updated last year
- Inference Llama 2 in one file of pure C☆19,351Aug 6, 2024Updated last year
- LLM inference in C/C++☆101,475Updated this week
- LLM training in simple, raw C/CUDA☆29,359Jun 26, 2025Updated 9 months ago
- The agent engineering platform☆132,305Apr 4, 2026Updated last week
- 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.
- A high-throughput and memory-efficient inference and serving engine for LLMs☆75,637Updated this week
- Inference code for Llama models☆59,296Jan 26, 2025Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆159,060Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,337Aug 8, 2024Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,447Jun 2, 2025Updated 10 months ago
- LlamaIndex is the leading document agent and OCR platform☆48,389Updated this week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,253Jul 17, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,977Apr 3, 2026Updated last week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,425Aug 17, 2024Updated last year
- Wordpress hosting with auto-scaling on Cloudways • AdFully Managed hosting built for WordPress-powered businesses that need reliable, auto-scalable hosting. Cloudways SafeUpdates now available.
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,409Jul 1, 2024Updated last year
- Fast and memory-efficient exact attention☆23,185Updated this week
- ☆4,628Jan 31, 2024Updated 2 years ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,280Apr 4, 2026Updated last week
- Making large AI models cheaper, faster and more accessible☆41,373Mar 30, 2026Updated last week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆17,825Mar 27, 2026Updated 2 weeks ago
- Unsloth Studio is a web UI for training and running open models like Qwen3.5, Gemma 4, DeepSeek, gpt-oss locally.☆59,774Updated this week
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,246May 27, 2025Updated 10 months ago
- Instruct-tune LLaMA on consumer hardware☆18,950Jul 29, 2024Updated last year
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆32,153Apr 5, 2026Updated last week
- LLM101n: Let's build a Storyteller☆36,651Aug 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,231Updated this week
- Examples and guides for using the OpenAI API☆72,627Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,080Jul 1, 2025Updated 9 months ago
- Train transformer language models with reinforcement learning.☆17,967Updated this week
- DSPy: The framework for programming—not prompting—language models☆33,495Apr 2, 2026Updated last week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆90,284Updated this week
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,895Apr 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.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆168,287Updated this week
- Robust Speech Recognition via Large-Scale Weak Supervision☆97,479Mar 27, 2026Updated 2 weeks ago
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,652Aug 12, 2024Updated last year
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆69,794Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,897Aug 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,458Mar 30, 2026Updated last week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,077Jan 23, 2026Updated 2 months ago