Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,496Jul 1, 2024Updated last year
Alternatives and similar repositories for minbpe
Users that are interested in minbpe are comparing it to the libraries listed below. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- llama3 implementation one matrix multiplication at a time☆15,234May 23, 2024Updated 2 years ago
- LLM training in simple, raw C/CUDA☆29,997Jun 26, 2025Updated 11 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆58,753Nov 12, 2025Updated 6 months ago
- Inference Llama 2 in one file of pure C☆19,548Aug 6, 2024Updated last year
- Large World Model -- Modeling Text and Video with Millions Context☆7,412Oct 19, 2024Updated last year
- GPUs on demand by Runpod - Special Offer Available • AdRun AI, ML, and HPC workloads on powerful cloud GPUs—without limits or wasted spend. Deploy GPUs in under a minute and pay by the second.
- LLM101n: Let's build a Storyteller☆37,120Aug 1, 2024Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,320Updated this week
- The official PyTorch implementation of Google's Gemma models☆5,672May 30, 2025Updated 11 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆81,099Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,212Aug 22, 2025Updated 9 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,383May 1, 2026Updated 3 weeks ago
- Fast and memory-efficient exact attention☆23,917Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,428Aug 15, 2024Updated last year
- Modeling, training, eval, and inference code for OLMo☆6,512Nov 24, 2025Updated 6 months ago
- Managed Database hosting by DigitalOcean • AdPostgreSQL, MySQL, MongoDB, Kafka, Valkey, and OpenSearch available. Automatically scale up storage and focus on building your apps.
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,963May 3, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆18,487Updated this week
- Video+code lecture on building nanoGPT from scratch☆5,206Aug 13, 2024Updated last year
- PyTorch native post-training library☆5,757May 22, 2026Updated last week
- ☆4,114Apr 15, 2026Updated last month
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,980Aug 8, 2024Updated last year
- DSPy: The framework for programming—not prompting—language models☆34,631Updated this week
- Official inference library for Mistral models☆10,806Apr 20, 2026Updated last month
- 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,337May 19, 2026Updated last week
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆96,148Updated this week
- MLX: An array framework for Apple silicon☆26,471Updated this week
- Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆65,100Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,829Aug 12, 2024Updated last year
- Inference code for Llama models☆59,436Jan 26, 2025Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,187May 22, 2026Updated last week
- LLM inference in C/C++☆112,590Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,386May 21, 2026Updated last week
- Tools for merging pretrained large language models.☆7,100May 6, 2026Updated 3 weeks ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- Machine Learning Engineering Open Book☆18,006May 18, 2026Updated last week
- Robust recipes to align language models with human and AI preferences☆5,605Apr 8, 2026Updated last month
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,905May 18, 2026Updated last week
- SGLang is a high-performance serving framework for large language models and multimodal models.☆28,137Updated this week
- LlamaIndex is the leading document agent and OCR platform☆49,695Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,232Jul 11, 2024Updated last year
- A PyTorch native platform for training generative AI models☆5,362May 21, 2026Updated last week