CNXT/CHaTx
Updated • 9
The dataset viewer should be available soon. Please retry later.
YAML Metadata Warning:empty or missing yaml metadata in repo card
Check out the documentation for more information.
Subset of YFCC100M used by OpenAI for CLIP, filtered to contain only the images that we could retrieve.
| Split | train | validation |
|---|---|---|
| Number of samples | 14,808,859 | 16,374 |
| Size | 1.9 TB | 2.1 GB |
Features:
title, description, photoid, uid, unickname, datetaken, dateuploaded, capturedevice, usertags, machinetags, longitude, latitude, accuracy, pageurl, downloadurl, licensename, licenseurl, serverid, farmid, secret, secretoriginal, ext, marker, keyimg: image content, can be loaded with PIL.Image.open(io.BytesIO(item['img']))title_clean and description_clean: derived from title and description using clean_text function detailed belowdef clean_text(text):
# decode url
text = urllib.parse.unquote_plus(text)
# remove html tags
text = re.sub('<[^<]+?>', '', text)
# remove multiple spaces + "\r" + "\n" + "\t"
text = " ".join(text.split())
return text