karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,700Updated 11 months ago
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.☆5,993Updated 2 months ago
- llama3 implementation one matrix multiplication at a time☆15,001Updated last year
- Inference Llama 2 in one file of pure C☆18,475Updated 10 months ago
- ☆4,084Updated last year
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,573Updated last year
- Large World Model -- Modeling Text and Video with Millions Context☆7,296Updated 8 months ago
- PyTorch native post-training library☆5,273Updated this week
- Tools for merging pretrained large language models.☆5,829Updated this week
- Train transformer language models with reinforcement learning.☆14,193Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,293Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,156Updated 10 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…☆17,490Updated this week
- Tensor library for machine learning☆12,697Updated last week
- Large Language Model Text Generation Inference☆10,236Updated this week
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,500Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆42,030Updated 6 months ago
- Robust recipes to align language models with human and AI preferences☆5,232Updated last month
- 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,793Updated this week
- nanoGPT style version of Llama 3.1☆1,380Updated 10 months ago
- SGLang is a fast serving framework for large language models and vision language models.☆15,276Updated this week
- Modeling, training, eval, and inference code for OLMo☆5,689Updated last week
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆6,906Updated 11 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆50,358Updated this week
- Python bindings for llama.cpp☆9,257Updated last month
- High-speed Large Language Model Serving for Local Deployment☆8,221Updated 4 months ago
- NanoGPT (124M) in 3 minutes☆2,660Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆22,843Updated 10 months ago
- A framework for few-shot evaluation of language models.☆9,326Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆7,142Updated this week
- The official PyTorch implementation of Google's Gemma models☆5,485Updated 3 weeks ago