developerPratik commited on
Commit
e8ae29f
·
verified ·
1 Parent(s): de7c823

Create README.md

Browse files
Files changed (1) hide show
  1. README.md +49 -0
README.md ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ title: MNIST Digit Recognition
3
+ emoji: 🎯
4
+ colorFrom: blue
5
+ colorTo: purple
6
+ sdk: gradio
7
+ sdk_version: 4.0.0
8
+ app_file: app.py
9
+ pinned: false
10
+ license: mit
11
+ ---
12
+
13
+ # 🎯 MNIST Digit Recognition Demo
14
+
15
+ Draw a digit (0-9) and watch the AI recognize it with **99.6% accuracy**!
16
+
17
+ ## About This Model
18
+
19
+ This Space demonstrates a Convolutional Neural Network trained on the MNIST dataset, achieving exceptional performance:
20
+
21
+ - **Test Accuracy:** 99.60%
22
+ - **Model Size:** 271K parameters
23
+ - **Architecture:** 4-layer CNN with batch normalization
24
+ - **Framework:** PyTorch
25
+
26
+ ## How to Use
27
+
28
+ 1. **Draw a digit** in the canvas on the left
29
+ 2. **Wait a moment** for the prediction
30
+ 3. **See the result** with confidence scores for all digits
31
+
32
+ The model was trained using advanced techniques including:
33
+ - Data augmentation (rotation, scaling, random erasing)
34
+ - OneCycleLR scheduler with warmup
35
+ - Dropout and batch normalization
36
+ - Early stopping
37
+
38
+ ## Model Repository
39
+
40
+ Full training code and model weights: [mnist-cnn-classifier](https://huggingface.co/developerPratik/mnist-cnn-classifier)
41
+
42
+ ## Performance
43
+
44
+ The model achieves near-perfect accuracy across all digits:
45
+ - Most digits: 99-100% accuracy
46
+ - Balanced performance (no digit is significantly harder)
47
+ - Fast inference (~5ms per image on CPU)
48
+
49
+ Try it out and see if you can draw digits the model gets wrong! 🎨