ylecun/mnist
Viewer • Updated • 70k • 104k • 281
How to use GiladtheFixer/my_Mnist_Model with Keras:
# !pip install -U keras tensorflow huggingface_hub
# Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here;
# "jax" and "torch" also work for computation once TensorFlow is installed.
import os
os.environ["KERAS_BACKEND"] = "tensorflow"
import keras
model = keras.saving.load_model("hf://GiladtheFixer/my_Mnist_Model")
An improved CNN model for handwritten digit recognition, trained on the MNIST dataset.
Test Accuracy: 0.9884