Create README.md
Browse files
README.md
ADDED
@@ -0,0 +1,67 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
---
|
2 |
+
{}
|
3 |
+
---
|
4 |
+
|
5 |
+
# Dataset Card for notMNIST
|
6 |
+
|
7 |
+
<!-- Provide a quick summary of the dataset. -->
|
8 |
+
|
9 |
+
## Dataset Details
|
10 |
+
|
11 |
+
### Dataset Description
|
12 |
+
|
13 |
+
<!-- Provide a longer summary of what this dataset is. -->
|
14 |
+
The notMNIST dataset is a image recognition dataset of font glypyhs for the letters A through J useful with simple neural networks.
|
15 |
+
|
16 |
+
### Dataset Sources
|
17 |
+
|
18 |
+
<!-- Provide the basic links for the dataset. -->
|
19 |
+
|
20 |
+
- **Homepage:** https://yaroslavvb.blogspot.com/2011/09/notmnist-dataset.html
|
21 |
+
|
22 |
+
## Dataset Structure
|
23 |
+
|
24 |
+
<!-- This section provides a description of the dataset fields, and additional information about the dataset structure such as criteria used to create the splits, relationships between data points, etc. -->
|
25 |
+
|
26 |
+
Total images: 70,000
|
27 |
+
|
28 |
+
Classes: 10 categories
|
29 |
+
|
30 |
+
Splits:
|
31 |
+
|
32 |
+
- **Train:** 60,000 images
|
33 |
+
|
34 |
+
- **Test:** 10,000 images
|
35 |
+
|
36 |
+
Image specs: 28x28 pixels, grayscale
|
37 |
+
|
38 |
+
## Example Usage
|
39 |
+
Below is a quick example of how to load this dataset via the Hugging Face Datasets library.
|
40 |
+
```
|
41 |
+
from datasets import load_dataset
|
42 |
+
|
43 |
+
# Load the dataset
|
44 |
+
dataset = load_dataset("randall-lab/notmnist", split="train", trust_remote_code=True)
|
45 |
+
# dataset = load_dataset("randall-lab/notmnist", split="test", trust_remote_code=True)
|
46 |
+
|
47 |
+
# Access a sample from the dataset
|
48 |
+
example = dataset[0]
|
49 |
+
image = example["image"]
|
50 |
+
label = example["label"]
|
51 |
+
|
52 |
+
image.show() # Display the image
|
53 |
+
print(f"Label: {label}")
|
54 |
+
```
|
55 |
+
|
56 |
+
## Citation
|
57 |
+
|
58 |
+
<!-- If there is a paper or blog post introducing the dataset, the APA and Bibtex information for that should go in this section. -->
|
59 |
+
|
60 |
+
**BibTeX:**
|
61 |
+
|
62 |
+
@misc{bulatov2011notmnist,
|
63 |
+
author={Yaroslav Bulatov},
|
64 |
+
title={notMNIST dataset},
|
65 |
+
year={2011},
|
66 |
+
url={http://yaroslavvb.blogspot.com/2011/09/notmnist-dataset.html}
|
67 |
+
}
|