Skip to the content.

Awesome AI Datasets: Free Public Datasets for Machine Learning by Task (2027)

A curated list of public datasets for AI and machine learning, organized by task: tabular, computer vision, NLP, LLM pretraining and fine-tuning, LLM evaluation benchmarks, agents and code, speech and audio, video, time series, recommender systems, graphs, robotics, healthcare and more. Each entry says what the dataset is good for, its rough size, and its license or access terms, so you can pick the right data for learning, research or a portfolio project.

Last reviewed: December 2026.

Licenses vary per dataset and sometimes per file. “Research only” or “non-commercial” datasets cannot be used in commercial products. Always read the dataset card or terms before use; the notes below are summaries, not legal advice.

Table of contents

How to choose a dataset

Ask five questions before you download anything:

  1. What is the task? Classification, regression, detection, generation, ranking, forecasting? Pick a dataset whose labels match it.
  2. Is the size right for your compute? A laptop handles CIFAR-10 and most tabular data; ImageNet or web-scale text needs cloud storage and GPUs.
  3. Is the license compatible with your use? Learning and research are usually fine; commercial use often is not.
  4. Is it clean and well documented? A dataset card, a known train/test split and published baselines save weeks.
  5. Is it overused or contaminated? Classic benchmarks (MNIST, GSM8K, MMLU) are saturated or leaked into LLM training data. For portfolio projects, a less common dataset or your own collected data stands out more.

Where to search for datasets

Source What you find Notes
Hugging Face Datasets Hundreds of thousands of datasets for NLP, vision, audio and LLMs Best default. Load with one line using the datasets library; dataset cards list licenses.
Kaggle Datasets Community-uploaded datasets with notebooks Great for practice; check provenance and license carefully.
UCI Machine Learning Repository Classic tabular datasets Small, clean, well known; ideal for learning.
OpenML Tabular datasets with tasks and benchmark runs Easy to load from scikit-learn (fetch_openml).
Google Dataset Search Search engine across dataset repositories Good for niche domains.
Registry of Open Data on AWS Large public datasets hosted on S3 Satellite, genomics, climate, Common Crawl.
Zenodo and Harvard Dataverse Research datasets with DOIs Data from published papers.
TensorFlow Datasets catalog Ready-to-load datasets for TF and JAX Standard splits.
torchvision datasets Built-in vision dataset loaders One-line download for classic datasets.
Papers with Code data archive Historical dataset and benchmark metadata The site was retired in July 2025; data remains available.

Best picks by goal

Goal Dataset Why
First ML model Titanic or Adult Income Small, mixed feature types, tons of tutorials
First neural network MNIST then Fashion-MNIST Tiny, fast, instant feedback
First CNN / transfer learning CIFAR-10 or Oxford-IIIT Pet Trains on a free GPU in minutes
First NLP classifier IMDB reviews or AG News Clear labels, many baselines
Fine-tune a small LLM SmolTalk or Tulu 3 SFT mixture Modern, openly licensed instruction data
Pretrain a tiny language model FineWeb-Edu (sample subsets) or TinyStories High quality; small samples available
Evaluate an LLM MMLU-Pro, GPQA, LiveCodeBench Harder and less saturated than older benchmarks
Object detection COCO The standard benchmark
Speech recognition LibriSpeech Clean English audiobooks, standard splits
Forecasting M5 Real retail hierarchy
Recommenders MovieLens The classic, multiple sizes

Tabular and classic ML

Dataset Task Size Access / license notes
UCI Adult (Census Income) Binary classification ~48k rows CC BY 4.0
UCI Wine Quality Regression / classification ~6.5k rows CC BY 4.0
California Housing Regression ~20k rows Built into scikit-learn
Titanic Binary classification ~900 rows Kaggle competition data
House Prices (Ames) Regression ~1.5k rows Kaggle competition data
Credit Card Fraud Detection Imbalanced classification ~285k rows Open Database License (ODbL)
OpenML-CC18 benchmark suite Benchmarking classifiers 72 datasets Mixed, mostly open
TabArena Living benchmark for tabular models Many datasets Benchmark of curated public datasets

Computer vision

Dataset Task Size Access / license notes
MNIST Digit classification 70k images Classic; freely available
Fashion-MNIST Clothing classification 70k images MIT
CIFAR-10 / CIFAR-100 Classification 60k images Freely available for research
ImageNet (ILSVRC) Classification ~1.28M train images (1k classes) Registration required; non-commercial research terms
Imagenette Small ImageNet subset ~13k images Quick experiments
COCO Detection, segmentation, captioning, keypoints ~330k images Annotations CC BY 4.0; images from Flickr under various licenses
Open Images V7 Detection, segmentation, relationships ~9M images Annotations CC BY 4.0; images listed as CC BY 2.0
ADE20K Semantic segmentation ~27k images Research terms; registration
Cityscapes Urban scene segmentation 5k fine annotations Registration; non-commercial
Pascal VOC Detection, segmentation ~11k images Older but light-weight benchmark
CelebA Face attributes ~200k images Non-commercial research only
Oxford-IIIT Pet Fine-grained classification, segmentation ~7.4k images CC BY-SA 4.0
Food-101 Food classification 101k images Popular transfer-learning dataset
SA-1B (Segment Anything) Promptable segmentation 11M images, 1.1B masks Research license; registration

Natural language processing

Dataset Task Access / license notes
IMDB reviews Sentiment classification 50k reviews
AG News Topic classification 120k train articles
SST-2 / GLUE Sentence-level benchmarks Saturated, still a good learning set
SuperGLUE Harder language understanding Saturated by modern LLMs
SQuAD 2.0 Extractive question answering CC BY-SA 4.0
Natural Questions Open-domain QA from real Google queries CC BY-SA 3.0
CoNLL-2003 Named entity recognition Check terms; derived from Reuters news
MultiNLI Natural language inference Mostly open (see details per genre)
CNN/DailyMail Summarization Common summarization benchmark
MS MARCO Passage ranking, retrieval Non-commercial research terms
BEIR Zero-shot retrieval benchmark 18 datasets, mixed licenses
MTEB Text embedding benchmark Leaderboard on Hugging Face
Wikipedia dumps Raw text for any NLP task CC BY-SA 4.0

LLM pretraining corpora

Dataset What it is Size License notes
FineWeb Filtered and deduplicated English web text from Common Crawl ~15T tokens ODC-By; subject to Common Crawl terms
FineWeb-Edu Educational-quality subset of FineWeb ~1.3T tokens (smaller samples available) ODC-By
FineWeb 2 Multilingual web text in 1,000+ languages Very large ODC-By
DCLM baseline Model-filtered Common Crawl from the DataComp-LM project ~4T tokens CC BY 4.0
Dolma Ai2’s open corpus used for OLMo models ~3T tokens ODC-By
RedPajama-Data-V2 Web corpus with quality signals 30T tokens (raw) Common Crawl terms
The Stack v2 Permissively licensed source code 600+ languages Gated access; per-file original licenses
Common Crawl Raw monthly web crawls Petabytes Terms of use; the source behind most web corpora
TinyStories Synthetic simple stories for tiny LMs ~2M stories CDLA-Sharing-1.0
OpenWebMath Math-heavy web pages ~14.7B tokens ODC-By

Instruction tuning and preference data

Dataset Type License notes
Tulu 3 SFT mixture Diverse instruction data used for Ai2’s Tulu 3 ODC-By (components vary)
SmolTalk Synthetic chat data for small models Apache 2.0
OpenAssistant OASST1 Human-written multilingual conversation trees Apache 2.0
Dolly 15k Human-written instructions by Databricks employees CC BY-SA 3.0
UltraChat 200k Filtered multi-turn synthetic dialogues MIT
UltraFeedback (binarized) Preference pairs for DPO MIT
Anthropic HH-RLHF Helpfulness and harmlessness preference pairs MIT
HelpSteer3 Human preference and feedback data from NVIDIA CC BY 4.0
Aya Dataset Multilingual human-annotated instructions Apache 2.0

Check the terms of any dataset generated with a commercial model; some providers restrict using outputs to train competing models.

LLM evaluation benchmarks

Many older benchmarks are saturated or contaminated. Prefer newer, harder or continually refreshed ones, and report several.

Benchmark Measures Notes
MMLU Broad knowledge, 57 subjects Saturated by frontier models; still common
MMLU-Pro Harder 10-option knowledge and reasoning Less saturated than MMLU
GPQA Graduate-level science questions Gated to reduce contamination
Humanity’s Last Exam Very hard expert questions across fields Designed as a frontier benchmark
ARC-AGI Abstract visual reasoning puzzles Several versions; ARC Prize runs competitions
HellaSwag Commonsense completion Saturated
TruthfulQA Imitative falsehoods Useful for small models
IFEval Verifiable instruction following Simple to automate
SimpleQA Short factual questions (hallucination) From OpenAI
LMArena Human preference votes Leaderboard, not a downloadable test set

Tools to run them: lm-evaluation-harness, Inspect and lighteval.

Code and agents

Dataset Task Notes
HumanEval Python function synthesis Saturated; small (164 problems)
MBPP Basic Python programming Saturated
LiveCodeBench Contest problems collected over time Contamination-aware by date
SWE-bench (and Verified) Resolving real GitHub issues Standard coding-agent benchmark
Terminal-Bench Agents completing tasks in a terminal Growing agent benchmark
tau-bench Tool-using agents in customer service domains Simulated users
GAIA General assistant tasks needing tools and browsing Gated
WebArena Web agents in realistic self-hosted sites Requires running environments
OSWorld Computer-use agents on real desktop OSes Requires VMs
CodeSearchNet Code search (natural language to code) Archived; still used

Math and reasoning

Dataset Task Notes
GSM8K Grade-school math word problems MIT; saturated
MATH Competition math with solutions MIT; the MATH-500 subset is common
NuminaMath-CoT ~860k math problems with chain-of-thought solutions Apache 2.0
OpenMathReasoning Large synthetic math reasoning set from NVIDIA CC BY 4.0
AIME problems Hard competition problems used to evaluate reasoning models Use new years to avoid contamination
MiniF2F Formal theorem proving Lean, Isabelle and others; archived repo, data still available

Speech and audio

Dataset Task Size Notes
LibriSpeech English ASR ~1,000 h CC BY 4.0
Mozilla Common Voice Multilingual ASR 100+ languages CC0; new releases since late 2025 are distributed through Mozilla Data Collective
FLEURS Multilingual ASR and language ID 102 languages CC BY 4.0
VoxPopuli European Parliament speech Large CC0
GigaSpeech English ASR from podcasts and YouTube 10,000 h Registration; research terms
People’s Speech English ASR ~30,000 h CC BY / CC BY-SA
LJ Speech Single-speaker TTS ~24 h Public domain
LibriTTS-R Multi-speaker TTS ~585 h CC BY 4.0
AudioSet Audio event classification 2M YouTube clips Labels CC BY 4.0; audio via YouTube
ESC-50 Environmental sound classification 2,000 clips CC BY-NC
MusicCaps Music captioning 5.5k clips CC BY-SA 4.0 (audio via YouTube)

Video

Dataset Task Notes
Kinetics-700 Action recognition YouTube-based; some clips disappear over time
UCF101 Action recognition Small, classic
Something-Something V2 Fine-grained motion understanding Registration; non-commercial
Ego4D Egocentric video understanding License agreement required
MSR-VTT Video captioning and retrieval Research use

Multimodal (image-text)

Dataset Task Notes
COCO Captions Image captioning 5 captions per image
Conceptual Captions Image-text pretraining 3.3M and 12M versions; URLs only
Re-LAION-5B Large image-text pairs Re-released in 2024 after safety filtering; URLs only, research use
DataComp Benchmark for building image-text training sets Pools from 12.8M to 12.8B pairs
VQA v2 Visual question answering Classic
Visual Genome Scene graphs, region descriptions CC BY 4.0
MMMU Multimodal college-level reasoning benchmark Evaluation only
The Cauldron 50 vision-language fine-tuning datasets in one format Licenses per subset

Documents and OCR

Dataset Task Notes
DocVQA Question answering on document images Registration
DocLayNet Document layout analysis CDLA-Permissive-1.0
PubLayNet Layout analysis from scientific papers CDLA-Permissive-1.0
FUNSD Form understanding Small, research use
IAM Handwriting Handwriting recognition Registration; non-commercial
olmOCR-Bench PDF-to-text OCR evaluation From Ai2

Time series and forecasting

Dataset Task Notes
M4 Univariate forecasting (100k series) From the Makridakis competitions
M5 Hierarchical retail sales Walmart data via Kaggle
Monash Time Series Forecasting Archive 30+ forecasting datasets Standard benchmark collection
ETT (Electricity Transformer Temperature) Long-horizon forecasting CC BY-ND 4.0
GIFT-Eval Benchmark for time series foundation models Multi-domain
UCR/UEA archive Time series classification 100+ datasets
NAB (Numenta Anomaly Benchmark) Streaming anomaly detection AGPL-licensed code; labeled data

Recommender systems

Dataset Task Notes
MovieLens Ratings prediction 100k to 32M ratings; non-commercial terms
Amazon Reviews 2023 Reviews, ratings, item metadata 571M reviews; research use
Yelp Open Dataset Reviews, businesses, users Academic/personal use terms
Goodreads datasets (UCSD) Book ratings and reviews Academic use
MIND News recommendation Microsoft research license
KuaiRec Fully observed user-item matrix for short videos Research

Graphs

Dataset Task Notes
Open Graph Benchmark (OGB) Node, link and graph prediction at scale Standard GNN benchmark
TU Datasets Graph classification 120+ small datasets
Cora / Citeseer / PubMed (Planetoid) Node classification Small classics via PyTorch Geometric
SNAP datasets Social, web, citation networks Large real-world graphs
OpenAlex Scholarly works and citation graph CC0

Robotics, autonomous driving and 3D

Dataset Task Notes
Open X-Embodiment Robot manipulation from 20+ robots Unified format for robot learning
DROID Large-scale in-the-wild robot manipulation CC BY 4.0
LeRobot datasets Robot learning datasets in a common format Licenses per dataset
Waymo Open Dataset Perception, motion prediction Non-commercial license
nuScenes Multi-sensor driving Non-commercial; registration
KITTI Stereo, depth, detection, odometry CC BY-NC-SA 3.0
ScanNet Indoor 3D scenes Terms of use agreement
Objaverse 800k+ 3D objects Per-object Creative Commons licenses
Minari Offline reinforcement learning datasets Successor to D4RL from the Farama Foundation

Healthcare and science

Dataset Task Notes
MIMIC-IV Clinical records from ICU stays Credentialed access via PhysioNet; required training
PhysioNet Physiological signals (ECG, EEG) and clinical data Many open, some credentialed
CheXpert Chest X-ray classification Research use agreement
NIH ChestX-ray14 Chest X-ray classification Public
The Cancer Imaging Archive Medical imaging collections Terms per collection
MedQA (USMLE) Medical exam QA Research
PubMedQA Biomedical question answering MIT
Protein Data Bank Protein structures Free; foundation of AlphaFold training
Materials Project Computed materials properties Free account
ERA5 climate reanalysis Global weather and climate fields Free account; used for AI weather models

Multilingual

Dataset Task Notes
FLORES-200 Machine translation evaluation 200 languages; CC BY-SA 4.0. Original repo archived; maintained as FLORES+
OPUS Parallel corpora collection Licenses per corpus
FineWeb 2 Multilingual pretraining ODC-By
CulturaX Multilingual cleaned web text Gated; mC4 + OSCAR terms
Aya Dataset Multilingual instructions Apache 2.0
Global-MMLU MMLU in 42 languages with cultural tags Apache 2.0

Government and open data portals

Useful for original, domain-specific projects that stand out in a portfolio:

Dataset licenses in plain English

License Commercial use? Main condition
CC0 / public domain Yes None
CC BY 4.0 Yes Credit the source
CC BY-SA Yes Credit, and share adapted data under the same license
CC BY-NC / CC BY-NC-SA No Non-commercial only
ODC-By Yes Attribution (for databases)
ODbL Yes Attribution and share-alike for derived databases
CDLA-Permissive Yes Light attribution conditions
Apache 2.0 / MIT Yes Keep the license notice
“Research only” / custom terms Usually no Read the agreement; often needs registration

Two extra cautions: a permissive license on the annotations does not always cover the underlying images, audio or text (for example, COCO and many URL-based datasets), and datasets built from model outputs may carry the model provider’s terms.

Project ideas by dataset

  1. Tabular: predict income with UCI Adult, then audit the model for fairness across groups.
  2. Vision: fine-tune a pretrained model on Oxford-IIIT Pet and ship a web demo.
  3. NLP: build a semantic search engine over Wikipedia articles with an embedding model and evaluate it on a BEIR task.
  4. LLM fine-tuning: LoRA-tune a small open model on a SmolTalk subset and compare it to the base model on IFEval.
  5. LLM pretraining: train a tiny GPT on TinyStories or a FineWeb-Edu sample and report loss curves.
  6. Speech: fine-tune a small ASR model on a Common Voice language with little support.
  7. Forecasting: compare a gradient-boosted model with a time series foundation model on a Monash dataset.
  8. Recommender: build a two-tower recommender on MovieLens 1M and measure recall@k.
  9. Agents: run an open model on a subset of SWE-bench Verified or tau-bench and analyze failure modes.
  10. Open data: use NYC taxi data or your country’s open data portal to answer a local question, end to end.

Responsible use checklist

FAQ

Where can I find free datasets for machine learning? Hugging Face Datasets, Kaggle Datasets, the UCI Machine Learning Repository, OpenML, Google Dataset Search and government open data portals are the best starting points.

What is the best dataset for beginners? Titanic or UCI Adult for tabular ML, MNIST or Fashion-MNIST for a first neural network, and IMDB reviews for a first NLP model.

Can I use these datasets commercially? Some yes (CC0, CC BY, Apache 2.0, MIT, ODC-By), many no (ImageNet, CelebA, Cityscapes, MovieLens and other research-only datasets). Check each dataset’s terms.

What datasets are used to train LLMs? Mostly filtered web text derived from Common Crawl (such as FineWeb, DCLM and Dolma), plus code (The Stack), books, scientific papers, math data and curated instruction and preference datasets. Frontier labs also use proprietary and synthetic data.

What are the best LLM benchmarks in 2027? Combine harder knowledge and reasoning tests (MMLU-Pro, GPQA, Humanity’s Last Exam), contamination-aware coding tests (LiveCodeBench, SWE-bench Verified), agent benchmarks (Terminal-Bench, tau-bench) and your own task-specific evaluation set.

Why do models score so high on MNIST and GSM8K? These benchmarks are saturated: models have reached near-perfect scores, and many test questions have leaked into web training data. They are good for learning, not for comparing modern models.

How big should my dataset be? It depends on the task and model. With transfer learning, a few hundred to a few thousand labeled examples are often enough for a useful classifier. Training from scratch needs far more.

How do I load a Hugging Face dataset? Install the datasets library and call load_dataset("name"); for large corpora use streaming=True to avoid downloading everything.

Where to go next

Contributing

Contributions are welcome. Please:

License

Content is licensed under CC BY 4.0. Each dataset listed has its own license; this list does not relicense any data.

If this helped you, a star helps others find it.

More free resources

Part of the Ralpberry Labs open-source collection. See also Top 100 Open Source.