The dataset viewer is taking too long to fetch the data. Try to refresh this page.
Server-side error
Error code:   ClientConnectionError

The Unsplash Lite Dataset (v1.2.1) with color palettes

The Lite dataset contains all of the same fields as the Full dataset, but is limited to ~25,000 photos. It can be used for both commercial and non-commercial usage, provided you abide by the terms.

The Unsplash Dataset is made available for research purposes. It cannot be used to redistribute the images contained within. To use the Unsplash library in a product, see the Unsplash API.

This subset of the dataset contains only urls to the images, their descriptions generated from an AI service, and 8 palettes (generated using okolors).

To download the images from the urls, you may do something like this:

from datasets import load_dataset, DownloadManager, Image

ds = load_dataset("1aurent/unsplash-lite-palette")

def download_image(url: str | list[str]) -> str | list[str]:
  dl_manager = DownloadManager()
  filename = dl_manager.download(url)
  return {"image": filename}

ds = ds.map(
  function=download_image,
  input_columns=["url"],
  batched=True,
  num_proc=6,
)
ds = ds.cast_column(
  column="image",
  feature=Image(),
)

Downloads last month
7
Edit dataset card