karpathy / nanoGPTView external linksLinks
The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆52,955Nov 12, 2025Updated 3 months ago
Alternatives and similar repositories for nanoGPT
Users that are interested in nanoGPT are comparing it to the libraries listed below
Sorting:
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,494Aug 15, 2024Updated last year
- Inference Llama 2 in one file of pure C☆19,162Aug 6, 2024Updated last year
- LLM inference in C/C++☆94,823Updated this week
- 🦜🔗 The platform for reliable agents.☆126,317Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆70,205Updated this week
- LLM training in simple, raw C/CUDA☆28,814Jun 26, 2025Updated 7 months ago
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆156,440Updated this week
- LlamaIndex is the leading framework for building LLM-powered agents over your data.☆46,977Updated this week
- Inference code for Llama models☆59,141Jan 26, 2025Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,402Jun 2, 2025Updated 8 months ago
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,266Jul 17, 2024Updated last year
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,452Aug 17, 2024Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,578Feb 7, 2026Updated last week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,598Aug 8, 2024Updated last year
- Making large AI models cheaper, faster and more accessible☆41,346Jan 19, 2026Updated 3 weeks ago
- GPT4All: Run Local LLMs on Any Device. Open-source and available for commercial use.☆77,136May 27, 2025Updated 8 months ago
- Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, DeepSeek, Qwen, Llama, Gemma, TTS 2x faster with 70% less VRAM.☆51,922Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,309Jul 1, 2024Updated last year
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆31,345Updated this week
- Fast and memory-efficient exact attention☆22,231Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,155Feb 8, 2026Updated last week
- Instruct-tune LLaMA on consumer hardware☆18,978Jul 29, 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…☆181,811Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆17,258Updated this week
- Examples and guides for using the OpenAI API☆71,430Updated this week
- DSPy: The framework for programming—not prompting—language models☆32,156Updated this week
- Robust Speech Recognition via Large-Scale Weak Supervision☆94,315Dec 15, 2025Updated last month
- Train transformer language models with reinforcement learning.☆17,360Updated this week
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆85,210Updated this week
- Get up and running with Kimi-K2.5, GLM-5, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.☆162,576Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,446Aug 12, 2024Updated last year
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,087Jul 1, 2025Updated 7 months ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,619Updated this week
- LLM101n: Let's build a Storyteller☆36,281Aug 1, 2024Updated last year
- Universal LLM Deployment Engine with ML Compilation☆22,012Updated this week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,021Jan 23, 2026Updated 3 weeks ago
- Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!☆41,698Updated this week
- 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,199Nov 3, 2025Updated 3 months ago
- Unified Efficient Fine-Tuning of 100+ LLMs & VLMs (ACL 2024)☆67,253Updated this week