karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,662Updated 10 months ago
Alternatives and similar repositories for minbpe
Users that are interested in minbpe are comparing it to the libraries listed below
Sorting:
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,174Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆5,960Updated last month
- llama3 implementation one matrix multiplication at a time☆14,982Updated last year
- Inference Llama 2 in one file of pure C☆18,421Updated 9 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆41,517Updated 5 months ago
- Modeling, training, eval, and inference code for OLMo☆5,626Updated last week
- PyTorch native post-training library☆5,217Updated this week
- NanoGPT (124M) in 3 minutes☆2,578Updated last week
- An autoregressive character-level language model for making more things☆3,094Updated 11 months ago
- ☆4,083Updated 11 months ago
- Train transformer language models with reinforcement learning.☆13,971Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆12,014Updated 9 months ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,277Updated 7 months ago
- ☆3,973Updated last year
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,446Updated 11 months ago
- Video+code lecture on building nanoGPT from scratch☆4,127Updated 9 months ago
- Fast and memory-efficient exact attention☆17,572Updated last week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆14,662Updated 2 months ago
- Accessible large language models via k-bit quantization for PyTorch.☆7,064Updated last week
- Tensor library for machine learning☆12,591Updated this week
- Go ahead and axolotl questions☆9,470Updated this week
- Tools for merging pretrained large language models.☆5,754Updated last week
- Machine Learning Engineering Open Book☆13,781Updated last week
- A framework for few-shot evaluation of language models.☆9,069Updated this week
- PyTorch code and models for V-JEPA self-supervised learning from video.☆3,005Updated 3 months ago
- TensorRT-LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and support state-of-the-art optimizati…☆10,586Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,504Updated last year
- SGLang is a fast serving framework for large language models and vision language models.☆14,667Updated this week
- LLM training in simple, raw C/CUDA☆26,706Updated 3 weeks ago
- Large Language Model Text Generation Inference☆10,155Updated this week