https://github.com/sam99dave/mmgrad
Andrej Karpathy's Micrograd implementation in Mojo Programming Language
https://github.com/sam99dave/mmgrad
micrograd mojo
Last synced: about 1 year ago
JSON representation
Andrej Karpathy's Micrograd implementation in Mojo Programming Language
- Host: GitHub
- URL: https://github.com/sam99dave/mmgrad
- Owner: sam99dave
- Created: 2024-07-14T10:58:11.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-16T05:37:27.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T21:56:07.727Z (over 1 year ago)
- Topics: micrograd, mojo
- Language: Jupyter Notebook
- Homepage:
- Size: 39.1 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MMgrad
Micrograd implementation in Mojo Programming Language
Resources which helped a lot:
- [micrograd](https://github.com/karpathy/micrograd)
- [mojograd](https://github.com/automata/mojograd)
- Also, kapa.ai (Modular Discord Bot)
## Included
- [x] Value
- [x] Neuron
- [x] Layer
- [x] MLP
- [x] Make moons dataset for mojo
- [x] Train fn
- [x] Plots
- [x] Add ipynb with Value, Neuron, Layer, MLP and backprop example
## TOC
| File | Contents |
| ------------- | ------------- |
| engine.mojo | Value, operations and grad calculation for operations |
| nn.mojo | Neuron, Layer & MLP |
| play.mojo | Dataset creation, Train, utils and main function for training |
| test.ipynb | Value, grad, Neuron, Layer & MLP testing |
| attempts/* | Mistakes and failed attempts |