micrograd_rs_nt

Crates.iomicrograd_rs_nt
lib.rsmicrograd_rs_nt
version0.1.0
sourcesrc
created_at2024-09-19 18:28:07.865636
updated_at2024-09-19 18:28:07.865636
descriptionRust implementation of Andrej Karpathy's micrograd scalar-valued engine.
homepage
repositoryhttps://github.com/nachiket273/micrograd_rs
max_upload_size
id1380577
size43,678
Nachiket (nachiket273)

documentation

README

micrograd_rs

A Rust Beginner's implementation of Andrej karpathy's micrograd.
Here's Link to the YouTube video.
Also thanks to micrograd-rust for reference implementation in rust.

The current implementation is limited to:

==============================================

  • scalar valued autograd
  • Implementation of forward and backward pass for arithmetic operations and power operation.
  • Implementation of forward and backward pass for activation functions - tanh and relu.

Sample Output:

===============================================
Sample Training Output for MLP


TO-DO:

==========================================

  • graph visulization using libraries like graphviz

  • Implementation of Tensor type library from scratch

  • Improve implementation of MLP, activations etc for Tensors.

Commit count: 16

cargo fmt