Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆11,068Jul 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,515Jun 26, 2025Updated last year
- llama3 implementation one matrix multiplication at a time☆15,196May 23, 2024Updated 2 years ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆64,973Nov 12, 2025Updated last year
- Inference Llama 2 in one file of pure C☆20,304Aug 6, 2024Updated 2 years ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,417Oct 19, 2024Updated 2 years ago
- Deploy open-source AI quickly and easily - Special Bonus Offer • AdRunpod Hub is built for open source. One-click deployment and autoscaling endpoints without provisioning your own infrastructure.
- LLM101n: Let's build a Storyteller☆37,480Aug 1, 2024Updated 2 years ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆19,700Nov 8, 2026Updated 2 weeks ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,274Aug 22, 2025Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆19,036Aug 3, 2026Updated 3 months ago
- Video+code lecture on building nanoGPT from scratch☆5,659Aug 13, 2024Updated 2 years ago
- The official PyTorch implementation of Google's Gemma models☆5,709May 30, 2025Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆25,044Aug 15, 2024Updated 2 years ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,757Nov 10, 2026Updated last week
- Fast and memory-efficient exact attention☆25,330Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Train transformer language models with reinforcement learning.☆19,788Updated this week
- Modeling, training, eval, and inference code for OLMo☆6,740Nov 24, 2025Updated 11 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆97,308Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,998May 3, 2024Updated 2 years ago
- PyTorch native post-training library☆5,820Updated this week
- ☆4,123Apr 15, 2026Updated 7 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,595May 19, 2026Updated 6 months ago
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆43,347Updated this week
- The best ChatGPT that $100 can buy.☆60,748Sep 7, 2026Updated 2 months ago
- Managed Kubernetes at scale on DigitalOcean • AdDigitalOcean Kubernetes includes the control plane, bandwidth allowance, container registry, automatic updates, and more for free.
- Official inference library for Mistral models☆10,816Jun 16, 2026Updated 5 months ago
- Inference code for Llama models☆59,644Jan 26, 2025Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,912Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆25,088Aug 12, 2024Updated 2 years ago
- DSPy: The framework for programming—not prompting—language models☆39,164Updated this week
- MLX: An array framework for Apple silicon☆29,230Updated this week
- An autoregressive character-level language model for making more things☆4,583Jun 4, 2024Updated 2 years ago
- Machine Learning Engineering Open Book☆19,738Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆7,089Updated this week
- Deploy to Railway using AI coding agents - Free Credits Offer • AdUse Claude Code, Codex, OpenCode, and more. Autonomous software development now has the infrastructure to match with Railway.
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆108,751Updated this week
- Robust recipes to align language models with human and AI preferences☆5,716Sep 23, 2026Updated last month
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆33,961Updated this week
- Unsupervised text tokenizer for Neural Network-based text generation.☆12,174Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,274Jul 11, 2024Updated 2 years ago
- Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.☆79,895Updated this week
- A PyTorch native platform for training generative AI models☆5,937Updated this week
Are these results useful?