karpathy / nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆40,237Updated 3 months ago
Alternatives and similar repositories for nanoGPT:
Users that are interested in nanoGPT are comparing it to the libraries listed below
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆21,600Updated 7 months ago
- Inference Llama 2 in one file of pure C☆18,196Updated 7 months ago
- An open platform for training, serving, and evaluating large language models. Release repo for Vicuna and Chatbot Arena.☆38,132Updated 3 weeks ago
- Inference code for Llama models☆57,912Updated last month
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,322Updated 9 months ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆13,852Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,324Updated 10 months 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…☆16,483Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆41,815Updated this week
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆29,881Updated 8 months ago
- Universal LLM Deployment Engine with ML Compilation☆20,220Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,043Updated 6 months ago
- LlamaIndex is the leading framework for building LLM-powered agents over your data.☆40,106Updated this week
- 🦜🔗 Build context-aware reasoning applications☆103,849Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆11,453Updated 7 months ago
- Instruct-tune LLaMA on consumer hardware☆18,842Updated 7 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆11,841Updated this week
- Large Language Model Text Generation Inference☆9,905Updated this week
- Inference code for CodeLlama models☆16,242Updated 7 months ago
- OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamical…☆37,251Updated 7 months ago
- Train transformer language models with reinforcement learning.☆12,591Updated this week
- A Gradio web UI for Large Language Models with support for multiple inference backends.☆42,906Updated this week
- JARVIS, a system to connect LLMs with ML community. Paper: https://arxiv.org/pdf/2303.17580.pdf☆24,028Updated 5 months ago
- Running large language models on a single GPU for throughput-oriented scenarios.☆9,278Updated 4 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆9,502Updated 8 months ago
- Finetune Llama 3.3, DeepSeek-R1, Gemma 3 & Reasoning LLMs 2x faster with 70% less memory! 🦥☆35,466Updated this week
- Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"☆11,536Updated 3 months ago
- LLM inference in C/C++☆76,950Updated this week
- llama3 implementation one matrix multiplication at a time☆14,271Updated 9 months ago
- Fast and memory-efficient exact attention☆16,370Updated last week