karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,064Updated 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,135Updated 2 months ago
- Video+code lecture on building nanoGPT from scratch☆4,469Updated last year
- llama3 implementation one matrix multiplication at a time☆15,180Updated last year
- Inference Llama 2 in one file of pure C☆18,872Updated last year
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,775Updated last year
- PyTorch native post-training library☆5,547Updated last week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,861Updated last week
- LLM training in simple, raw C/CUDA☆27,923Updated 4 months ago
- ☆4,101Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆47,749Updated 10 months ago
- NanoGPT (124M) in 3 minutes☆3,694Updated last week
- PyTorch code and models for V-JEPA self-supervised learning from video.☆3,245Updated 8 months ago
- The official PyTorch implementation of Google's Gemma models☆5,564Updated 4 months ago
- An autoregressive character-level language model for making more things☆3,355Updated last year
- Modeling, training, eval, and inference code for OLMo☆6,055Updated this week
- Go ahead and axolotl questions☆10,673Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆7,687Updated last week
- A PyTorch native platform for training generative AI models☆4,604Updated this week
- The n-gram Language Model☆1,461Updated last year
- Large World Model -- Modeling Text and Video with Millions Context☆7,360Updated last year
- nanoGPT style version of Llama 3.1☆1,438Updated last year
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,710Updated last year
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,094Updated last year
- Robust recipes to align language models with human and AI preferences☆5,406Updated last month
- Large Language Model Text Generation Inference☆10,580Updated last month
- Solve puzzles. Improve your pytorch.☆3,754Updated last year
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,599Updated this week
- ☆3,037Updated last year
- A collection of LLM papers, blogs, and projects, with a focus on OpenAI o1 🍓 and reasoning techniques.☆6,843Updated last week
- Fast and memory-efficient exact attention☆20,151Updated this week