karpathy / nanoGPTLinks
The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆46,375Updated 10 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,797Updated last year
- Inference Llama 2 in one file of pure C☆18,848Updated last year
- Instruct-tune LLaMA on consumer hardware☆18,969Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆40,461Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,840Updated last week
- LLM training in simple, raw C/CUDA☆27,923Updated 3 months ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆19,832Updated last week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,021Updated last year
- Inference code for Llama models☆58,837Updated 8 months ago
- Tensor library for machine learning☆13,302Updated last week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,181Updated last year
- Train transformer language models with reinforcement learning.☆15,934Updated this week
- Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"☆12,813Updated 10 months ago
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆23,763Updated last year
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆39,161Updated 4 months ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆12,925Updated last year
- 🐙 Guides, papers, lessons, notebooks and resources for prompt engineering, context engineering, RAG, and AI Agents.☆64,523Updated last week
- llama3 implementation one matrix multiplication at a time☆15,172Updated last year
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,710Updated last year
- A curated list of practical guide resources of LLMs (LLMs Tree, Examples, Papers)☆10,076Updated last year
- Accessible large language models via k-bit quantization for PyTorch.☆7,659Updated 3 weeks ago
- Fast and memory-efficient exact attention☆20,023Updated this week
- LLM inference in C/C++☆87,889Updated last week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆16,256Updated 2 weeks ago
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,077Updated 3 months ago
- DSPy: The framework for programming—not prompting—language models☆29,294Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆60,385Updated this week
- ☆4,257Updated last year
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,775Updated last year
- Video+code lecture on building nanoGPT from scratch☆4,443Updated last year