karpathy / llm.c
LLM training in simple, raw C/CUDA
☆26,563Updated this week
Alternatives and similar repositories for llm.c
Users that are interested in llm.c are comparing it to the libraries listed below
Sorting:
- Inference Llama 2 in one file of pure C☆18,371Updated 9 months ago
- llama3 implementation one matrix multiplication at a time☆14,925Updated 11 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆9,626Updated 10 months ago
- Tensor library for machine learning☆12,477Updated this week
- A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API☆11,820Updated 9 months ago
- Implement a ChatGPT-like LLM in PyTorch from scratch, step by step☆48,238Updated 3 weeks ago
- LLM101n: Let's build a Storyteller☆33,399Updated 9 months ago
- LLM inference in C/C++☆79,738Updated this week
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆5,946Updated last month
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,076Updated this week
- Port of OpenAI's Whisper model in C/C++☆39,829Updated this week
- Material for gpu-mode lectures☆4,402Updated 3 months ago
- Universal LLM Deployment Engine with ML Compilation☆20,579Updated last week
- Video+code lecture on building nanoGPT from scratch☆4,089Updated 8 months ago
- A high-throughput and memory-efficient inference and serving engine for LLMs☆46,848Updated this week
- Modeling, training, eval, and inference code for OLMo☆5,581Updated this week
- High-speed Large Language Model Serving for Local Deployment☆8,191Updated 2 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆41,081Updated 5 months ago
- Fast and memory-efficient exact attention☆17,259Updated last week
- ☆4,079Updated 11 months ago
- The official repo of Qwen (通义千问) chat & pretrained large language model proposed by Alibaba Cloud.☆18,214Updated last week
- Solve puzzles. Learn CUDA.☆10,970Updated 8 months ago
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆21,866Updated 8 months ago
- The TinyLlama project is an open endeavor to pretrain a 1.1B Llama model on 3 trillion tokens.☆8,473Updated last year
- lightweight, standalone C++ inference engine for Google's Gemma models.☆6,396Updated this week
- Course to get into Large Language Models (LLMs) with roadmaps and Colab notebooks.☆50,140Updated 3 months ago
- An autoregressive character-level language model for making more things☆3,050Updated 11 months ago
- RWKV (pronounced RwaKuv) is an RNN with great LLM performance, which can also be directly trained like a GPT transformer (parallelizable)…☆13,576Updated this week
- The official Meta Llama 3 GitHub site☆28,671Updated 3 months ago
- Inference code for Llama models☆58,218Updated 3 months ago