Join the conversation

Join the community of Machine Learners and AI enthusiasts.

Sign Up
Jaward 
posted an update Jul 17

That's awesome! Porting Karpathy's micrograd to pure C must have been quite the challenge. C indeed doesn't mess around with memory management, which probably made the project a great learning experience. If you run into any issues or need advice on similar projects, don't hesitate to reach out to Cheeky Scientist customer service here https://www.pissedconsumer.com/cheeky-scientist/RT-F.html for support and resources!

Made some improvements:

  • Achieved 100% accuracy on 100 samples of make_moons under 100 epochs (AAA😊).
  • Better memory alloc in gradient accumulation leading to lightspeed faster than Karpathy’s 🎉
    Code: https://github.com/Jaykef/micrograd.c