karpathy / minbpe
Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.
☆9,564Updated 9 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,844Updated 10 months ago
- LLM training in simple, raw C/CUDA☆26,288Updated 6 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆5,912Updated last month
- [ICLR 2024] Efficient Streaming Language Models with Attention Sinks☆6,848Updated 9 months ago
- Inference Llama 2 in one file of pure C☆18,273Updated 8 months ago
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆11,948Updated this week
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,366Updated 10 months ago
- ☆4,076Updated 10 months ago
- PyTorch native post-training library☆5,073Updated this week
- Train transformer language models with reinforcement learning.☆13,166Updated this week
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,380Updated 11 months ago
- Accessible large language models via k-bit quantization for PyTorch.☆6,901Updated this week
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆18,082Updated this week
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆40,626Updated 4 months ago
- The official PyTorch implementation of Google's Gemma models☆5,414Updated 3 weeks ago
- ☆3,917Updated last year
- Tools for merging pretrained large language models.☆5,544Updated this week
- Tensor library for machine learning☆12,272Updated this week
- Robust recipes to align language models with human and AI preferences☆5,122Updated 4 months ago
- The n-gram Language Model☆1,412Updated 8 months ago
- Go ahead and axolotl questions☆9,075Updated this week
- Video+code lecture on building nanoGPT from scratch☆4,041Updated 8 months ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆21,717Updated 7 months ago
- NanoGPT (124M) in 3 minutes☆2,479Updated last week
- Large Language Model Text Generation Inference☆9,992Updated this week
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,047Updated 7 months ago
- Python bindings for llama.cpp☆8,943Updated this week
- Modeling, training, eval, and inference code for OLMo☆5,476Updated this week
- SkyPilot: Run AI and batch jobs on any infra (Kubernetes or 16+ clouds). Get unified execution, cost savings, and high GPU availability v…☆7,642Updated this week
- [NeurIPS'23 Oral] Visual Instruction Tuning (LLaVA) built towards GPT-4V level capabilities and beyond.☆22,171Updated 8 months ago