Datasets:

Languages: English
Multilinguality: monolingual
Size Categories: 10M<n<100M
Language Creators: found
Annotations Creators: found
Source Datasets: original
License:
Mario Šaško commited on
Commit
95cfd67
1 Parent(s): 52c92e2

Make RedCaps streamable (again) (#3737)

Browse files

Commit from https://github.com/huggingface/datasets/commit/5f52561f6c35d4e3ccad87ff949a729b34d2d0d2

Files changed (2) hide show
  1. dataset_infos.json +1 -1
  2. red_caps.py +1 -1
dataset_infos.json CHANGED
@@ -1 +1 @@
1
- {"all": {"description": "RedCaps is a large-scale dataset of 12M image-text pairs collected from Reddit.\nImages and captions from Reddit depict and describe a wide variety of objects and scenes.\nThe data is collected from a manually curated set of subreddits (350 total),\nwhich give coarse image labels and allow steering of the dataset composition\nwithout labeling individual instances.\n", "citation": "@misc{desai2021redcaps,\n title={RedCaps: web-curated image-text data created by the people, for the people},\n author={Karan Desai and Gaurav Kaul and Zubin Aysola and Justin Johnson},\n year={2021},\n eprint={2111.11431},\n archivePrefix={arXiv},\n primaryClass={cs.CV}\n}\n", "homepage": "https://redcaps.xyz/", "license": "CC BY 4.0", "features": {"image_id": {"dtype": "string", "id": null, "_type": "Value"}, "author": {"dtype": "string", "id": null, "_type": "Value"}, "image_url": {"dtype": "string", "id": null, "_type": "Value"}, "raw_caption": {"dtype": "string", "id": null, "_type": "Value"}, "caption": {"dtype": "string", "id": null, "_type": "Value"}, "subreddit": {"num_classes": 350, "names": ["abandonedporn", "abandoned", "absoluteunits", "airplants", "alltheanimals", "amateurphotography", "amateurroomporn", "animalporn", "antiques", "antkeeping", "ants", "aquariums", "architectureporn", "artefactporn", "astronomy", "astrophotography", "australiancattledog", "australianshepherd", "autumnporn", "averagebattlestations", "awwducational", "awwnverts", "axolotls", "backpacking", "backyardchickens", "baking", "ballpython", "barista", "bassfishing", "battlestations", "bbq", "beagle", "beardeddragons", "beekeeping", "beerandpizza", "beerporn", "beerwithaview", "beginnerwoodworking", "bengalcats", "bento", "bernesemountaindogs", "berries", "bettafish", "bicycling", "bikecommuting", "birding", "birdphotography", "birdpics", "birdsofprey", "birds", "blackcats", "blacksmith", "bladesmith", "boatporn", "bonsai", "bookporn", "bookshelf", "bordercollie", "bostonterrier", "botanicalporn", "breadit", "breakfastfood", "breakfast", "bridgeporn", "brochet", "budgetfood", "budgies", "bulldogs", "burgers", "butterflies", "cabinporn", "cactus", "cakedecorating", "cakewin", "cameras", "campingandhiking", "camping", "carnivorousplants", "carpentry", "carporn", "cassetteculture", "castiron", "castles", "casualknitting", "catpictures", "cats", "ceramics", "chameleons", "charcuterie", "cheesemaking", "cheese", "chefit", "chefknives", "chickens", "chihuahua", "chinchilla", "chinesefood", "churchporn", "cider", "cityporn", "classiccars", "cockatiel", "cocktails", "coffeestations", "coins", "cookiedecorating", "corgi", "cornsnakes", "cozyplaces", "crafts", "crestedgecko", "crochet", "crossstitch", "crows", "crystals", "cupcakes", "dachshund", "damnthatsinteresting", "desertporn", "designmyroom", "desksetup", "dessertporn", "dessert", "diy", "dobermanpinscher", "doggos", "dogpictures", "drunkencookery", "duck", "dumpsterdiving", "earthporn", "eatsandwiches", "embroidery", "entomology", "equestrian", "espresso", "exposureporn", "eyebleach", "f1porn", "farming", "femalelivingspace", "fermentation", "ferrets", "fireporn", "fishing", "fish", "flowers", "flyfishing", "foodporn", "food", "foraging", "fossilporn", "fountainpens", "foxes", "frenchbulldogs", "frogs", "gardening", "gardenwild", "geckos", "gemstones", "geologyporn", "germanshepherds", "glutenfree", "goldenretrievers", "goldfish", "gold", "greatpyrenees", "grilledcheese", "grilling", "guineapigs", "gunporn", "guns", "hamsters", "handtools", "healthyfood", "hedgehog", "helicopters", "herpetology", "hiking", "homestead", "horses", "hotpeppers", "houseplants", "houseporn", "husky", "icecreamery", "indoorgarden", "infrastructureporn", "insects", "instantpot", "interestingasfuck", "interiordesign", "itookapicture", "jellyfish", "jewelry", "kayakfishing", "kayaking", "ketorecipes", "knifeporn", "knives", "labrador", "leathercraft", "leopardgeckos", "lizards", "lookatmydog", "macarons", "machineporn", "macroporn", "malelivingspace", "mead", "mealprepsunday", "mechanicalkeyboards", "mechanicalpencils", "melts", "metalworking", "microgreens", "microporn", "mildlyinteresting", "mineralporn", "monitors", "monstera", "mostbeautiful", "motorcycleporn", "muglife", "mushroomgrowers", "mushroomporn", "mushrooms", "mycology", "natureisfuckinglit", "natureporn", "nebelung", "orchids", "otters", "outdoors", "owls", "parrots", "pelletgrills", "pens", "perfectfit", "permaculture", "photocritique", "photographs", "pics", "pitbulls", "pizza", "plantbaseddiet", "plantedtank", "plantsandpots", "plants", "pomeranians", "pottery", "pourpainting", "proplifting", "pugs", "pug", "quilting", "rabbits", "ramen", "rarepuppers", "reeftank", "reptiles", "resincasting", "roomporn", "roses", "rottweiler", "ruralporn", "sailing", "salsasnobs", "samoyeds", "savagegarden", "scotch", "seaporn", "seriouseats", "sewing", "sharks", "shiba", "shihtzu", "shrimptank", "siamesecats", "siberiancats", "silverbugs", "skyporn", "sloths", "smoking", "snails", "snakes", "sneakers", "sneks", "somethingimade", "soup", "sourdough", "sousvide", "spaceporn", "spicy", "spiderbro", "spiders", "squirrels", "steak", "streetphotography", "succulents", "superbowl", "supermodelcats", "sushi", "tacos", "tarantulas", "tastyfood", "teaporn", "tea", "tequila", "terrariums", "thedepthsbelow", "thriftstorehauls", "tinyanimalsonfingers", "tonightsdinner", "toolporn", "tools", "torties", "tortoise", "tractors", "trailrunning", "trains", "trucks", "turtle", "underwaterphotography", "upcycling", "urbanexploration", "urbanhell", "veganfoodporn", "veganrecipes", "vegetablegardening", "vegetarian", "villageporn", "vintageaudio", "vintage", "vinyl", "volumeeating", "watches", "waterporn", "weatherporn", "wewantplates", "wildernessbackpacking", "wildlifephotography", "wine", "winterporn", "woodcarving", "woodworking", "workbenches", "workspaces", "yarnaddicts", "zerowaste"], "names_file": null, "id": null, "_type": "ClassLabel"}, "score": {"dtype": "int32", "id": null, "_type": "Value"}, "created_utc": {"dtype": "timestamp[s, tz=UTC]", "id": null, "_type": "Value"}, "permalink": {"dtype": "string", "id": null, "_type": "Value"}, "crosspost_parents": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "red_caps", "config_name": "all", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3235627787, "num_examples": 12011121, "dataset_name": "red_caps"}}, "download_checksums": {"https://www.dropbox.com/s/cqtdpsl4hewlli1/redcaps_v1.0_annotations.zip?dl=1": {"num_bytes": 1061908181, "checksum": "d502951cb91fe9163c53ef7a72587f29e3d975f081b86139d66cf29dd14e8864"}}, "download_size": 1061908181, "post_processing_size": null, "dataset_size": 3235627787, "size_in_bytes": 4297535968}}
1
+ {"all": {"description": "RedCaps is a large-scale dataset of 12M image-text pairs collected from Reddit.\nImages and captions from Reddit depict and describe a wide variety of objects and scenes.\nThe data is collected from a manually curated set of subreddits (350 total),\nwhich give coarse image labels and allow steering of the dataset composition\nwithout labeling individual instances.\n", "citation": "@misc{desai2021redcaps,\n title={RedCaps: web-curated image-text data created by the people, for the people},\n author={Karan Desai and Gaurav Kaul and Zubin Aysola and Justin Johnson},\n year={2021},\n eprint={2111.11431},\n archivePrefix={arXiv},\n primaryClass={cs.CV}\n}\n", "homepage": "https://redcaps.xyz/", "license": "CC BY 4.0", "features": {"image_id": {"dtype": "string", "id": null, "_type": "Value"}, "author": {"dtype": "string", "id": null, "_type": "Value"}, "image_url": {"dtype": "string", "id": null, "_type": "Value"}, "raw_caption": {"dtype": "string", "id": null, "_type": "Value"}, "caption": {"dtype": "string", "id": null, "_type": "Value"}, "subreddit": {"num_classes": 350, "names": ["abandonedporn", "abandoned", "absoluteunits", "airplants", "alltheanimals", "amateurphotography", "amateurroomporn", "animalporn", "antiques", "antkeeping", "ants", "aquariums", "architectureporn", "artefactporn", "astronomy", "astrophotography", "australiancattledog", "australianshepherd", "autumnporn", "averagebattlestations", "awwducational", "awwnverts", "axolotls", "backpacking", "backyardchickens", "baking", "ballpython", "barista", "bassfishing", "battlestations", "bbq", "beagle", "beardeddragons", "beekeeping", "beerandpizza", "beerporn", "beerwithaview", "beginnerwoodworking", "bengalcats", "bento", "bernesemountaindogs", "berries", "bettafish", "bicycling", "bikecommuting", "birding", "birdphotography", "birdpics", "birdsofprey", "birds", "blackcats", "blacksmith", "bladesmith", "boatporn", "bonsai", "bookporn", "bookshelf", "bordercollie", "bostonterrier", "botanicalporn", "breadit", "breakfastfood", "breakfast", "bridgeporn", "brochet", "budgetfood", "budgies", "bulldogs", "burgers", "butterflies", "cabinporn", "cactus", "cakedecorating", "cakewin", "cameras", "campingandhiking", "camping", "carnivorousplants", "carpentry", "carporn", "cassetteculture", "castiron", "castles", "casualknitting", "catpictures", "cats", "ceramics", "chameleons", "charcuterie", "cheesemaking", "cheese", "chefit", "chefknives", "chickens", "chihuahua", "chinchilla", "chinesefood", "churchporn", "cider", "cityporn", "classiccars", "cockatiel", "cocktails", "coffeestations", "coins", "cookiedecorating", "corgi", "cornsnakes", "cozyplaces", "crafts", "crestedgecko", "crochet", "crossstitch", "crows", "crystals", "cupcakes", "dachshund", "damnthatsinteresting", "desertporn", "designmyroom", "desksetup", "dessertporn", "dessert", "diy", "dobermanpinscher", "doggos", "dogpictures", "drunkencookery", "duck", "dumpsterdiving", "earthporn", "eatsandwiches", "embroidery", "entomology", "equestrian", "espresso", "exposureporn", "eyebleach", "f1porn", "farming", "femalelivingspace", "fermentation", "ferrets", "fireporn", "fishing", "fish", "flowers", "flyfishing", "foodporn", "food", "foraging", "fossilporn", "fountainpens", "foxes", "frenchbulldogs", "frogs", "gardening", "gardenwild", "geckos", "gemstones", "geologyporn", "germanshepherds", "glutenfree", "goldenretrievers", "goldfish", "gold", "greatpyrenees", "grilledcheese", "grilling", "guineapigs", "gunporn", "guns", "hamsters", "handtools", "healthyfood", "hedgehog", "helicopters", "herpetology", "hiking", "homestead", "horses", "hotpeppers", "houseplants", "houseporn", "husky", "icecreamery", "indoorgarden", "infrastructureporn", "insects", "instantpot", "interestingasfuck", "interiordesign", "itookapicture", "jellyfish", "jewelry", "kayakfishing", "kayaking", "ketorecipes", "knifeporn", "knives", "labrador", "leathercraft", "leopardgeckos", "lizards", "lookatmydog", "macarons", "machineporn", "macroporn", "malelivingspace", "mead", "mealprepsunday", "mechanicalkeyboards", "mechanicalpencils", "melts", "metalworking", "microgreens", "microporn", "mildlyinteresting", "mineralporn", "monitors", "monstera", "mostbeautiful", "motorcycleporn", "muglife", "mushroomgrowers", "mushroomporn", "mushrooms", "mycology", "natureisfuckinglit", "natureporn", "nebelung", "orchids", "otters", "outdoors", "owls", "parrots", "pelletgrills", "pens", "perfectfit", "permaculture", "photocritique", "photographs", "pics", "pitbulls", "pizza", "plantbaseddiet", "plantedtank", "plantsandpots", "plants", "pomeranians", "pottery", "pourpainting", "proplifting", "pugs", "pug", "quilting", "rabbits", "ramen", "rarepuppers", "reeftank", "reptiles", "resincasting", "roomporn", "roses", "rottweiler", "ruralporn", "sailing", "salsasnobs", "samoyeds", "savagegarden", "scotch", "seaporn", "seriouseats", "sewing", "sharks", "shiba", "shihtzu", "shrimptank", "siamesecats", "siberiancats", "silverbugs", "skyporn", "sloths", "smoking", "snails", "snakes", "sneakers", "sneks", "somethingimade", "soup", "sourdough", "sousvide", "spaceporn", "spicy", "spiderbro", "spiders", "squirrels", "steak", "streetphotography", "succulents", "superbowl", "supermodelcats", "sushi", "tacos", "tarantulas", "tastyfood", "teaporn", "tea", "tequila", "terrariums", "thedepthsbelow", "thriftstorehauls", "tinyanimalsonfingers", "tonightsdinner", "toolporn", "tools", "torties", "tortoise", "tractors", "trailrunning", "trains", "trucks", "turtle", "underwaterphotography", "upcycling", "urbanexploration", "urbanhell", "veganfoodporn", "veganrecipes", "vegetablegardening", "vegetarian", "villageporn", "vintageaudio", "vintage", "vinyl", "volumeeating", "watches", "waterporn", "weatherporn", "wewantplates", "wildernessbackpacking", "wildlifephotography", "wine", "winterporn", "woodcarving", "woodworking", "workbenches", "workspaces", "yarnaddicts", "zerowaste"], "id": null, "_type": "ClassLabel"}, "score": {"dtype": "int32", "id": null, "_type": "Value"}, "created_utc": {"dtype": "timestamp[s, tz=UTC]", "id": null, "_type": "Value"}, "permalink": {"dtype": "string", "id": null, "_type": "Value"}, "crosspost_parents": {"feature": {"dtype": "string", "id": null, "_type": "Value"}, "length": -1, "id": null, "_type": "Sequence"}}, "post_processed": null, "supervised_keys": null, "task_templates": null, "builder_name": "red_caps", "config_name": "all", "version": {"version_str": "1.0.0", "description": "", "major": 1, "minor": 0, "patch": 0}, "splits": {"train": {"name": "train", "num_bytes": 3378544525, "num_examples": 12011121, "dataset_name": "red_caps"}}, "download_checksums": {"https://huggingface.co/datasets/red_caps/resolve/main/data/redcaps_v1.0_annotations.zip": {"num_bytes": 1061908181, "checksum": "d502951cb91fe9163c53ef7a72587f29e3d975f081b86139d66cf29dd14e8864"}}, "download_size": 1061908181, "post_processing_size": null, "dataset_size": 3378544525, "size_in_bytes": 4440452706}}
red_caps.py CHANGED
@@ -46,7 +46,7 @@ _HOMEPAGE = "https://redcaps.xyz/"
46
 
47
  _LICENSE = "CC BY 4.0"
48
 
49
- _URL = "https://www.dropbox.com/s/cqtdpsl4hewlli1/redcaps_v1.0_annotations.zip?dl=1"
50
 
51
  _SUBREDDITS_WITH_YEAR = """\
52
  abandonedporn_2017 abandonedporn_2018 abandonedporn_2019 abandonedporn_2020 abandoned_2017 abandoned_2018
46
 
47
  _LICENSE = "CC BY 4.0"
48
 
49
+ _URL = "https://huggingface.co/datasets/red_caps/resolve/main/data/redcaps_v1.0_annotations.zip"
50
 
51
  _SUBREDDITS_WITH_YEAR = """\
52
  abandonedporn_2017 abandonedporn_2018 abandonedporn_2019 abandonedporn_2020 abandoned_2017 abandoned_2018