karpathy / minbpeLinks
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆10,309Updated last year
Alternatives and similar repositories for minbpe
Users that are interested in minbpe are comparing it to the libraries listed below
Sorting:
- Video+code lecture on building nanoGPT from scratch☆4,719Updated last year
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,183Updated 5 months ago
- An autoregressive character-level language model for making more things☆3,635Updated last year
- PyTorch native post-training library☆5,669Updated this week
- llama3 implementation one matrix multiplication at a time☆15,241Updated last year
- The official PyTorch implementation of Google's Gemma models☆5,602Updated 8 months ago
- ☆4,112Updated last year
- NanoGPT (124M) in 2 minutes☆4,589Updated last week
- LLM training in simple, raw C/CUDA☆28,814Updated 7 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,891Updated last year
- A PyTorch native platform for training generative AI models☆5,045Updated this week
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆13,155Updated this week
- Modeling, training, eval, and inference code for OLMo☆6,305Updated 2 months ago
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,728Updated this week
- Robust recipes to align language models with human and AI preferences☆5,495Updated 5 months ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆14,598Updated last year
- Inference Llama 2 in one file of pure C☆19,162Updated last year
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,494Updated last year
- ☆4,513Updated 2 years ago
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆7,182Updated last year
- Accessible large language models via k-bit quantization for PyTorch.☆7,939Updated 3 weeks ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,396Updated last year
- Minimalistic 4D-parallelism distributed training framework for education purpose☆2,076Updated 5 months ago
- Train transformer language models with reinforcement learning.☆17,297Updated this week
- Machine Learning Engineering Open Book☆16,586Updated 2 weeks ago
- A framework for few-shot evaluation of language models.☆11,393Updated this week
- Go ahead and axolotl questions☆11,251Updated last week
- 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,190Updated 3 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆52,955Updated 3 months ago
- ☆3,071Updated 2 months ago