janvanlooy commited on
Commit
20dc7be
1 Parent(s): b97f6c3

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +41 -33
README.md CHANGED
@@ -54,8 +54,8 @@ size_categories:
54
  ## Dataset Summary
55
  Fondant-cc-25m contains 25 million image URLs available under different [Creative Commons](https://creativecommons.org/)
56
  licenses collected from the [Common Crawl web corpus](https://commoncrawl.org/).
57
- The dataset was created using [Fondant](https://fondant.ai), an open-source framework for building composable data
58
- preparation pipelines for training (and fine-tuning) foundation models.
59
 
60
  ## Supported Tasks and Leaderboards
61
 
@@ -92,6 +92,11 @@ To visually inspect the results quickly, you can use:
92
  fondant explore --base_path ./data
93
  ```
94
 
 
 
 
 
 
95
  ## Dataset Structure
96
  ### Data Instances
97
  Each data instance corresponds to one image. The URL of the image is in the `image_url` feature, and other features (`alt_text`, `webpage_url`, etc) provide some
@@ -106,43 +111,54 @@ metadata. Note that images have been deduplicated only based on their URLs.
106
  - `sort_url` (string): sort friendly image url with top level domain as the prefix
107
 
108
  ## Data Splits
109
- The dataset has no splits and all data is loaded as a [TODO: check split name - train?] split by default. If you want to setup a custom train-test split
110
- beware that the dataset may contain duplicates which can cause leakage into the test split.
111
-
112
 
113
  ## Dataset Creation
 
114
  ### Curation Rationale
115
- Current AI image generation models such as Stable Diffusion and Dall-E trained on hundreds of millions of images from the public Internet tend to include copyrighted work.
116
- This creates legal risks and uncertainties for users of image generation systems, and is unfair towards copyright holders who may not want their proprietary work reproduced without consent.
117
- By releasing an open large-scale image dataset, we hope to mitigate legal risks and empower ethical AI development that is respectful of copyrighted content.
118
- This dataset is the first step towards our final goal of a 500M Creative Commons image dataset.
 
119
 
120
  ### Source Data
121
- #### Initial Data Collection and Normalization
 
 
122
  ##### License detection
123
  Permissive licenses have minimal restrictions on how the image can be copied, modified, and redistributed.
124
  The full list of licenses can be found [here](https://creativecommons.org/about/cclicenses/).
125
-
126
- We examined HTML tags of the webpages for the presence of Creative Commons license URLs. A webpage was marked permissive if only a license URL was found in its footer, aside or sidebar. Subsequently, all the image URLs present on the web page were collected together with the license information.
127
- This approach achieved a 96.32% accuracy in an earlier test where we investigated the scope of licenses. More information on our approach can be found in [this blogpost](https://blog.ml6.eu/ai-image-generation-without-copyright-infringement-a9901b64541c).
128
-
 
 
129
 
130
  #### Who are the source language producers?
131
- The source language producers are users of the Internet whose webpages were included in the Common Crawl indices `CC-MAIN-2023-23`, `CC-MAIN-2023-06` and `CC-MAIN-2023-14` spanning January to April 2023.
 
132
 
133
  ### Personal and Sensitive Information
134
- The released dataset may contain sensitive information such as names, emails and addresses that have previously been published to the Internet. In the event that the dataset contains personal information, researchers should only use public, non-personal information in support of conducting and publishing their [open-access](https://en.wikipedia.org/wiki/Open_access) research. Personal information should not be used for spamming purposes, including sending unsolicited emails or selling of personal information. Complaints, removal requests, and "do not contact" requests can be sent to info@fondant.ai.
135
-
136
- The PII filtering pipeline for this dataset is still a work in progress. Researchers that wish to contribute to the anonymization pipeline of the project can join [here](https://github.com/ml6team/fondant/tree/main#-contributing).
137
-
 
 
138
 
139
  ### Opting out of Fondant-cc-25m
140
- We are giving the public the ability to have their image removed from the dataset upon request. The process for submitting and enacting removal requests will keep evolving throughout the project as we receive feedback and build up more data governance tools.
 
 
 
 
141
  If you'd like to have your data removed from the dataset, [contact us](mailto:info@fondant.ai).
142
 
143
  ## Considerations for Using the Data
144
  ### Discussion of Biases
145
- ### Other Known Limitations
146
 
147
  ## Additional Information
148
 
@@ -151,19 +167,11 @@ If you'd like to have your data removed from the dataset, [contact us](mailto:in
151
  2. Robbe Sneyders, ML6, robbe.sneyders@ml6.eu
152
  3. Matthias Richter, ML6, matthias.richter@ml6.eu
153
 
154
-
155
  ### Licensing Information
156
- Fondant-cc-25m is a collection of images with various Creative Commons and other public licenses. Any use of all or part of the images gathered in Fondant-cc-25m must abide by the terms of the original licenses, including attribution clauses when relevant. We facilitate this by providing provenance information for each data point.
 
157
 
158
  The list of Creative Commons license types included in the dataset can be found [here](https://creativecommons.org/about/cclicenses/).
159
 
160
- ### Citation Information
161
- ```
162
- [TODO]
163
- ```
164
-
165
- ### Contributions
166
-
167
- [More Information Needed]
168
-
169
- ## Terms of Use for the [Dataset]
 
54
  ## Dataset Summary
55
  Fondant-cc-25m contains 25 million image URLs available under different [Creative Commons](https://creativecommons.org/)
56
  licenses collected from the [Common Crawl web corpus](https://commoncrawl.org/).
57
+ The dataset was created using [Fondant](https://fondant.ai), an open source framework that aims to simplify and speed up
58
+ large-scale data processing by making self-contained pipeline components reusable across pipelines, infrastructures and shareable within the community.
59
 
60
  ## Supported Tasks and Leaderboards
61
 
 
92
  fondant explore --base_path ./data
93
  ```
94
 
95
+ To extract the images from the Parquet files we have added a simple Python script which extracts the image files and adds a csv with
96
+ image data and file names, TODO XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
97
+
98
+ To download the full dataset, TODO XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
99
+
100
  ## Dataset Structure
101
  ### Data Instances
102
  Each data instance corresponds to one image. The URL of the image is in the `image_url` feature, and other features (`alt_text`, `webpage_url`, etc) provide some
 
111
  - `sort_url` (string): sort friendly image url with top level domain as the prefix
112
 
113
  ## Data Splits
114
+ We do not provide any canonical splits for fondant-cc-25m.
 
 
115
 
116
  ## Dataset Creation
117
+
118
  ### Curation Rationale
119
+ Current AI image generation models such as Stable Diffusion and Dall-E are trained on hundreds of millions of images from the public Internet
120
+ including copyrighted work. This creates legal risks and uncertainties for users of these images and is unfair towards copyright holders who
121
+ may not want their proprietary work reproduced without consent.
122
+ By releasing a Creative Commons image dataset, we hope to mitigate legal risks and empower ethical AI development that respects copyright.
123
+ This dataset is the first step towards our goal of a 500M Creative Commons image dataset.
124
 
125
  ### Source Data
126
+ fondant-cc-25m is built from CommonCrawl dumps. These dumps are constructed from crawling publicly available web pages.
127
+
128
+ #### Data Collection and Preprocessing
129
  ##### License detection
130
  Permissive licenses have minimal restrictions on how the image can be copied, modified, and redistributed.
131
  The full list of licenses can be found [here](https://creativecommons.org/about/cclicenses/).
132
+ We examined HTML tags of the webpages for the presence of Creative Commons license URLs. A webpage was marked permissive only when a license URL was found in
133
+ its footer, aside or sidebar. This was the case in around 0.164% of images.
134
+ Subsequently, all the image URLs present on the web page were collected together with the license information.
135
+ A manual test of 1032 randomly sampled images showed an accuracy of 96.32% in which case the image was actually released under a Creative Commons license.
136
+ False positives could be due to parsing errors but also incorrect attributions: images indicated by the publisher to be CC which are not.
137
+ More information on our approach can be found in [this blogpost](https://blog.ml6.eu/ai-image-generation-without-copyright-infringement-a9901b64541c).
138
 
139
  #### Who are the source language producers?
140
+ The source language producers are users of the Internet whose webpages were included in the Common Crawl indices `CC-MAIN-2023-23`,
141
+ `CC-MAIN-2023-06` and `CC-MAIN-2023-14` spanning January to April 2023.
142
 
143
  ### Personal and Sensitive Information
144
+ The released dataset may contain sensitive information such as names, emails and addresses that have previously been published to the Internet.
145
+ In the event that the dataset contains personal information, researchers should only use public, non-personal information in support of conducting
146
+ and publishing their [open-access](https://en.wikipedia.org/wiki/Open_access) research. Personal information should not be used for spamming purposes,
147
+ including sending unsolicited emails or selling of personal information. Complaints, removal requests, and "do not contact" requests can be sent to info@fondant.ai.
148
+ The PII filtering pipeline for this dataset is still a work in progress. Researchers that wish to contribute to the anonymization pipeline of the project can join
149
+ [here](https://github.com/ml6team/fondant/tree/main#-contributing).
150
 
151
  ### Opting out of Fondant-cc-25m
152
+ Fondant-cc-25m is based on CommonCrawl. Their crawler honors opt-out requests in the robots.txt, see the
153
+ [CC FAQ](https://commoncrawl.org/big-picture/frequently-asked-questions/) for details.
154
+
155
+ We are giving the public the ability to have their image removed from the dataset upon request. The process for submitting and enacting removal requests will keep
156
+ evolving throughout the project as we receive feedback and build up more data governance tools.
157
  If you'd like to have your data removed from the dataset, [contact us](mailto:info@fondant.ai).
158
 
159
  ## Considerations for Using the Data
160
  ### Discussion of Biases
161
+ As toxic or biased data is prevalent on the internet, it is possible that our dataset contains such content.
162
 
163
  ## Additional Information
164
 
 
167
  2. Robbe Sneyders, ML6, robbe.sneyders@ml6.eu
168
  3. Matthias Richter, ML6, matthias.richter@ml6.eu
169
 
 
170
  ### Licensing Information
171
+ Fondant-cc-25m is a collection of images with various Creative Commons and other public licenses. Any use of all or part of the images gathered in Fondant-cc-25m
172
+ must abide by the terms of the original licenses, including attribution clauses when relevant. We facilitate this by providing provenance information for each data point.
173
 
174
  The list of Creative Commons license types included in the dataset can be found [here](https://creativecommons.org/about/cclicenses/).
175
 
176
+ ## Contact
177
+ [contact us](mailto:info@fondant.ai)