Catalog / Vision
CIFAR-10 (2009)
60,000 tiny 32×32 color images in 10 classes.
Why it matters
The step up from MNIST: real photos, in color, but still tiny enough to train on in minutes. It became the standard testbed for new architectures and training tricks (ResNets were first stress-tested on it), and it is still the default "does my idea work at all?" benchmark.
Get the data
# pip install -U huggingface_hub
hf download uoft-cs/cifar10 --repo-type dataset \
--local-dir cifar10from datasets import load_dataset # pip install datasets
ds = load_dataset("uoft-cs/cifar10", "plain_text")
print(ds)import polars as pl
df = pl.read_parquet("hf://datasets/uoft-cs/cifar10@~parquet/plain_text/test/*.parquet")
print(df.shape)- Year
- 2009
- Creators
- Alex Krizhevsky, Vinod Nair, Geoffrey Hinton
- Task
- Image classification (10 everyday classes)
- Size
- 60,000 images (6,000 per class)
- Splits
- train 50,000 · test 10,000
- Input
- 32×32 RGB image
- Labels
- airplane, automobile, bird, cat, deer, dog, frog, horse, ship, truck
- License
- No formal license (free for research)
- Paper
- Learning Multiple Layers of Features from Tiny Images
Samples

32×32 px

this is all the model sees
One of each class










Random samples




























































What one record actually looks like (raw JSON, row 200)
{
"img": {
"height": 32,
"src": "samples/cifar10/200-img.jpg",
"width": 32
},
"label": 5
}Media fields point at a local copy; on Hugging Face they are bytes in a Parquet file.
Sampled 2026-11-07 from uoft-cs/cifar10 at revision 0b27149
Worth knowing
- At 32×32 pixels, even people find some images hard to classify. Toggle "Actual pixel size" to see how small they are.
- Classes are mutually exclusive by design: "automobile" and "truck" never overlap, and pickup trucks are in neither.
- It is a hand-labeled subset of the 80 Million Tiny Images collection, which was withdrawn in 2020 over offensive labels. CIFAR's own labels were checked by hand and are unaffected.
- CIFAR-10.1 (2018) built a new test set the same way, and accuracy dropped by about 4–10 points. The authors found this was not overfitting to the test set but brittleness to a small shift in the data.
Related datasets
- CIFAR-100: 2009, same image style, 100 fine-grained classesHugging Face ↗
- CIFAR-10.1: 2018, fresh test setgithub.com ↗
- CINIC-10: 2018, CIFAR plus downsampled ImageNetHugging Face ↗
- SVHN: 2011, real-world house-number digits at the same 32×32 sizeHugging Face ↗SVHN on this site →
Landmark papers
- Understanding the difficulty of training deep feedforward neural networks (2010)Xavier initialization on this site →
- Adam: A Method for Stochastic Optimization (Adam) (2014)Adam on this site →
- Dropout: A Simple Way to Prevent Neural Networks from Overfitting (Dropout) (2014)Dropout on this site →
- Generative Adversarial Nets (GAN) (2014)GAN on this site →
- Deep Residual Learning for Image Recognition (ResNet) (2015)ResNet on this site →
- Unsupervised Representation Learning with Deep Convolutional Generative Adversarial Networks (DCGAN) (2015)DCGAN on this site →
- Decoupled Weight Decay Regularization (AdamW) (2017)AdamW on this site →
- Do CIFAR-10 Classifiers Generalize to CIFAR-10? (2018)
- Shampoo: Preconditioned Stochastic Tensor Optimization (Shampoo) (2018)Shampoo on this site →
- Bootstrap Your Own Latent: A New Approach to Self-Supervised Learning (BYOL) (2020)BYOL on this site →
- Denoising Diffusion Probabilistic Models (DDPM) (2020)DDPM on this site →
- A Simple Framework for Contrastive Learning of Visual Representations (SimCLR) (2020)SimCLR on this site →
- An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale (ViT) (2020)ViT on this site →
- Emerging Properties in Self-Supervised Vision Transformers (DINO) (2021)DINO on this site →