[GH-ISSUE #23] How is the dataset collected? #22

Open
opened 2026-10-31 21:09:59 +00:00 by bsakaguchi · 7 comments
Owner

Originally created by @linzhiqiu on GitHub (Jan 25, 2021).
Original GitHub issue: https://github.com/openai/CLIP/issues/23

This is a question related to the paper instead of this codebase. In paper section 2.2, it briefly describes how the data are gathered by "...we constructed a new dataset of 400 million (image, text) pairs collected form a variety of publicly available sources on the Internet."

I was wondering what are the publicly available sources (e.g. Google image search, Flickr image search, etc.)?

Originally created by @linzhiqiu on GitHub (Jan 25, 2021). Original GitHub issue: https://github.com/openai/CLIP/issues/23 This is a question related to the paper instead of this codebase. In paper section 2.2, it briefly describes how the data are gathered by "_...we constructed a new dataset of 400 million (image, text) pairs collected form a variety of publicly available sources on the Internet._" I was wondering what are the **publicly available sources** (e.g. Google image search, Flickr image search, etc.)?
Author
Owner

@rsomani95 commented on GitHub (Jan 26, 2021):

Tangential to @linzhiqiu's question, I'm also curious how much of the data comes from existing academic datasets / which ones were used for training the model, if any at all?

Is OpenAI open to sharing this information? I think it's crucial to examine the model for bias. For example, if Places365 was used in training the model, it's redundant to test how it performs on that dataset

<!-- gh-comment-id:767581042 --> @rsomani95 commented on GitHub (Jan 26, 2021): Tangential to @linzhiqiu's question, I'm also curious how much of the data comes from existing academic datasets / which ones were used for training the model, if any at all? Is OpenAI open to sharing this information? I think it's crucial to examine the model for bias. For example, if [Places365](https://github.com/CSAILVision/places365) was used in training the model, it's redundant to test how it performs on that dataset
Author
Owner

@meigaoms commented on GitHub (Feb 5, 2021):

This is mentioned in paper: "The base query list is all words occurring at least 100 times in
the English version of Wikipedia. This is augmented with bi-grams
with high pointwise mutual information as well as the names of
all Wikipedia articles above a certain search volume. ". I'm curious about how the high frequency words are augmented with bigrams and wikipedia articles.

<!-- gh-comment-id:773724665 --> @meigaoms commented on GitHub (Feb 5, 2021): This is mentioned in paper: "The base query list is all words occurring at least 100 times in the English version of Wikipedia. This is augmented with bi-grams with high pointwise mutual information as well as the names of all Wikipedia articles above a certain search volume. ". I'm curious about how the high frequency words are augmented with bigrams and wikipedia articles.
Author
Owner

@Rijgersberg commented on GitHub (Apr 21, 2021):

I too would like to echo the request for more information about the dataset.

As you show in Section 5 of the paper, overlap with the training dataset can be relevant when evaluating the performance and suitability of the pretrained model in novel contexts.

Besides that, the source, reach and quality of the dataset used are important factors in our internal ethics evaluation process, which we are currently unable to assess.

If you are unable to release full details of the dataset, would you be willing to release more partial details? Some suggestions:

  • a list of links to the images
  • a list of file hashes
  • a list of the 500,000 queries used to gather the images
  • a list of the publicly available sources used (as suggested by the original commenter)

Any additional details would be greatly appreciated and will aid us in our research into the potential impact of models like CLIP in our domain.

<!-- gh-comment-id:824165988 --> @Rijgersberg commented on GitHub (Apr 21, 2021): I too would like to echo the request for more information about the dataset. As you show in Section 5 of the paper, overlap with the training dataset can be relevant when evaluating the performance and suitability of the pretrained model in novel contexts. Besides that, the source, reach and quality of the dataset used are important factors in our internal ethics evaluation process, which we are currently unable to assess. If you are unable to release full details of the dataset, would you be willing to release more partial details? Some suggestions: - a list of links to the images - a list of file hashes - a list of the 500,000 queries used to gather the images - a list of the publicly available sources used (as suggested by the original commenter) Any additional details would be greatly appreciated and will aid us in our research into the potential impact of models like CLIP in our domain.
Author
Owner

@realTaki commented on GitHub (Sep 13, 2021):

This is mentioned in paper: "The base query list is all words occurring at least 100 times in
the English version of Wikipedia. This is augmented with bi-grams
with high pointwise mutual information as well as the names of
all Wikipedia articles above a certain search volume. ". I'm curious about how the high frequency words are augmented with bigrams and wikipedia articles.

I want to know how they expand the words to a text for training? I mean if the description of the image was just format from a template(like a photo of {}), the performance would be equal to using a single keyword without using a template?

<!-- gh-comment-id:917857709 --> @realTaki commented on GitHub (Sep 13, 2021): > This is mentioned in paper: "The base query list is all words occurring at least 100 times in > the English version of Wikipedia. This is augmented with bi-grams > with high pointwise mutual information as well as the names of > all Wikipedia articles above a certain search volume. ". I'm curious about how the high frequency words are augmented with bigrams and wikipedia articles. I want to know how they expand the words to a text for training? I mean if the description of the image was just format from a template(like `a photo of {}`), the performance would be equal to using a single keyword without using a template?
Author
Owner

@JunweiLiang commented on GitHub (Dec 10, 2021):

If you don't already know, this paper uses the released model to inversely get the closest 400M image-text pairs from web crawl dataset.

<!-- gh-comment-id:990740028 --> @JunweiLiang commented on GitHub (Dec 10, 2021): If you don't already know, [this paper](https://arxiv.org/abs/2111.02114) uses the released model to inversely get the closest 400M image-text pairs from web crawl dataset.
Author
Owner

@igo312 commented on GitHub (Dec 10, 2021):

This is mentioned in paper: "The base query list is all words occurring at least 100 times in
the English version of Wikipedia. This is augmented with bi-grams
with high pointwise mutual information as well as the names of
all Wikipedia articles above a certain search volume. ". I'm curious about how the high frequency words are augmented with bigrams and wikipedia articles.

I want to know how they expand the words to a text for training? I mean if the description of the image was just format from a template(like a photo of {}), the performance would be equal to using a single keyword without using a template?

Maybe OpenAI used some tricks that the template format is more than a photo of {}. e.g. for anmials the template is the animal name is {} . As a result, may template will guided the model?

<!-- gh-comment-id:990836411 --> @igo312 commented on GitHub (Dec 10, 2021): > > This is mentioned in paper: "The base query list is all words occurring at least 100 times in > > the English version of Wikipedia. This is augmented with bi-grams > > with high pointwise mutual information as well as the names of > > all Wikipedia articles above a certain search volume. ". I'm curious about how the high frequency words are augmented with bigrams and wikipedia articles. > > I want to know how they expand the words to a text for training? I mean if the description of the image was just format from a template(like `a photo of {}`), the performance would be equal to using a single keyword without using a template? Maybe OpenAI used some tricks that the template format is more than `a photo of {}`. e.g. for anmials the template is `the animal name is {} `. As a result, may template will guided the model?
Author
Owner

@haardikdharma10 commented on GitHub (Feb 8, 2025):

I know this is an old thread... but this paper Demystifying CLIP data intends to reveal CLIP’s data curation approach. Also see - https://github.com/facebookresearch/MetaCLIP

<!-- gh-comment-id:2645905783 --> @haardikdharma10 commented on GitHub (Feb 8, 2025): I know this is an old thread... but this paper [Demystifying CLIP data](https://arxiv.org/pdf/2309.16671v4) intends to reveal CLIP’s data curation approach. Also see - https://github.com/facebookresearch/MetaCLIP
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
openai/CLIP#22
No description provided.