karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,206Updated 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,199Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,165Updated 3 months ago
- Video+code lecture on building nanoGPT from scratch☆4,607Updated last year
- The official PyTorch implementation of Google's Gemma models☆5,586Updated 6 months ago
- ☆4,109Updated last year
- PyTorch native post-training library☆5,615Updated last week
- LLM training in simple, raw C/CUDA☆28,387Updated 5 months ago
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,638Updated this week
- Go ahead and axolotl questions☆10,934Updated this week
- Large World Model -- Modeling Text and Video with Millions Context☆7,383Updated last year
- An autoregressive character-level language model for making more things☆3,508Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,017Updated this week
- Inference Llama 2 in one file of pure C☆19,015Updated last year
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,835Updated last year
- NanoGPT (124M) in 3 minutes☆3,947Updated this week
- MLX: An array framework for Apple silicon☆23,050Updated this week
- Examples in the MLX framework☆8,044Updated 3 weeks ago
- Modeling, training, eval, and inference code for OLMo☆6,220Updated 3 weeks ago
- Robust recipes to align language models with human and AI preferences☆5,447Updated 3 months ago
- CoreNet: A library for training deep neural networks☆7,025Updated 2 months ago
- Machine Learning Engineering Open Book☆16,032Updated last week
- 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,081Updated last month
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆50,929Updated last month
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,016Updated last year
- Gemma open-weight LLM library, from Google DeepMind☆3,879Updated 3 weeks ago
- A PyTorch native platform for training generative AI models☆4,847Updated this week
- PyTorch code and models for V-JEPA self-supervised learning from video.☆3,309Updated 9 months ago
- Tools for merging pretrained large language models.☆6,575Updated last week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆16,788Updated 2 months ago
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,147Updated last year