A digit reader, built from blocks
A small model from Speliora's gallery looks at a handwritten digit and says which it is, 0 to 9.
How well it reads
- of 10,000 test digits right
- 98.6%
- weights
- 105,866
- to train 2 epochs on a CPU
- 12 s
How it's built
Two rounds of Conv2d, ReLU and MaxPool2d find the strokes. Two Linear layers pick one of ten digits. Each block is a line of model.py.



Try it
Open it with File › Open in Speliora. It holds the model, not the data: the app downloads MNIST.