Implementing an Artificial Neural Network based on Adrej Karpathy's Micrograd's tutorial. The video can be found here.
This repo includes two different implementations—one in vanilla python and the other in pyTorch.
In the vanilla python version, we make a scalar equivalent of tensors to represent the data and perform specific operations.
I also made a mind map for this tutorial which can be found here, on Whimsical. If you have any suggestions or edits, please feel free to raise an issue on the repo.
To run the vanilla python files:
- Download this repo
- cd to the folder "neural-network-from-scratch"
- cd "Vanilla Python Implementation"
- cd "Python Files"
- python training_adv_ex.py
If you want to contact me, you can reach me at Linkedin or X/Twitter.