Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,733Jul 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,210May 23, 2024Updated 2 years ago
- LLM training in simple, raw C/CUDA☆31,044Jun 26, 2025Updated last year
- Inference Llama 2 in one file of pure C☆20,097Aug 6, 2024Updated 2 years ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,428Oct 19, 2024Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆63,290Nov 12, 2025Updated 10 months ago
- Deploy on Railway without the complexity - Free Credits Offer • AdConnect your repo and Railway handles the rest with instant previews. Quickly provision container image services, databases, and storage volumes.
- LLM101n: Let's build a Storyteller☆37,492Aug 1, 2024Updated 2 years ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆19,296Aug 17, 2026Updated last month
- The official PyTorch implementation of Google's Gemma models☆5,715May 30, 2025Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,254Aug 22, 2025Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,673Sep 14, 2026Updated last week
- Fast and memory-efficient exact attention☆24,991Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆24,908Aug 15, 2024Updated 2 years ago
- Modeling, training, eval, and inference code for OLMo☆6,681Nov 24, 2025Updated 9 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆9,014May 3, 2024Updated 2 years ago
- AI Agents on DigitalOcean Gradient AI Platform • AdBuild production-ready AI agents using customizable tools or access multiple LLMs through a single endpoint. Create custom knowledge bases or connect external data.
- Video+code lecture on building nanoGPT from scratch☆5,515Aug 13, 2024Updated 2 years ago
- Train transformer language models with reinforcement learning.☆19,354Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆92,343Updated this week
- PyTorch native post-training library☆5,812Sep 9, 2026Updated last week
- ☆4,123Apr 15, 2026Updated 5 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,558May 19, 2026Updated 4 months ago
- Official inference library for Mistral models☆10,824Jun 16, 2026Updated 3 months ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆17,609Aug 3, 2026Updated last month
- MLX: An array framework for Apple silicon☆28,511Updated 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.
- DSPy: The framework for programming—not prompting—language models☆38,179Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆25,032Aug 12, 2024Updated 2 years ago
- Inference code for Llama models☆59,618Jan 26, 2025Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,709Updated this week
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆43,148Updated this week
- Tools for merging pretrained large language models.☆7,364Sep 12, 2026Updated last week
- Machine Learning Engineering Open Book☆19,021Sep 12, 2026Updated last week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆7,039Updated this week
- Robust recipes to align language models with human and AI preferences☆5,680Updated this week
- 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.
- Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4, MiniMax-H3, Gemma 4, FLUX and more.☆76,531Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,267Jul 11, 2024Updated 2 years ago
- LlamaIndex is the document processing platform for AI☆52,263Updated this week
- A PyTorch native platform for training generative AI models☆5,754Updated this week
- The official Meta Llama 3 GitHub site☆29,219Jan 26, 2025Updated last year
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆105,344Updated this week
- Large-scale Self-supervised Pre-training Across Tasks, Languages, and Modalities☆22,224Updated this week