Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,462Jul 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,246May 23, 2024Updated last year
- LLM training in simple, raw C/CUDA☆29,780Jun 26, 2025Updated 10 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆57,469Nov 12, 2025Updated 5 months ago
- Inference Llama 2 in one file of pure C☆19,460Aug 6, 2024Updated last year
- Large World Model -- Modeling Text and Video with Millions Context☆7,408Oct 19, 2024Updated last year
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- LLM101n: Let's build a Storyteller☆36,894Aug 1, 2024Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,093Mar 27, 2026Updated last month
- The official PyTorch implementation of Google's Gemma models☆5,674May 30, 2025Updated 11 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆78,979Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,206Aug 22, 2025Updated 8 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,337May 1, 2026Updated last week
- Fast and memory-efficient exact attention☆23,628Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,275Aug 15, 2024Updated last year
- Modeling, training, eval, and inference code for OLMo☆6,495Nov 24, 2025Updated 5 months ago
- GPU virtual machines on DigitalOcean Gradient AI • AdGet to production fast with high-performance AMD and NVIDIA GPUs you can spin up in seconds. The definition of operational simplicity.
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,955May 3, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆18,282Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,971Aug 13, 2024Updated last year
- PyTorch native post-training library☆5,750May 1, 2026Updated last week
- ☆4,109Apr 15, 2026Updated 3 weeks ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,710Aug 8, 2024Updated last year
- DSPy: The framework for programming—not prompting—language models☆34,180May 2, 2026Updated last week
- Official inference library for Mistral models☆10,786Apr 20, 2026Updated 2 weeks 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…☆18,318Apr 21, 2026Updated 2 weeks ago
- Virtual machines for every use case on DigitalOcean • AdGet dependable uptime with 99.99% SLA, simple security tools, and predictable monthly pricing with DigitalOcean's virtual machines, called Droplets.
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆91,948Apr 16, 2026Updated 3 weeks ago
- MLX: An array framework for Apple silicon☆25,969Updated this week
- Web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆63,536Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,753Aug 12, 2024Updated last year
- LLM inference in C/C++☆107,892May 2, 2026Updated last week
- Inference code for Llama models☆59,382Jan 26, 2025Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,052May 1, 2026Updated last week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,281Updated this week
- Tools for merging pretrained large language models.☆7,052Mar 15, 2026Updated last month
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Machine Learning Engineering Open Book☆17,854Mar 16, 2026Updated last month
- Robust recipes to align language models with human and AI preferences☆5,593Apr 8, 2026Updated last month
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,884Apr 28, 2026Updated last week
- SGLang is a high-performance serving framework for large language models and multimodal models.☆26,832May 1, 2026Updated last week
- LlamaIndex is the leading document agent and OCR platform☆49,127Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,225Jul 11, 2024Updated last year
- A PyTorch native platform for training generative AI models☆5,309Updated this week