karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,151Updated 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,156Updated 3 months ago
- Video+code lecture on building nanoGPT from scratch☆4,549Updated last year
- An autoregressive character-level language model for making more things☆3,427Updated last year
- ☆4,110Updated last year
- llama3 implementation one matrix multiplication at a time☆15,189Updated last year
- LLM training in simple, raw C/CUDA☆28,194Updated 5 months ago
- The official PyTorch implementation of Google's Gemma models☆5,575Updated 5 months ago
- Modeling, training, eval, and inference code for OLMo☆6,168Updated last month
- Large World Model -- Modeling Text and Video with Millions Context☆7,374Updated last year
- PyTorch native post-training library☆5,595Updated last week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,808Updated last year
- Inference Llama 2 in one file of pure C☆18,952Updated last year
- NanoGPT (124M) in 3 minutes☆3,878Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,951Updated last week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆13,789Updated last year
- ☆4,331Updated 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,047Updated 3 weeks ago
- Official inference library for Mistral models☆10,543Updated 8 months ago
- Robust recipes to align language models with human and AI preferences☆5,427Updated 2 months ago
- Examples in the MLX framework☆8,002Updated last week
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,615Updated last week
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,766Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆49,869Updated 2 weeks ago
- A PyTorch native platform for training generative AI models☆4,754Updated this week
- Go ahead and axolotl questions☆10,842Updated this week
- MLX: An array framework for Apple silicon☆22,864Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆7,767Updated this week
- Train transformer language models with reinforcement learning.☆16,382Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,128Updated last year
- TensorRT LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and supports state-of-the-art optimizat…☆12,203Updated this week