Downloads · 30 days
3
7% of all-time downloads
ramanat1968/mnist-ann-model
mnist-ann-model is a machine learning model from ramanat1968. Use it for the machine learning task on the model card, and read the license before you ship it in a product. It is set up for keras. The card lists the license as mit.
This model is a simple Artificial Neural Network (ANN) trained on the MNIST dataset to classify handwritten digits (0–9).
Downloads · 30 days
3
7% of all-time downloads
All-time downloads
43
Public
Repo size
1.2 MB
Likes
0
Public
Click a slice to open those files.
.keras1.2 MB · 100%
From the Hugging Face model README
This model is a simple Artificial Neural Network (ANN) trained on the MNIST dataset to classify handwritten digits (0–9).
Achieves ~97–98% test accuracy.
import tensorflow as tf
import numpy as np
model = tf.keras.models.load_model("mnist_ann_model.keras")
# Example input (28x28 image normalized)
sample = np.random.rand(1, 28, 28)
pred = model.predict(sample)
print(np.argmax(pred))
Notes
This is a beginner-friendly ANN model (not CNN).