Tiny MNIST Classifier

  • Parameters: 970 (<1000)
  • Test accuracy: 92.35%
  • Epochs trained: 45 (early stopping after 5 epochs without improvement)

This model was trained on RX 6600.

Full results

Metric Value
Total parameters 970
Best validation loss 0.2463
Final test accuracy 92.35%
Early stopping patience 5
Training epochs 45

Model architecture

AvgPool(4x4) โ†’ Linear(49โ†’16) โ†’ ReLU โ†’ Dropout(0.2) โ†’ Linear(16โ†’10)

How to use

import torch
from train import TinyMNISTModel

model = TinyMNISTModel()
model.load_state_dict(torch.load("mnist_1k_best.pth"))
model.eval()
Downloads last month

-

Downloads are not tracked for this model. How to track
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support