karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,786Updated 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,053Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,036Updated 3 months ago
- ☆4,087Updated last year
- Inference Llama 2 in one file of pure C☆18,597Updated 11 months ago
- Modeling, training, eval, and inference code for OLMo☆5,822Updated last week
- Video+code lecture on building nanoGPT from scratch☆4,241Updated 11 months ago
- The official PyTorch implementation of Google's Gemma models☆5,512Updated 2 months ago
- PyTorch native post-training library☆5,366Updated this week
- LLM training in simple, raw C/CUDA☆27,249Updated last month
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,667Updated last year
- NanoGPT (124M) in 3 minutes☆2,892Updated 2 weeks ago
- Go ahead and axolotl questions☆10,038Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆6,943Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,564Updated last week
- LLM101n: Let's build a Storyteller☆34,113Updated last year
- Train transformer language models with reinforcement learning.☆14,736Updated this week
- Large World Model -- Modeling Text and Video with Millions Context☆7,313Updated 9 months ago
- A PyTorch native platform for training generative AI models☆4,125Updated this week
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,583Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆12,439Updated 11 months ago
- Machine Learning Engineering Open Book☆14,527Updated last week
- Structured Outputs☆12,188Updated this week
- nanoGPT style version of Llama 3.1☆1,409Updated 11 months ago
- ☆2,990Updated 10 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆43,152Updated 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…☆17,686Updated this week
- The n-gram Language Model☆1,437Updated 11 months ago
- An autoregressive character-level language model for making more things☆3,197Updated last year
- Robust recipes to align language models with human and AI preferences☆5,289Updated this week
- Examples in the MLX framework☆7,675Updated last month