- micrograd - numpy - matplotlib

The micrograd demo notebook in pyscript training a model running python natively in your browser


Credit: Andrej Karpathy https://github.com/karpathy/micrograd/blob/master/demo.ipynb
This automatically runs the micrograd demo and once it is complete, a plot displaying the results will appear. This will take some time.
This can be used as a benchmark of sorts to test performance betwen devices by automatically running the script. This runs on iPhone!
If you want to run this interactively or see the code, you can view it here: https://matdmiller.github.io/fastai-huggingface-sample-web-app1/pyscript-micrograd-demo.html
print('Python has started...')

You may interact with any of the variables once the full run has completed in this repl. Hit Shift+Enter to run the code.
X