karpathy / microgradLinks
A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API
☆12,736Updated 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,304Updated last year
- You like pytorch? You like micrograd? You love tinygrad! ❤️☆30,086Updated this week
- A minimal PyTorch re-implementation of the OpenAI GPT (Generative Pretrained Transformer) training☆22,582Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆44,331Updated 9 months ago
- Minimal, clean code for the Byte Pair Encoding (BPE) algorithm commonly used in LLM tokenization.☆9,922Updated last year
- Neural Networks: Zero to Hero☆17,468Updated last year
- ☆4,193Updated last year
- Video+code lecture on building nanoGPT from scratch☆4,366Updated last year
- Pure Python from-scratch zero-dependency implementation of Bitcoin for educational purposes☆1,801Updated 4 years ago
- Inference Llama 2 in one file of pure C☆18,735Updated last year
- llama3 implementation one matrix multiplication at a time☆15,148Updated last year
- LLM training in simple, raw C/CUDA☆27,588Updated 2 months ago
- Solve puzzles. Improve your pytorch.☆3,714Updated last year
- Some ipython notebooks implementing AI algorithms☆1,375Updated 4 months ago
- Simple and efficient pytorch-native transformer text generation in <1000 LOC of python.☆6,085Updated 3 weeks ago
- NanoGPT (124M) in 3 minutes☆3,117Updated 2 months ago
- Tensor library for machine learning☆13,134Updated last week
- The n-gram Language Model☆1,442Updated last year
- 20+ high-performance LLMs with recipes to pretrain, finetune and deploy at scale.☆12,748Updated this week
- Reproducing Yann LeCun 1989 paper "Backpropagation Applied to Handwritten Zip Code Recognition", to my knowledge the earliest real-world …☆656Updated last year
- tiktoken is a fast BPE tokeniser for use with OpenAI's models.☆15,911Updated 2 weeks ago
- An unnecessarily tiny implementation of GPT-2 in NumPy.☆3,410Updated 2 years ago
- nanoGPT style version of Llama 3.1☆1,423Updated last year
- arxiv-sanity lite: tag arxiv papers of interest get recommendations of similar papers in a nice UI using SVMs over tfidf feature vectors …☆1,353Updated 2 years ago
- Solve puzzles. Learn CUDA.☆11,453Updated last year
- Development repository for the Triton language and compiler☆16,831Updated this week
- LLM101n: Let's build a Storyteller☆34,375Updated last year
- Notebooks and various random fun☆1,103Updated 2 years ago
- If tinygrad wasn't small enough for you...☆737Updated last year
- Interactive deep learning book with multi-framework code, math, and discussions. Adopted at 500 universities from 70 countries including …☆26,823Updated last year