Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,675Jul 1, 2024Updated 2 years ago
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,225May 23, 2024Updated 2 years ago
- LLM training in simple, raw C/CUDA☆30,780Jun 26, 2025Updated last year
- Inference Llama 2 in one file of pure C☆19,962Aug 6, 2024Updated 2 years ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,426Oct 19, 2024Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆62,037Nov 12, 2025Updated 9 months 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.
- LLM101n: Let's build a Storyteller☆37,507Aug 1, 2024Updated 2 years ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,973May 24, 2026Updated 2 months ago
- The official PyTorch implementation of Google's Gemma models☆5,724May 30, 2025Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,246Aug 22, 2025Updated 11 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,611Jul 20, 2026Updated 3 weeks ago
- Fast and memory-efficient exact attention☆24,681Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,786Aug 15, 2024Updated last year
- Modeling, training, eval, and inference code for OLMo☆6,623Nov 24, 2025Updated 8 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆9,018May 3, 2024Updated 2 years ago
- Wordpress hosting with auto-scaling - Free Trial Offer • AdFully Managed hosting for WordPress and WooCommerce businesses that need reliable, auto-scalable performance. Cloudways SafeUpdates now available.
- Video+code lecture on building nanoGPT from scratch☆5,421Aug 13, 2024Updated last year
- Train transformer language models with reinforcement learning.☆19,048Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆88,737Updated this week
- PyTorch native post-training library☆5,797Updated this week
- ☆4,122Apr 15, 2026Updated 3 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…☆18,555May 19, 2026Updated 2 months ago
- Official inference library for Mistral models☆10,837Jun 16, 2026Updated last month
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆17,084Aug 3, 2026Updated last week
- MLX: An array framework for Apple silicon☆27,914Updated this week
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- DSPy: The framework for programming—not prompting—language models☆37,056Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,975Aug 12, 2024Updated 2 years ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,528Updated this week
- Inference code for Llama models☆59,553Jan 26, 2025Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,902Updated this week
- Tools for merging pretrained large language models.☆7,287Jun 17, 2026Updated last month
- Machine Learning Engineering Open Book☆18,583Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆7,020Updated this week
- Robust recipes to align language models with human and AI preferences☆5,658May 26, 2026Updated 2 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting for WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Deploy in minutes on Cloudways by DigitalOcean.
- The local UI to run and train text and diffusion models, including Kimi K3, Gemma 4, Qwen3.6, DeepSeek-V4, FLUX and more.☆69,824Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,259Jul 11, 2024Updated 2 years ago
- LlamaIndex is the leading document agent and OCR platform☆51,561Updated this week
- A PyTorch native platform for training generative AI models☆5,615Updated this week
- The official Meta Llama 3 GitHub site☆29,262Jan 26, 2025Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆102,401Updated this week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,185Jan 23, 2026Updated 6 months ago