Datasets:
Formats:
parquet
Sub-tasks:
image-captioning
Languages:
English
Size:
100M - 1B
ArXiv:
Tags:
image-text pairs
License:
Update README.md
Browse files
README.md
CHANGED
@@ -62,7 +62,7 @@ task_ids:
|
|
62 |
|
63 |
### Dataset Summary
|
64 |
|
65 |
-
**COYO-700M** is a large-scale dataset that contains **747M image-text pairs** as well as many other **meta-attributes** to increase the usability to train various models. Our dataset follows
|
66 |
complementary to other similar datasets. For more details on the data acquisition process, please refer to the technical paper to be released later.
|
67 |
|
68 |
### Supported Tasks and Leaderboards
|
@@ -113,7 +113,7 @@ Each instance in COYO-700M represents single image-text pair information with me
|
|
113 |
| height | integer | The height of the image |
|
114 |
| image_phash | string | The [perceptual hash(pHash)](http://www.phash.org/) of the image |
|
115 |
| text_length | integer | The length of the text |
|
116 |
-
| word_count | integer | The number of words
|
117 |
| num_tokens_bert | integer | The number of tokens using [BertTokenizer](https://huggingface.co/docs/transformers/model_doc/bert#transformers.BertTokenizer) |
|
118 |
| num_tokens_gpt | integer | The number of tokens using [GPT2TokenizerFast](https://huggingface.co/docs/transformers/model_doc/gpt2#transformers.GPT2TokenizerFast) |
|
119 |
| num_faces | integer | The number of faces in the image detected by [SCRFD](https://insightface.ai/scrfd) |
|
@@ -138,19 +138,19 @@ Similar to most vision-and-language datasets, our primary goal in the data creat
|
|
138 |
|
139 |
#### Initial Data Collection and Normalization
|
140 |
|
141 |
-
We collected about 10 billion pairs of alt-text and image
|
142 |
|
143 |
**Image Level**
|
144 |
* Include all image formats that Pillow library can decode
|
145 |
* Less than 5KB image size are dropped
|
146 |
-
* Images with aspect ratio
|
147 |
* Images with min(width, height) < 200 are dropped
|
148 |
* Images are dropped if the score of [OpenNSFW2](https://github.com/yahoo/open_nsfw) or [GantMan/NSFW](https://github.com/GantMan/nsfw_model) is higher than 0.5
|
149 |
* Based on the image [pHash](http://www.phash.org/) value, we removed all duplicate images from external public datasets.
|
150 |
(ImageNet-1K/21K, Flickr-30K, MS-COCO, CC-3M, CC-12M)
|
151 |
|
152 |
**Text Level**
|
153 |
-
* We collected only
|
154 |
* Consecutive whitespace characters are replaced with a single whitespace and whitespace before and after the sentence are removed
|
155 |
(e.g. `"\n \n Load image into Gallery viewer, valentine&#39;s day roses\n \n" → "Load image into Gallery viewer, valentine&#39;s day roses"`)
|
156 |
* Any text with a length of 5 or less has been dropped
|
|
|
62 |
|
63 |
### Dataset Summary
|
64 |
|
65 |
+
**COYO-700M** is a large-scale dataset that contains **747M image-text pairs** as well as many other **meta-attributes** to increase the usability to train various models. Our dataset follows a similar strategy to previous vision-and-language datasets, collecting many informative pairs of alt-text and its associated image in HTML documents. We expect COYO to be used to train popular large-scale foundation models
|
66 |
complementary to other similar datasets. For more details on the data acquisition process, please refer to the technical paper to be released later.
|
67 |
|
68 |
### Supported Tasks and Leaderboards
|
|
|
113 |
| height | integer | The height of the image |
|
114 |
| image_phash | string | The [perceptual hash(pHash)](http://www.phash.org/) of the image |
|
115 |
| text_length | integer | The length of the text |
|
116 |
+
| word_count | integer | The number of words separated by spaces. |
|
117 |
| num_tokens_bert | integer | The number of tokens using [BertTokenizer](https://huggingface.co/docs/transformers/model_doc/bert#transformers.BertTokenizer) |
|
118 |
| num_tokens_gpt | integer | The number of tokens using [GPT2TokenizerFast](https://huggingface.co/docs/transformers/model_doc/gpt2#transformers.GPT2TokenizerFast) |
|
119 |
| num_faces | integer | The number of faces in the image detected by [SCRFD](https://insightface.ai/scrfd) |
|
|
|
138 |
|
139 |
#### Initial Data Collection and Normalization
|
140 |
|
141 |
+
We collected about 10 billion pairs of alt-text and image sources in HTML documents in [CommonCrawl](https://commoncrawl.org/) from Oct. 2020 to Aug. 2021. and eliminated uninformative pairs through the image and/or text level filtering process with minimal cost.
|
142 |
|
143 |
**Image Level**
|
144 |
* Include all image formats that Pillow library can decode
|
145 |
* Less than 5KB image size are dropped
|
146 |
+
* Images with an aspect ratio greater than 3.0 are dropped
|
147 |
* Images with min(width, height) < 200 are dropped
|
148 |
* Images are dropped if the score of [OpenNSFW2](https://github.com/yahoo/open_nsfw) or [GantMan/NSFW](https://github.com/GantMan/nsfw_model) is higher than 0.5
|
149 |
* Based on the image [pHash](http://www.phash.org/) value, we removed all duplicate images from external public datasets.
|
150 |
(ImageNet-1K/21K, Flickr-30K, MS-COCO, CC-3M, CC-12M)
|
151 |
|
152 |
**Text Level**
|
153 |
+
* We collected only English text using [cld3](https://github.com/google/cld3)
|
154 |
* Consecutive whitespace characters are replaced with a single whitespace and whitespace before and after the sentence are removed
|
155 |
(e.g. `"\n \n Load image into Gallery viewer, valentine&#39;s day roses\n \n" → "Load image into Gallery viewer, valentine&#39;s day roses"`)
|
156 |
* Any text with a length of 5 or less has been dropped
|