Update README
Browse files
README.md
CHANGED
|
@@ -1,15 +1,47 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version: 6.
|
| 8 |
python_version: '3.12'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
license: mit
|
| 12 |
short_description: Classify digits in MNIST-like images
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
---
|
|
|
|
| 14 |
|
| 15 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: mnistvit MNIST Vision Transformer
|
| 3 |
+
emoji: 🔢
|
| 4 |
+
colorFrom: yellow
|
| 5 |
colorTo: gray
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: 6.24.0
|
| 8 |
python_version: '3.12'
|
| 9 |
app_file: app.py
|
| 10 |
pinned: false
|
| 11 |
license: mit
|
| 12 |
short_description: Classify digits in MNIST-like images
|
| 13 |
+
tags:
|
| 14 |
+
- mnist
|
| 15 |
+
- vit
|
| 16 |
+
- vision
|
| 17 |
+
- transformer
|
| 18 |
+
- classification
|
| 19 |
+
- recognition
|
| 20 |
+
- image
|
| 21 |
+
- digit
|
| 22 |
+
models:
|
| 23 |
+
- asnelt/mnistvit
|
| 24 |
+
datasets:
|
| 25 |
+
- ylecun/mnist
|
| 26 |
+
thumbnail: >-
|
| 27 |
+
https://huggingface.co/spaces/asnelt/mnistvit/resolve/main/thumbnail.png
|
| 28 |
---
|
| 29 |
+
# mnistvit - MNIST Digit Classification
|
| 30 |
|
| 31 |
+
This Space showcases mnistvit, a vision transformer (ViT) trained on MNIST with
|
| 32 |
+
a PyTorch-only implementation, achieving 99.65% test set accuracy.
|
| 33 |
+
|
| 34 |
+
## Model Details
|
| 35 |
+
|
| 36 |
+
- **Hugging Face:**
|
| 37 |
+
[https://huggingface.co/asnelt/mnistvit/](https://huggingface.co/asnelt/mnistvit/)
|
| 38 |
+
- **Code Repository:**
|
| 39 |
+
[https://github.com/asnelt/mnistvit/](https://github.com/asnelt/mnistvit/)
|
| 40 |
+
- **Python Package Index:**
|
| 41 |
+
[https://pypi.org/project/mnistvit/](https://pypi.org/project/mnistvit/)
|
| 42 |
+
|
| 43 |
+
## Use
|
| 44 |
+
|
| 45 |
+
Draw a digit, or upload an image of one, then click the **Submit** button to see
|
| 46 |
+
whether mnistvit recognizes the digit. Support for MCP tools and agent use is
|
| 47 |
+
provided as well.
|