Neural Network Lab
Two neural networks trained from random weights. Pick one. It downloads to your browser and runs on your device.
-
Digit CNN — draw a number from 0 to 9.
421,642 parameters. 99.20% accuracy on the 10,000-image MNIST test set. -
Review sentiment GRU — write a movie review.
3,629,569 parameters. 85.86% on the 25,000-review IMDb test set and 97.44% on 39 short behavioral checks.
Exactly how this is online
- Vercel serves ordinary HTML, JavaScript, ONNX model files, and a WebAssembly runtime.
- arhamamin.com forwards these URLs to the separate
neural-network-labVercel project. - The overview loads no model. A model is downloaded only after you open its page and press its load button.
- ONNX Runtime Web does the neural-network math on your CPU inside this browser tab.
- Your drawing or review is not posted to an inference API.
First-load data
| Version | Transferred | Measured load |
|---|---|---|
| Old combined page | 18.3 MB | 5.69 seconds for both models |
| This overview | 1.5 KB | 1.78 seconds to appear |
| Digit CNN | 4.72 MB | 7.92 seconds after Load |
| Sentiment GRU | 17.07 MB | 4.42 seconds after Load |
The overview and digit figures are medians from three cache-disabled live Chromium runs on this Mac on 14 August 2026. The sentiment row is the upgraded model's verified live run on 16 August 2026; its transfer total was measured separately with compressed responses. Your device and connection will differ. Each model page shows its own load time.