|
|
--- |
|
|
library_name: keras |
|
|
tags: |
|
|
- image-classification |
|
|
- tensorflow |
|
|
datasets: |
|
|
- mnist |
|
|
--- |
|
|
|
|
|
# MNIST Digit Classifier |
|
|
|
|
|
This is a Keras/TensorFlow model trained on the MNIST dataset to classify handwritten digits (0-9). |
|
|
|
|
|
## Model Details |
|
|
- **Framework:** TensorFlow / Keras |
|
|
- **Task:** Image Classification (Multi-class) |
|
|
- **Dataset:** MNIST |
|
|
|
|
|
## Intended Use |
|
|
This model is intended for educational purposes to demonstrate digit classification. |
|
|
|
|
|
## Usage |
|
|
|
|
|
You can download and load this model in Python: |
|
|
|
|
|
```python |
|
|
from huggingface_hub import hf_hub_download |
|
|
import tensorflow as tf |
|
|
|
|
|
# Download the model file |
|
|
model_path = hf_hub_download(repo_id="your-username/your-model-name", filename="mnist_model.keras") |
|
|
|
|
|
# Load the model |
|
|
model = tf.keras.models.load_model(model_path) |
|
|
``` |
|
|
|