karpathy / minbpe
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,403Updated 7 months ago
Alternatives and similar repositories for minbpe:
Users that are interested in minbpe are comparing it to the libraries listed below
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆5,787Updated 2 months ago
- PyTorch native post-training library☆4,846Updated this week
- Video+code lecture on building nanoGPT from scratch☆3,869Updated 6 months ago
- llama3 implementation one matrix multiplication at a time☆14,139Updated 8 months ago
- The official PyTorch implementation of Google's Gemma models☆5,349Updated last month
- ☆4,058Updated 8 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆11,592Updated this week
- LLM training in simple, raw C/CUDA☆25,627Updated 4 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,227Updated last week
- Train transformer language models with reinforcement learning.☆11,782Updated this week
- Machine Learning Engineering Open Book☆12,773Updated 2 weeks ago
- Inference Llama 2 in one file of pure C☆18,034Updated 6 months ago
- Go ahead and axolotl questions☆8,648Updated this week
- Modeling, training, eval, and inference code for OLMo☆5,184Updated this week
- A PyTorch native library for large model training☆3,313Updated this week
- TensorRT-LLM provides users with an easy-to-use Python API to define Large Language Models (LLMs) and build TensorRT engines that contain…☆9,441Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,210Updated 9 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆38,475Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆39,429Updated 2 months ago
- Large World Model -- Modeling Text and Video with Millions Context☆7,226Updated 4 months ago
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,246Updated 8 months ago
- Fast and memory-efficient exact attention☆15,541Updated this week
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆17,363Updated this week
- Accessible large language models via k-bit quantization for PyTorch.☆6,679Updated this week
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆13,438Updated this week
- An autoregressive character-level language model for making more things☆2,828Updated 8 months ago
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆6,795Updated 7 months ago
- Tools for merging pretrained large language models.☆5,260Updated last week
- Python bindings for llama.cpp☆8,647Updated 3 weeks ago
- Tensor library for machine learning☆11,874Updated last week