karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,287Updated 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,242Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,181Updated 5 months ago
- Modeling, training, eval, and inference code for OLMo☆6,294Updated 2 months ago
- Video+code lecture on building nanoGPT from scratch☆4,695Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,126Updated last week
- ☆4,113Updated last year
- PyTorch native post-training library☆5,654Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,172Updated last year
- Inference Llama 2 in one file of pure C☆19,137Updated last year
- A PyTorch native platform for training generative AI models☆5,004Updated this week
- Machine Learning Engineering Open Book☆16,469Updated last week
- Robust recipes to align language models with human and AI preferences☆5,481Updated 4 months ago
- LLM training in simple, raw C/CUDA☆28,720Updated 7 months ago
- LLM101n: Let's build a Storyteller☆36,192Updated last year
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆18,167Updated 2 months ago
- An autoregressive character-level language model for making more things☆3,605Updated last year
- NanoGPT (124M) in 2 minutes☆4,410Updated last week
- The official PyTorch implementation of Google's Gemma models☆5,599Updated 8 months ago
- Tools for merging pretrained large language models.☆6,718Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,880Updated last year
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,478Updated last year
- Solve puzzles. Improve your pytorch.☆3,887Updated last year
- Accessible large language models via k-bit quantization for PyTorch.☆7,912Updated last week
- Go ahead and axolotl questions☆11,138Updated last week
- AllenAI's post-training codebase☆3,551Updated this week
- Run PyTorch LLMs locally on servers, desktop and mobile☆3,625Updated 4 months ago
- Implementation for MatMul-free LM.☆3,051Updated last month
- Large Language Model Text Generation Inference☆10,739Updated 3 weeks ago
- Official inference library for Mistral models☆10,640Updated 2 months ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,391Updated last year