karpathy / nanoGPTLinks
The simplest, fastest repository for training/finetuning medium-sized GPTs.
☆43,152Updated 7 months ago
Alternatives and similar repositories for nanoGPT
Users that are interested in nanoGPT are comparing it to the libraries listed below
Sorting:
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆22,314Updated 11 months ago
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆12,389Updated 11 months ago
- Inference Llama 2 in one file of pure C☆18,582Updated 11 months ago
- Tensor library for machine learning☆12,859Updated this week
- LLM training in simple, raw C/CUDA☆27,216Updated last month
- Instruct-tune LLaMA on consumer hardware☆18,933Updated 11 months ago
- LLM inference in C/C++☆83,406Updated this week
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆9,772Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,547Updated this week
- llama3 implementation one matrix multiplication at a time☆15,050Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆15,146Updated 4 months ago
- ☆4,084Updated last year
- MLX: An array framework for Apple silicon☆21,609Updated last week
- Inference code for Llama models☆58,558Updated 5 months ago
- Code for loralib, an implementation of "LoRA: Low-Rank Adaptation of Large Language Models"☆12,361Updated 7 months ago
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆13,796Updated 2 weeks ago
- Code and documentation to train Stanford's Alpaca models, and generate the data.☆30,087Updated last year
- QLoRA: Efficient Finetuning of Quantized LLMs☆10,572Updated last year
- 🤗 PEFT: State-of-the-art Parameter-Efficient Fine-Tuning.☆19,116Updated this week
- LLM101n: Let's build a Storyteller☆34,055Updated 11 months ago
- Video+code lecture on building nanoGPT from scratch☆4,228Updated 11 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,654Updated last year
- Implementation of the LLaMA language model based on nanoGPT. Supports flash attention, Int8 and GPTQ 4bit quantization, LoRA and LLaMA-Ad…☆6,079Updated 3 weeks ago
- Open-sourced codes for MiniGPT-4 and MiniGPT-v2 (https://minigpt-4.github.io, https://minigpt-v2.github.io/)☆25,712Updated 10 months ago
- Fast and memory-efficient exact attention☆18,448Updated last week
- An autoregressive character-level language model for making more things☆3,191Updated last year
- A curated list of practical guide resources of LLMs (LLMs Tree, Examples, Papers)☆9,991Updated last year
- An unnecessarily tiny implementation of GPT-2 in NumPy.☆3,391Updated 2 years ago
- A guidance language for controlling large language models.☆20,515Updated this week
- A high-throughput and memory-efficient inference and serving engine for LLMs☆52,682Updated this week