karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,242Updated 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,171Updated 4 months ago
- Video+code lecture on building nanoGPT from scratch☆4,648Updated last year
- llama3 implementation one matrix multiplication at a time☆15,219Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,071Updated this week
- ☆4,110Updated last year
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,859Updated last year
- An autoregressive character-level language model for making more things☆3,553Updated last year
- LLM training in simple, raw C/CUDA☆28,510Updated 6 months ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,206Updated last year
- ☆4,449Updated last year
- PyTorch native post-training library☆5,639Updated last week
- Inference Llama 2 in one file of pure C☆19,063Updated last year
- Robust recipes to align language models with human and AI preferences☆5,466Updated 3 months ago
- The official PyTorch implementation of Google's Gemma models☆5,589Updated 7 months ago
- Modeling, training, eval, and inference code for OLMo☆6,266Updated last month
- Go ahead and axolotl questions☆11,024Updated this week
- LLM101n: Let's build a Storyteller☆36,090Updated last year
- Train transformer language models with reinforcement learning.☆16,844Updated this week
- Examples in the MLX framework☆8,096Updated 3 weeks ago
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,807Updated 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,136Updated 2 months ago
- A PyTorch native platform for training generative AI models☆4,924Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆7,867Updated 3 weeks ago
- Tools for merging pretrained large language models.☆6,647Updated 2 weeks ago
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆16,915Updated 3 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆51,606Updated last month
- MLX: An array framework for Apple silicon☆23,342Updated this week
- Large Language Model Text Generation Inference☆10,720Updated 2 weeks ago
- NanoGPT (124M) in 3 minutes☆4,085Updated this week
- Tensor library for machine learning☆13,784Updated this week