Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,549Jul 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,230May 23, 2024Updated 2 years ago
- LLM training in simple, raw C/CUDA☆30,150Jun 26, 2025Updated 11 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆59,420Nov 12, 2025Updated 7 months ago
- Inference Llama 2 in one file of pure C☆19,604Aug 6, 2024Updated last year
- Large World Model -- Modeling Text and Video with Millions Context☆7,417Oct 19, 2024Updated last year
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- LLM101n: Let's build a Storyteller☆37,259Aug 1, 2024Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆18,459May 24, 2026Updated 2 weeks ago
- The official PyTorch implementation of Google's Gemma models☆5,688May 30, 2025Updated last year
- A high-throughput and memory-efficient inference and serving engine for LLMs☆82,482Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,216Aug 22, 2025Updated 9 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,414Updated this week
- Fast and memory-efficient exact attention☆24,111Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,509Aug 15, 2024Updated last year
- Modeling, training, eval, and inference code for OLMo☆6,522Nov 24, 2025Updated 6 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 TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,979May 3, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆18,613Updated this week
- Video+code lecture on building nanoGPT from scratch☆5,258Aug 13, 2024Updated last year
- PyTorch native post-training library☆5,768Updated this 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☆16,219Aug 8, 2024Updated last year
- DSPy: The framework for programming—not prompting—language models☆34,958Updated this week
- Official inference library for Mistral models☆10,813Apr 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,343May 19, 2026Updated 3 weeks ago
- 1-Click AI Models by DigitalOcean Gradient • AdDeploy popular AI models on DigitalOcean Gradient GPU virtual machines with just a single click. Zero configuration with optimized deployments.
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆96,979Jun 2, 2026Updated last week
- MLX: An array framework for Apple silicon☆26,868Updated this week
- Unsloth Studio is a web UI for training and running open models like Gemma 4, Qwen3.6, DeepSeek, gpt-oss locally.☆66,153Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,864Aug 12, 2024Updated last year
- Inference code for Llama models☆59,452Jan 26, 2025Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,258Updated this week
- LLM inference in C/C++☆115,667Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆42,478Jun 6, 2026Updated last week
- Tools for merging pretrained large language models.☆7,126May 6, 2026Updated last month
- 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.
- Machine Learning Engineering Open Book☆18,056May 18, 2026Updated 3 weeks ago
- Robust recipes to align language models with human and AI preferences☆5,608May 26, 2026Updated 2 weeks ago
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,933Jun 4, 2026Updated last week
- SGLang is a high-performance serving framework for large language models and multimodal models.☆28,886Updated this week
- LlamaIndex is the leading document agent and OCR platform☆50,073Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,229Jul 11, 2024Updated last year
- A PyTorch native platform for training generative AI models☆5,416Jun 6, 2026Updated last week