karpathy / microgradLinks
A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
☆14,335Updated last year
Alternatives and similar repositories for micrograd
Users that are interested in micrograd are comparing it to the libraries listed below
Sorting:
- An autoregressive character-level language model for making more things☆3,574Updated last year
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆31,122Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆23,284Updated last year
- ☆4,459Updated last year
- Neural Networks: Zero to Hero☆19,761Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆51,992Updated 2 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆10,261Updated last year
- Video+code lecture on building nanoGPT from scratch☆4,655Updated last year
- Pure Python from-scratch zero-dependency implementation of Bitcoin for educational purposes☆1,855Updated 4 years ago
- LLM training in simple, raw C/CUDA☆28,590Updated 6 months ago
- NanoGPT (124M) in 3 minutes☆4,116Updated last week
- Some ipython notebooks implementing AI algorithms☆1,394Updated 8 months ago
- llama3 implementation one matrix multiplication at a time☆15,231Updated last year
- Inference Llama 2 in one file of pure C☆19,106Updated last year
- Solve puzzles. Improve your pytorch.☆3,872Updated last year
- An unnecessarily tiny implementation of GPT-2 in NumPy.☆3,437Updated 2 years ago
- Development repository for the Triton language and compiler☆18,098Updated this week
- arxiv-sanity lite: tag arxiv papers of interest get recommendations of similar papers in a nice UI using SVMs over tfidf feature vectors …☆1,441Updated 2 years ago
- Accessible large language models via k-bit quantization for PyTorch.☆7,881Updated last week
- LLM101n: Let's build a Storyteller☆36,130Updated last year
- Tensor library for machine learning☆13,812Updated this week
- From the Transistor to the Web Browser, a rough outline for a 12 week course☆6,397Updated 4 years ago
- ☆4,110Updated last year
- The full minitorch student suite.☆2,272Updated last year
- Notebooks and various random fun☆1,135Updated 2 years ago
- The comma.ai Calibration Challenge!☆979Updated last year
- Fast and memory-efficient exact attention☆21,516Updated last week
- Reproducing Yann LeCun 1989 paper "Backpropagation Applied to Handwritten Zip Code Recognition", to my knowledge the earliest real-world …☆704Updated last year
- Implementing DeepSeek R1's GRPO algorithm from scratch☆1,740Updated 8 months ago
- Unsupervised text tokenizer for Neural Network-based text generation.☆11,564Updated last week