Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆11,099Jul 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,603Jun 26, 2025Updated last year
- llama3 implementation one matrix multiplication at a time☆15,193May 23, 2024Updated 2 years ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆65,312Nov 12, 2025Updated last year
- Inference Llama 2 in one file of pure C☆20,506Aug 6, 2024Updated 2 years ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,418Oct 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,490Aug 1, 2024Updated 2 years ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆19,775Nov 8, 2026Updated 3 weeks ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,278Aug 22, 2025Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆19,244Aug 3, 2026Updated 4 months ago
- Video+code lecture on building nanoGPT from scratch☆5,671Aug 13, 2024Updated 2 years ago
- The official PyTorch implementation of Google's Gemma models☆5,706May 30, 2025Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆25,076Aug 15, 2024Updated 2 years ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,773Updated this week
- Fast and memory-efficient exact attention☆25,382Updated this week
- 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.
- Train transformer language models with reinforcement learning.☆19,895Updated this week
- Modeling, training, eval, and inference code for OLMo☆6,763Nov 24, 2025Updated last year
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,999May 3, 2024Updated 2 years ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆98,121Updated this week
- PyTorch native post-training library☆5,831Nov 19, 2026Updated 2 weeks ago
- ☆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,603May 19, 2026Updated 6 months ago
- The best ChatGPT that $100 can buy.☆61,044Sep 7, 2026Updated 2 months ago
- DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.☆43,382Updated this week
- 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.
- Official inference library for Mistral models☆10,820Jun 16, 2026Updated 5 months ago
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆21,944Updated this week
- Inference code for Llama models☆59,644Jan 26, 2025Updated last year
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆25,101Aug 12, 2024Updated 2 years ago
- DSPy: The framework for programming—not prompting—language models☆39,355Updated this week
- MLX: An array framework for Apple silicon☆29,353Updated this week
- An autoregressive character-level language model for making more things☆4,613Jun 4, 2024Updated 2 years ago
- Machine Learning Engineering Open Book☆19,773Updated this week
- Robust recipes to align language models with human and AI preferences☆5,727Sep 23, 2026Updated 2 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.
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆109,475Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆7,092Updated this week
- Unsupervised text tokenizer for Neural Network-based text generation.☆12,191Updated this week
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆34,118Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,272Jul 11, 2024Updated 2 years ago
- A PyTorch native platform for training generative AI models☆6,047Updated this week
- Fully open reproduction of DeepSeek-R1☆26,498Oct 26, 2026Updated last month
Are these results useful?