The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆62,005Nov 12, 2025Updated 8 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,787Aug 15, 2024Updated last year
- The best ChatGPT that $100 can buy.☆57,074Aug 2, 2026Updated last week
- Inference Llama 2 in one file of pure C☆19,958Aug 6, 2024Updated 2 years ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆88,592Updated this week
- LLM inference in C/C++☆123,235Updated 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 tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆17,074Aug 3, 2026Updated last week
- The agent engineering platform.☆143,799Updated this week
- LLM training in simple, raw C/CUDA☆30,771Jun 26, 2025Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆163,542Updated this week
- The local UI to run and train text and diffusion models, including Kimi K3, Gemma 4, Qwen3.6, DeepSeek-V4, FLUX and more.☆69,824Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆102,252Updated this week
- Inference code for Llama models☆59,553Jan 26, 2025Updated last year
- LlamaIndex is the leading document agent and OCR platform☆51,533Updated this week
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,517May 1, 2026Updated 3 months ago
- 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.
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,894Updated this week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,244Jul 17, 2024Updated 2 years ago
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆73,967Updated this week
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,402Aug 17, 2024Updated last year
- DSPy: The framework for programming—not prompting—language models☆37,023Updated this week
- Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆178,155Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,675Jul 1, 2024Updated 2 years ago
- Fast and memory-efficient exact attention☆24,672Updated this week
- 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…☆186,494Updated this week
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- Neural Networks: Zero to Hero☆23,932Aug 18, 2024Updated last year
- Making large AI models cheaper, faster and more accessible☆41,432Jul 13, 2026Updated 3 weeks ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,610Jul 20, 2026Updated 3 weeks ago
- ☆4,901Jan 31, 2024Updated 2 years ago
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,410May 27, 2025Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,966May 24, 2026Updated 2 months ago
- Robust Speech Recognition via Large-Scale Weak Supervision☆106,961Jul 28, 2026Updated last week
- LLM101n: Let's build a Storyteller☆37,508Aug 1, 2024Updated 2 years ago
- Examples and guides for using the OpenAI API☆75,187Updated 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.
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,431Updated this week
- AI agents running research on single-GPU nanochat training automatically☆93,498Mar 26, 2026Updated 4 months ago
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆81,580Feb 5, 2026Updated 6 months ago
- Train transformer language models with reinforcement learning.☆19,039Updated this week
- NanoGPT (124M) in 90 seconds☆5,658Updated this week
- Instruct-tune LLaMA on consumer hardware☆18,911Jul 29, 2024Updated 2 years ago
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆18,556May 19, 2026Updated 2 months ago