The quickest places to find machine learning datasets are the big open repositories: Hugging Face, Kaggle, the UCI Machine Learning Repository and OpenML, plus Google Dataset Search for everything they miss and government portals for public records. For well-known benchmarks, go straight to the dataset’s own site, such as COCO for images or LibriSpeech for speech. The harder part is not finding data but finding data you are allowed to use, and knowing when no public dataset will do.
The oldest of these sources predates the web browser. The UCI repository began in 1987 as an FTP archive set up by a PhD student, David Aha, and some of the datasets in it are still used in machine learning courses. What has changed since is the scale of what people train on, and the legal attention paid to where training data comes from.
This guide covers where to look, the well-known datasets for machine learning by data type, the licence checks to run before training, and the point at which building your own training dataset becomes the better option.
Where to find machine learning datasets
| Source | What you find there | Best for |
|---|---|---|
| Hugging Face Datasets | Community and research datasets, loadable in one line of code | Text, speech and multimodal work, especially language models |
| Kaggle Datasets | User-uploaded datasets with notebooks showing how others used them | Learning, prototyping, tabular problems |
| UCI Machine Learning Repository | Curated, mostly smaller datasets with clear documentation | Teaching, classic benchmarks, tabular data |
| OpenML | Datasets linked to tasks, models and benchmark results | Comparing algorithms on standard tasks |
| Google Dataset Search | A search engine across datasets published on the web | Niche topics and academic data |
| Registry of Open Data on AWS | Large public datasets hosted on AWS, from satellite imagery to genomics | Very large datasets you process in the cloud |
| Data.gov, data.gov.in, AIKosh | Government open data from the US and India; AIKosh is the IndiaAI platform for datasets and models | Public-sector, economic and Indian language data |
Treat aggregators with care. Anyone can upload to Hugging Face or Kaggle, so a dataset’s licence tag is only as reliable as the person who set it. When a dataset has an original home, such as a university page or a paper, read the terms there too.
Well-known datasets by data type
Images and video
- ImageNet is the dataset that made modern computer vision. Its terms limit use to non-commercial research and education, and they bind the researcher’s employer too, so it is not a base for a commercial product.
- COCO (Common Objects in Context) is the standard for object detection, segmentation and captioning. Its terms put the annotations under CC BY 4.0, but the images came from Flickr, the COCO Consortium does not own them, and their use must follow Flickr’s terms.
- Open Images from Google holds about 9 million images in version 7. The annotations are CC BY 4.0 and the images are listed as CC BY 2.0, though Google gives no guarantee about each image’s licence status.
- nuScenes is a widely used driving dataset with camera, lidar and radar data. It is free for non-commercial use, and its owner, Motional, offers a separate licence for commercial use.
Text
- Common Crawl is a nonprofit archive of the web, which it says covers over 300 billion pages across 15 years. It is the raw material behind many language model training sets, and it contains copyrighted and personal material, so it needs heavy filtering.
- FineWeb is Hugging Face’s cleaned and filtered English web text built from Common Crawl, released under the ODC-By licence.
- Wikipedia dumps offer the full text of Wikipedia, licensed under CC BY-SA 4.0 and the GFDL. Share-alike terms can affect what you may do with derived datasets.
- SQuAD, the Stanford question answering dataset, combines 100,000 answerable questions with over 50,000 unanswerable ones in version 2.0, under CC BY-SA 4.0.
Speech and audio
- LibriSpeech is about 1,000 hours of read English speech from public domain audiobooks, under CC BY 4.0. It is clean studio-style audio, which makes it a good benchmark and a poor match for noisy call-centre speech.
- Mozilla Common Voice is crowd-sourced speech in many languages, released under CC0. New releases are now distributed through the Mozilla Data Collective, which asks you to sign up and accept its terms before downloading.
Tabular and specialist data
- Tabular: UCI, OpenML and Kaggle cover most classic tabular problems, from credit scoring to churn prediction.
- Healthcare: clinical datasets come with tighter access. MIMIC-IV on PhysioNet, for example, is open only to credentialed users who complete required research-ethics training and sign a data use agreement.
Licence checks to run before you train
A dataset being downloadable does not make it usable for your purpose. When the Data Provenance Initiative audited more than 1,800 text datasets, it found licences missing in over 70% of cases on popular hosting sites, and licence errors in over 50%. So check each dataset against this list before it goes anywhere near a commercial model:
- Commercial use. Look for non-commercial (NC) clauses or “research only” terms, as on ImageNet and nuScenes.
- Attribution and share-alike. CC BY needs credit; CC BY-SA can require derived datasets to carry the same licence.
- Separate layers. Annotations, images and audio may each have their own owner and licence, as COCO and Open Images show.
- Personal data. Faces, voices, names and health records bring data protection law into play, such as the GDPR in Europe and India’s Digital Personal Data Protection Act, whatever the dataset’s own licence says.
- Access terms. Some datasets require a signed agreement, credentials or an account, and those terms bind you as well.
- Provenance. Prefer datasets that document how they were collected. The Datasheets for Datasets proposal sets out the questions a good dataset card should answer, and it is a useful template for documenting your own.
Keep a record of each dataset’s source, version, licence and the date you checked it. If a customer or regulator asks what your model was trained on, that record is the answer.
When to build a custom dataset
Public machine learning datasets are excellent for learning, benchmarking and pre-training. They tend to fall short when the model has to work on your data in your conditions. The usual signs that you need a custom training dataset are:
- Your inputs look different from the public data: factory images under your lighting, call recordings with your customers’ accents, documents in your formats.
- You need languages or dialects that public data barely covers, which is common for Indian languages and code-mixed speech.
- Your label set does not exist anywhere else, such as your own defect categories or product taxonomy.
- You need rare edge cases in volume, which public datasets almost never collect on purpose.
- You need clear commercial rights and documented consent, and the public options are research-only or uncertain.
A custom dataset has two parts: collecting the raw data with consent and the right coverage, and annotating it to a written guideline with quality checks. This is the work Zilo AI does. Its data annotation services cover image, video, audio and text labelling as well as RLHF and AI evaluation for language models, and Zilo also runs data collection and transcription projects. Zilo says it has over 1,600 trained annotation and speech recognition experts, has annotated more than 10 million data points for industries from retail to BFSI to healthcare, and works in about 26 languages.
The common pattern is to combine both: start from a public dataset to get a working baseline, then collect and label a smaller custom set that covers the cases the public data misses. For a fuller picture of how labelled data is sourced, annotated and quality-checked, see our guide to AI training data.
Splitting training, validation and test sets
Whatever the source, split the data before you train. The training set teaches the model, the validation set tunes it, and the test set is held back until the end to measure how it does on data it has never seen. Two mistakes undo this. The first is leakage: near-duplicate images, the same speaker or the same customer appearing on both sides of the split, which makes results look better than they are. The second is testing only on a public benchmark when the model will run on your own data. Build at least one test set from real production inputs.
If you have found the public datasets you need but have no capacity to collect or label the rest, contact Zilo AI with a sample of your data and the labels you need.
Frequently asked questions
Where can I find free machine learning datasets?
Hugging Face, Kaggle, the UCI Machine Learning Repository and OpenML are the main free repositories. Google Dataset Search finds datasets published elsewhere on the web, and government portals such as data.gov, data.gov.in and AIKosh publish public-sector data.
Can I use public datasets for a commercial product?
Only if the licence allows it. Some, like LibriSpeech under CC BY 4.0, permit commercial use with attribution. Others, like ImageNet, are limited to non-commercial research. Check every layer, including annotations and the underlying images or audio, and any personal data rules that apply.
What is the difference between training, validation and test datasets?
The training dataset is what the model learns from. The validation dataset is used during development to tune settings and compare versions. The test dataset is kept aside until the end to give an honest estimate of performance on unseen data.
How much data do I need to train a machine learning model?
It depends on the task, the model and how much a pre-trained model already knows. Fine-tuning an existing model can work with far less data than training from scratch. The practical approach is to start small, measure where the model fails, and add data for those cases.
When is a custom training dataset worth the cost?
When the model has to perform on inputs that public datasets do not represent, in languages they barely cover, with labels nobody else uses, or with commercial rights and consent you can document. In those cases a smaller, well-labelled custom dataset usually beats a larger public one.
