Datasets:

Formats:
parquet
Languages:
English
ArXiv:
Tags:
image
Libraries:
Datasets
Dask
License:
File size: 3,171 Bytes
649195c
f862fae
649195c
778d5c7
649195c
 
 
 
 
 
778d5c7
fc433d8
bd2d12c
fc433d8
 
1acb130
fc433d8
6eda6d8
1acb130
91c397d
3c85c15
fc433d8
757982f
fc433d8
a567a7d
fc433d8
 
 
 
 
 
 
 
 
 
 
757982f
 
3c85c15
fc433d8
c7b2945
 
fc433d8
778d5c7
fc433d8
 
 
 
 
 
 
a9b60c5
 
fc433d8
 
 
 
1e14639
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---

language:
- en
pretty_name: "PD12M"
license: "cdla-permissive-2.0"
tags:
- image

---


# PD12M

![PD12M](header.jpg)

# Summary
At 12.4 million image-caption pairs, PD12M is the largest public domain image-text dataset to date, with sufficient size to train foundation models while minimizing copyright concerns. Through the Source.Plus platform, we also introduce novel, community-driven dataset governance mechanisms that reduce harm and support reproducibility over time.

[Jordan Meyer](https://linkedin.com/in/jordanmeyer)    [Nicholas Padgett](https://www.linkedin.com/in/nicholas-padgett-36a921a0/) [Cullen Miller](https://www.linkedin.com/in/cullen-miller-312941290/)    [Laura Exline](https://www.linkedin.com/in/lauraexline/)

[Paper](https://arxiv.org/abs/2410.23144)     [Datasheet](https://huggingface.co/datasets/Spawning/PD12M/blob/main/Datasheet.pdf)     [Project](https://source.plus/pd12m)

# About
PD12M was built and curated with [Source.Plus](https://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.
- `caption`: A caption for the image.
- `width`: The width of the image in pixels.
- `height`: The height of the image in pixels.
- `mime_type`: The MIME type of the image file.
- `hash`: The MD5 hash of the image file.
- `license`: The URL of the image license.

Additionally, CLIP Vit-L/14 embeddings are provided in the `embeddings` directory.

## 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](./tutorials/metadata.md)

[Downloading Images](./tutorials/images.md)

[Working with the Embeddings](./tutorials/embeddings.md)

# License
The dataset is licensed under the [CDLA-Permissive-2.0](https://cdla.dev/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 flag the item in [Source.Plus](httpss://source.plus/collection/pd12m-mxenifxs), where our review process will remove the infringing material, and find a suitable replacement.