karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,975Updated last year
Alternatives and similar repositories for minbpe
Users that are interested in minbpe are comparing it to the libraries listed below
Sorting:
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,112Updated last month
- PyTorch native post-training library☆5,523Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,408Updated last year
- ☆4,096Updated last year
- llama3 implementation one matrix multiplication at a time☆15,162Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,817Updated last week
- Modeling, training, eval, and inference code for OLMo☆6,019Updated last month
- Inference Llama 2 in one file of pure C☆18,801Updated last year
- LLM training in simple, raw C/CUDA☆27,769Updated 3 months ago
- NanoGPT (124M) in 3 minutes☆3,165Updated 2 months ago
- A PyTorch native platform for training generative AI models☆4,504Updated this week
- The official PyTorch implementation of Google's Gemma models☆5,554Updated 4 months ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,348Updated 11 months ago
- Train transformer language models with reinforcement learning.☆15,739Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,763Updated last year
- Machine Learning Engineering Open Book☆15,386Updated last week
- Run PyTorch LLMs locally on servers, desktop and mobile☆3,611Updated 3 weeks ago
- nanoGPT style version of Llama 3.1☆1,429Updated last year
- Robust recipes to align language models with human and AI preferences☆5,386Updated last month
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆44,823Updated 9 months ago
- Go ahead and axolotl questions☆10,551Updated this week
- The n-gram Language Model☆1,447Updated last year
- Implementation for MatMul-free LM.☆3,032Updated 2 months ago
- Accessible large language models via k-bit quantization for PyTorch.☆7,627Updated this week
- ☆3,028Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆22,669Updated last year
- PyTorch code and models for V-JEPA self-supervised learning from video.☆3,214Updated 7 months ago
- Efficient Triton Kernels for LLM Training☆5,714Updated this week
- Tensor library for machine learning☆13,230Updated last week
- Tools for merging pretrained large language models.☆6,337Updated 3 weeks ago