Datasets:

Formats:
parquet
Languages:
English
ArXiv:
Tags:
image
Libraries:
Datasets
Dask
License:
PD12M / README.md
Nick Padgett
Updated header.
bd2d12c
|
raw
history blame
2.34 kB
metadata
language:
  - en
pretty_name: PD12M
license: cdla-permissive-2.0
tags:
  - image

PD12M

PD12M

Summary

PD12M is a collection of 12 million CC0/PD image-caption pairs for the purpose of training generative image models.

About

PD12M was built and curated with [Source.Plus] (htts://source.plus) with the aim of resolving many of the data quality issues that arise in web-scraped training data: the presence of copyrighted material, low quality images and captions, violent or nsfw content, PII, decaying dataset quality via broken links, etc.

PD12M consists of entirely public domain and CC0 licensed images, with automated recaptioning of image data, and quality and safety filtering. Images in PD12M are also hosted on dedicated cloud storage, separate from the original image hosts, to avoid placing an undue burden on those hosts or impacting services for regular users. This also ensures the dataset remains wholly intact over its lifetime.

Overview

This dataset has two components. The first is the metadata, which contains the image urls, captions, image dimensions, etc. The second component are the images.

Metadata

The metadata is made available through a series of parquet files with the following schema:

  • id: A unique identifier for the image.
  • url: The URL of the image.
  • s3_key: The S3 file key of the image.
  • caption: A caption for the image.
  • md5_hash: The MD5 hash of the image file.
  • mime_type: The MIME type of the image file.
  • width: The width of the image in pixels.
  • height: The height of the image in pixels.
  • license_type: The URL of the license.

Images

The image files are all hosted in the AWS S3 bucket pd12m. The URLs to the images files are all maintained in the metadata files.

Tutorials

Working with the Metadata

Downloading Images

License

The dataset is licensed under the CDLA-Permissive-2.0.

Reporting Issues

We've gone through great lengths to ensure the dataset is free from objectionable and infringing content. If you find any issues or have any concerns, please report them to us at [email protected], along with the id of the relevant item.