Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,399Jul 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,255May 23, 2024Updated last year
- LLM training in simple, raw C/CUDA☆29,291Jun 26, 2025Updated 9 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆55,432Nov 12, 2025Updated 4 months ago
- Inference Llama 2 in one file of pure C☆19,329Aug 6, 2024Updated last year
- Large World Model -- Modeling Text and Video with Millions Context☆7,402Oct 19, 2024Updated last year
- NordVPN Special Discount Offer • AdSave on top-rated NordVPN 1 or 2-year plans with secure browsing, privacy protection, and support for for all major platforms.
- LLM101n: Let's build a Storyteller☆36,618Aug 1, 2024Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆17,683Feb 8, 2026Updated last month
- A high-throughput and memory-efficient inference and serving engine for LLMs☆74,135Updated this week
- The official PyTorch implementation of Google's Gemma models☆5,612May 30, 2025Updated 9 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,186Aug 22, 2025Updated 7 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,256Mar 22, 2026Updated last week
- Fast and memory-efficient exact attention☆22,938Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,997Aug 15, 2024Updated last year
- Modeling, training, eval, and inference code for OLMo☆6,424Nov 24, 2025Updated 4 months ago
- Managed hosting for WordPress and PHP on Cloudways • AdManaged hosting with the flexibility to host WordPress, Magento, Laravel, or PHP apps, on multiple cloud providers. Cloudways by DigitalOcean.
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,928May 3, 2024Updated last year
- Train transformer language models with reinforcement learning.☆17,781Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,854Aug 13, 2024Updated last year
- ☆4,110Jun 4, 2024Updated last year
- PyTorch native post-training library☆5,713Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆15,257Aug 8, 2024Updated last year
- DSPy: The framework for programming—not prompting—language models☆33,038Mar 22, 2026Updated last week
- Official inference library for Mistral models☆10,741Feb 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,265Mar 3, 2026Updated 3 weeks ago
- Proton VPN Special Offer - Get 70% off • AdSpecial partner offer. Trusted by over 100 million users worldwide. Tested, Approved and Recommended by Experts.
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆89,206Mar 21, 2026Updated last week
- MLX: An array framework for Apple silicon☆24,748Updated this week
- Unsloth Studio is a web UI for training and running open models like Qwen, DeepSeek, gpt-oss and Gemma locally.☆57,673Mar 23, 2026Updated last week
- LLM inference in C/C++☆99,811Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆24,603Aug 12, 2024Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆20,841Mar 18, 2026Updated last week
- Inference code for Llama models☆59,250Jan 26, 2025Updated last year
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆41,925Updated this week
- Tools for merging pretrained large language models.☆6,895Mar 15, 2026Updated 2 weeks ago
- NordVPN Special Discount Offer • AdSave on top-rated NordVPN 1 or 2-year plans with secure browsing, privacy protection, and support for for all major platforms.
- Machine Learning Engineering Open Book☆17,528Mar 16, 2026Updated last week
- Robust recipes to align language models with human and AI preferences☆5,535Sep 8, 2025Updated 6 months ago
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,761Updated this week
- SGLang is a high-performance serving framework for large language models and multimodal models.☆25,041Updated this week
- LlamaIndex is the leading document agent and OCR platform☆47,963Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,209Jul 11, 2024Updated last year
- A PyTorch native platform for training generative AI models☆5,191Updated this week