karpathy/micrograd

A tiny scalar-valued autograd engine and a neural net library on top of it with PyTorch-like API

Jupyter NotebookPython
This is stars and forks stats for /karpathy/micrograd repository. As of 02 May, 2024 this repository has 6336 stars and 791 forks.

micrograd A tiny Autograd engine (with a bite! :)). Implements backpropagation (reverse-mode autodiff) over a dynamically built DAG and a small neural networks library on top of it with a PyTorch-like API. Both are tiny, with about 100 and 50 lines of code respectively. The DAG only operates over scalar values, so e.g. we chop up each neuron into all of its individual tiny adds and multiplies. However, this is enough to build up entire deep neural nets doing binary classification, as the demo notebook...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
soyHenry/Python-PrepJupyter NotebookPythonNunjucks666010k0
lloydowen8/place-heatmap-2022Jupyter NotebookPython27020
IBM/claimedJupyter NotebookOther2.3k04.1k0
AllenDowney/ThinkDSPJupyter NotebookOther3.5k03k0
sigp/lighthouseRustShellMakefile2.5k06280
truenas/chartsSmartyPythonOther168+2179+3
FrankieIsLost/gradual-dutch-auctionSolidityJupyter NotebookPython1930310
weihaox/awesome-gan-inversionTeXPython1k0810
xcfcode/Summarization-PapersTeXPython94601400
ErikReider/SwayNotificationCenterValaMesonLess7620450