Rutorch is an educational Rust project implementing a minimal tensor library with automatic differentiation, supporting CPU and Metal acceleration, and featuring interactive demos for neural networks on tasks like XOR, classification boundaries, and character-level text generation.
How It Works
You stumble upon Rutorch, a playful sandbox where you can watch tiny AI brains learn simple tricks like logic puzzles and pattern spotting.
Grab the files and get everything ready with a quick setup so you can start experimenting right away.
Train it to figure out exclusive-or logic from examples.
Help it draw invisible lines separating swirly or clumpy dots.
Teach it to predict and create math formulas character by character.
Hit go and see the loss drop as your little network gets smarter over many practice rounds, feeling the excitement build.
Review how perfectly it solves your puzzle, spots patterns, or writes new math, with optional pictures to visualize the magic.
You've successfully trained neural networks from scratch, understanding how they learn, and ready to try more demos.
Star Growth
Repurpose is a Pro feature
Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.
Unlock RepurposeSimilar repos coming soon.