Upload README.md with huggingface_hub
Browse files
README.md
CHANGED
|
@@ -36,3 +36,40 @@ configs:
|
|
| 36 |
- split: test
|
| 37 |
path: data/test-*
|
| 38 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 36 |
- split: test
|
| 37 |
path: data/test-*
|
| 38 |
---
|
| 39 |
+
|
| 40 |
+
# tsilva/mnist
|
| 41 |
+
|
| 42 |
+
## Dataset Summary
|
| 43 |
+
|
| 44 |
+
This dataset is a Hugging Face packaged version of the classic MNIST handwritten digits benchmark. It contains grayscale 28x28 images of digits `0` through `9`, split into the standard `train` and `test` partitions.
|
| 45 |
+
|
| 46 |
+
Each row includes:
|
| 47 |
+
|
| 48 |
+
- `image`: a 28x28 grayscale digit image
|
| 49 |
+
- `label`: the digit class from `0` to `9`
|
| 50 |
+
- `source_index`: the original position of the example inside the source MNIST split
|
| 51 |
+
|
| 52 |
+
## Splits
|
| 53 |
+
|
| 54 |
+
- `train`: 60,000 examples
|
| 55 |
+
- `test`: 10,000 examples
|
| 56 |
+
|
| 57 |
+
## Source
|
| 58 |
+
|
| 59 |
+
The underlying data comes from the original MNIST release maintained by Yann LeCun and collaborators and downloaded here through `torchvision.datasets.MNIST`.
|
| 60 |
+
|
| 61 |
+
- MNIST homepage: http://yann.lecun.com/exdb/mnist/
|
| 62 |
+
- TorchVision dataset docs: https://pytorch.org/vision/stable/generated/torchvision.datasets.MNIST.html
|
| 63 |
+
|
| 64 |
+
## Intended Use
|
| 65 |
+
|
| 66 |
+
This dataset is suitable for standard handwritten digit classification baselines, representation learning experiments, and as a clean reference set for synthetic corruption studies.
|
| 67 |
+
|
| 68 |
+
## Load Example
|
| 69 |
+
|
| 70 |
+
```python
|
| 71 |
+
from datasets import load_dataset
|
| 72 |
+
|
| 73 |
+
ds = load_dataset("tsilva/mnist")
|
| 74 |
+
print(ds["train"][0])
|
| 75 |
+
```
|