karpathy / minbpe
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,462Updated 8 months ago
Alternatives and similar repositories for minbpe:
Users that are interested in minbpe are comparing it to the libraries listed below
- llama3 implementation one matrix multiplication at a time☆14,244Updated 9 months ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆11,372Updated 7 months ago
- Inference Llama 2 in one file of pure C☆18,142Updated 7 months ago
- LLM training in simple, raw C/CUDA☆25,971Updated 5 months ago
- Video+code lecture on building nanoGPT from scratch☆3,943Updated 6 months ago
- PyTorch native post-training library☆4,972Updated this week
- The official PyTorch implementation of Google's Gemma models☆5,368Updated 2 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆5,862Updated 2 months ago
- ☆4,066Updated 9 months ago
- Welcome to the Llama Cookbook! This is your go to guide for Building with Llama: Getting started with Inference, Fine-Tuning, RAG. We als…☆16,401Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆11,756Updated last week
- Train transformer language models with reinforcement learning.☆12,330Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆13,702Updated 3 weeks ago
- Large Language Model Text Generation Inference☆9,859Updated this week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆6,820Updated 7 months ago
- Go ahead and axolotl questions☆8,809Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,276Updated 10 months ago
- An autoregressive character-level language model for making more things☆2,902Updated 9 months ago
- Modeling, training, eval, and inference code for OLMo☆5,317Updated this week
- DSPy: The framework for programming—not prompting—language models☆22,362Updated this week
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,288Updated 9 months ago
- Fast and memory-efficient exact attention☆16,156Updated this week
- A PyTorch native library for large model training☆3,420Updated this week
- SGLang is a fast serving framework for large language models and vision language models.☆11,647Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆39,950Updated 3 months ago
- Tools for merging pretrained large language models.☆5,388Updated last week
- Official inference library for Mistral models☆10,069Updated 3 months ago
- Tensor library for machine learning☆12,051Updated this week
- A framework for few-shot evaluation of language models.☆8,184Updated this week
- Examples in the MLX framework☆7,082Updated this week