karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,908Updated last year
Alternatives and similar repositories for minbpe
Users that are interested in minbpe are comparing it to the libraries listed below
Sorting:
- Video+code lecture on building nanoGPT from scratch☆4,346Updated last year
- llama3 implementation one matrix multiplication at a time☆15,132Updated last year
- ☆4,089Updated last year
- The official PyTorch implementation of Google's Gemma models☆5,542Updated 3 months ago
- PyTorch native post-training library☆5,458Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,726Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,085Updated 2 weeks ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,727Updated last year
- LLM training in simple, raw C/CUDA☆27,536Updated 2 months ago
- Inference Llama 2 in one file of pure C☆18,722Updated last year
- Modeling, training, eval, and inference code for OLMo☆5,963Updated this week
- An autoregressive character-level language model for making more things☆3,294Updated last year
- The n-gram Language Model☆1,440Updated last year
- NanoGPT (124M) in 3 minutes☆3,091Updated last month
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆12,703Updated last year
- nanoGPT style version of Llama 3.1☆1,425Updated last year
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,556Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆44,098Updated 9 months ago
- Go ahead and axolotl questions☆10,365Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆22,554Updated last year
- A PyTorch native platform for training generative AI models☆4,372Updated this week
- Tools for merging pretrained large language models.☆6,258Updated 3 weeks ago
- Examples in the MLX framework☆7,813Updated last week
- Machine Learning Engineering Open Book☆15,025Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆7,567Updated this week
- Large World Model -- Modeling Text and Video with Millions Context☆7,333Updated 10 months ago
- Train transformer language models with reinforcement learning.☆15,409Updated this week
- PyTorch code and models for V-JEPA self-supervised learning from video.☆3,198Updated 6 months ago
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,035Updated last year
- Run PyTorch LLMs locally on servers, desktop and mobile☆3,610Updated 3 weeks ago