karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,731Updated last year
Alternatives and similar repositories for minbpe
Users that are interested in minbpe are comparing it to the libraries listed below
Sorting:
- llama3 implementation one matrix multiplication at a time☆15,040Updated last year
- Video+code lecture on building nanoGPT from scratch☆4,205Updated 10 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,011Updated 3 months ago
- PyTorch native post-training library☆5,306Updated this week
- ☆4,083Updated last year
- Inference Llama 2 in one file of pure C☆18,526Updated 11 months ago
- The official PyTorch implementation of Google's Gemma models☆5,496Updated last month
- LLM training in simple, raw C/CUDA☆27,075Updated 2 weeks ago
- An autoregressive character-level language model for making more things☆3,173Updated last year
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,631Updated last year
- Modeling, training, eval, and inference code for OLMo☆5,757Updated this week
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆17,602Updated this week
- The n-gram Language Model☆1,432Updated 11 months ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆22,210Updated 10 months ago
- Official inference library for Mistral models☆10,338Updated 3 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,445Updated this week
- A PyTorch native platform for training generative AI models☆4,032Updated this week
- ☆4,059Updated last year
- Large Language Model Text Generation Inference☆10,311Updated this week
- NanoGPT (124M) in 3 minutes☆2,774Updated 3 weeks ago
- Examples in the MLX framework☆7,632Updated last month
- MLX: An array framework for Apple silicon☆21,361Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆12,248Updated 11 months ago
- ☆2,981Updated 9 months ago
- Go ahead and axolotl questions☆9,852Updated this week
- nanoGPT style version of Llama 3.1☆1,390Updated 11 months ago
- LLM101n: Let's build a Storyteller☆33,961Updated 11 months ago
- Machine Learning Engineering Open Book☆14,247Updated this week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,491Updated last week
- PyTorch code and models for V-JEPA self-supervised learning from video.☆3,115Updated 4 months ago