Downloads · 30 days
0
Anni0401/mnist-cnn
mnist-cnn is a image classification model from Anni0401. Use it when you need a label for an image. The card lists the license as mit.
This model is a Convolutional Neural Network trained on the MNIST dataset to classify handwritten digits (0–9).
Downloads · 30 days
0
Access
Public
Updated Dec 24, 2025
Repo size
3.4 MB
Likes
0
Public
Click a slice to open those files.
.pth1.7 MB · 100%
From the Hugging Face model README
This model is a Convolutional Neural Network trained on the MNIST dataset to classify handwritten digits (0–9).
from inference import load_model, predict
import numpy as np
model = load_model("mnist_cnn.pth")
image = np.zeros((28, 28))
prediction = predict(image, model)
print(prediction)