Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,951Jul 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:
- LLM training in simple, raw C/CUDA☆31,320Jun 26, 2025Updated last year
- llama3 implementation one matrix multiplication at a time☆15,202May 23, 2024Updated 2 years ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆64,277Nov 12, 2025Updated 11 months ago
- Inference Llama 2 in one file of pure C☆20,234Aug 6, 2024Updated 2 years ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,423Oct 19, 2024Updated 2 years 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.
- LLM101n: Let's build a Storyteller☆37,472Aug 1, 2024Updated 2 years ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆19,565Aug 17, 2026Updated 2 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,268Aug 22, 2025Updated last year
- Video+code lecture on building nanoGPT from scratch☆5,609Aug 13, 2024Updated 2 years ago
- The official PyTorch implementation of Google's Gemma models☆5,710May 30, 2025Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,986Aug 15, 2024Updated 2 years ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,739Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆18,335Aug 3, 2026Updated 2 months ago
- Fast and memory-efficient exact attention☆25,233Updated this week
- Simple, predictable pricing with DigitalOcean hosting • AdAlways know what you'll pay with monthly caps and flat pricing. Enterprise-grade infrastructure trusted by 600k+ customers.
- Train transformer language models with reinforcement learning.☆19,638Updated this week
- Modeling, training, eval, and inference code for OLMo☆6,720Nov 24, 2025Updated 11 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆9,010May 3, 2024Updated 2 years ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆95,977Updated this week
- PyTorch native post-training library☆5,820Sep 9, 2026Updated last month
- ☆4,122Apr 15, 2026Updated 6 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,578May 19, 2026Updated 5 months ago
- Official inference library for Mistral models☆10,824Jun 16, 2026Updated 4 months ago
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆43,278Updated this week
- 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.
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,865Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆25,080Aug 12, 2024Updated 2 years ago
- Inference code for Llama models☆59,636Jan 26, 2025Updated last year
- Machine Learning Engineering Open Book☆19,637Updated this week
- MLX: An array framework for Apple silicon☆28,985Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆7,072Updated this week
- DSPy: The framework for programming—not prompting—language models☆38,866Updated this week
- Robust recipes to align language models with human and AI preferences☆5,705Sep 23, 2026Updated last month
- The best ChatGPT that $100 can buy.☆59,155Sep 7, 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.
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆107,596Updated this week
- An autoregressive character-level language model for making more things☆4,519Jun 4, 2024Updated 2 years ago
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,273Jul 11, 2024Updated 2 years ago
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,812Updated this week
- A PyTorch native platform for training generative AI models☆5,865Updated this week
- Tools for merging pretrained large language models.☆7,426Updated this week
- Fully open reproduction of DeepSeek-R1☆26,475Updated this week