karpathy / nanoGPTLinks
The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆51,230Updated last month
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,160Updated last year
- Inference Llama 2 in one file of pure C☆19,032Updated last year
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆14,233Updated this week
- LLM training in simple, raw C/CUDA☆28,414Updated 5 months ago
- Build and share delightful machine learning apps, all in Python. 🌟 Star to support our work!☆40,937Updated last week
- Train transformer language models with reinforcement learning.☆16,722Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,078Updated last year
- ☆4,419Updated last year
- llama3 implementation one matrix multiplication at a time☆15,203Updated last year
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,786Updated last year
- 🤗 Transformers: the model-definition framework for state-of-the-art machine learning models in text, vision, audio, and multimodal model…☆153,866Updated last week
- Awesome-LLM: a curated list of Large Language Model☆25,839Updated 4 months ago
- Inference code for Llama models☆58,998Updated 10 months ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆16,818Updated 2 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,217Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,307Updated this week
- LLM101n: Let's build a Storyteller☆35,878Updated last year
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,252Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,034Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,015Updated last week
- LLM inference in C/C++☆91,520Updated this week
- 🦜🔗 The platform for reliable agents.☆122,096Updated this week
- LlamaIndex is the leading framework for building LLM-powered agents over your data.☆45,923Updated this week
- Fast and memory-efficient exact attention☆21,196Updated this week
- Fine-tuning & Reinforcement Learning for LLMs. 🦥 Train OpenAI gpt-oss, DeepSeek-R1, Qwen3, Gemma 3, TTS 2x faster with 70% less VRAM.☆49,644Updated 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,081Updated last month
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,091Updated 5 months ago
- Video+code lecture on building nanoGPT from scratch☆4,620Updated last year
- Tensor library for machine learning☆13,714Updated last week
- OpenLLaMA, a permissively licensed open source reproduction of Meta AI’s LLaMA 7B trained on the RedPajama dataset☆7,527Updated 2 years ago