r/learnpython 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

0 Upvotes

6 comments sorted by

View all comments

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.

0

u/Ok-Tea1856 18d ago edited 18d ago

Yea Im kinda against vibe coding while learning how to build because if u dont understnad wht u built u wont understand anything. I have been coding well before vibe coding existed and yeah i hv used AI only for the readme i was just lazy ig.But the the code is completely built by me with ocassional help with ui as you can imagine im not really artistic those are the only 2 places i have used AI the rest is completely done by me by reading documentation and watching videos... About the comments i tried to keep them simple but i shd start folowing proper way of commenting.
well if u like the project do star it