Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,409Jul 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,244May 23, 2024Updated last year
- LLM training in simple, raw C/CUDA☆29,359Jun 26, 2025Updated 9 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆56,219Nov 12, 2025Updated 4 months ago
- Inference Llama 2 in one file of pure C☆19,351Aug 6, 2024Updated last year
- Large World Model -- Modeling Text and Video with Millions Context☆7,408Oct 19, 2024Updated last year
- Bare Metal GPUs on DigitalOcean Gradient AI • AdPurpose-built for serious AI teams training foundational models, running large-scale inference, and pushing the boundaries of what's possible.
- LLM101n: Let's build a Storyteller☆36,651Aug 1, 2024Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆17,825Mar 27, 2026Updated 2 weeks ago
- The official PyTorch implementation of Google's Gemma models☆5,634May 30, 2025Updated 10 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆75,637Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,194Aug 22, 2025Updated 7 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,280Updated this week
- Fast and memory-efficient exact attention☆23,185Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,044Aug 15, 2024Updated last year
- Modeling, training, eval, and inference code for OLMo☆6,463Nov 24, 2025Updated 4 months ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click and start building anything your business needs.
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,930May 3, 2024Updated last year
- Train transformer language models with reinforcement learning.☆17,967Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,897Aug 13, 2024Updated last year
- PyTorch native post-training library☆5,720Apr 3, 2026Updated last week
- ☆4,109Jun 4, 2024Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,337Aug 8, 2024Updated last year
- DSPy: The framework for programming—not prompting—language models☆33,495Apr 2, 2026Updated last week
- Official inference library for Mistral models☆10,752Feb 26, 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,278Apr 1, 2026Updated last week
- Wordpress hosting with auto-scaling on Cloudways • AdFully Managed hosting built for WordPress-powered businesses that need reliable, auto-scalable hosting. Cloudways SafeUpdates now available.
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆90,284Updated this week
- MLX: An array framework for Apple silicon☆25,200Updated this week
- Unsloth Studio is a web UI for training and running open models like Qwen3.5, Gemma 4, DeepSeek, gpt-oss locally.☆59,774Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,652Aug 12, 2024Updated last year
- LLM inference in C/C++☆101,475Updated this week
- Inference code for Llama models☆59,296Jan 26, 2025Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,895Apr 2, 2026Updated last week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,977Apr 3, 2026Updated last week
- Tools for merging pretrained large language models.☆6,945Mar 15, 2026Updated 3 weeks ago
- End-to-end encrypted email - Proton Mail • AdSpecial offer: 40% Off Yearly / 80% Off First Month. All Proton services are open source and independently audited for security.
- Machine Learning Engineering Open Book☆17,642Mar 16, 2026Updated 3 weeks ago
- Robust recipes to align language models with human and AI preferences☆5,551Apr 2, 2026Updated last week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,790Apr 2, 2026Updated last week
- SGLang is a high-performance serving framework for large language models and multimodal models.☆25,408Updated this week
- LlamaIndex is the leading document agent and OCR platform☆48,389Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,208Jul 11, 2024Updated last year
- A PyTorch native platform for training generative AI models☆5,220Updated this week