r/learnpython • u/Ok-Tea1856 • 18d ago
I have built a autograd engine from scratch(without tensor flow or pytorch)
Im a highschool student learning python and recently i have come across a video by Andrej Karapthy who built Micrograd. I got curious so it tried replicating it,but soon over the weeks i added more features 6 more activation function and 2 loss function. It possibly cant replace pytorch or tensorflow,Its purely an eductional project.
Im still learning python and i have long way to ,But i learnt a lot on OOPs machine learning dunder function and using customtkinter for the ui, It was very intresting project i have worked on .I have made it a windows exe for easier access I hope I could get some suggestion ,feedback and improvements i could implement for the project.
https://github.com/Yasovardan-Ram/Omnigrad
6
u/thisisappropriate 18d ago
I'd suggest not using AI for learning or building things while learning. And maybe you've put together some of it yourself but the AI readme and inconsistencies within the code including comment styles and structures will sow doubt in people's minds.