karpathy / nanoGPTLinks
The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆43,570Updated 8 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☆22,410Updated last year
- Inference Llama 2 in one file of pure C☆18,626Updated last year
- Fast and memory-efficient exact attention☆18,897Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,620Updated last week
- ☆4,125Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆15,536Updated last week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,694Updated last year
- A high-throughput and memory-efficient inference and serving engine for LLMs☆55,160Updated this week
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,606Updated last year
- Go ahead and axolotl questions☆10,205Updated this week
- llama3 implementation one matrix multiplication at a time☆15,097Updated last year
- Development repository for the Triton language and compiler☆16,484Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆9,836Updated last year
- Train transformer language models with reinforcement learning.☆15,088Updated this week
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆38,983Updated 2 months ago
- Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, Qwen3, Llama 4, DeepSeek-R1, Gemma 3, TTS 2x faster with 70% less…☆43,914Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆7,471Updated this week
- LLM training in simple, raw C/CUDA☆27,349Updated last month
- Making large AI models cheaper, faster and more accessible☆41,081Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,085Updated last month
- Inference code for Llama models☆58,621Updated 6 months ago
- Instruct-tune LLaMA on consumer hardware☆18,945Updated last year
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆17,744Updated this week
- LlamaIndex is the leading framework for building LLM-powered agents over your data.☆43,695Updated this week
- Tensor library for machine learning☆12,969Updated last week
- OpenLLaMA, a permissively licensed open source reproduction of Meta AI’s LLaMA 7B trained on the RedPajama dataset☆7,517Updated 2 years ago
- SGLang is a fast serving framework for large language models and vision language models.☆16,773Updated this week
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆13,888Updated this week
- DSPy: The framework for programming—not prompting—language models☆27,173Updated this week
- A modular graph-based Retrieval-Augmented Generation (RAG) system☆27,173Updated last week