--- dataset_info: features: - name: url dtype: string - name: ai_description dtype: string - name: palettes struct: - name: '1' dtype: array2_d: shape: - 1 - 3 dtype: uint8 - name: '2' dtype: array2_d: shape: - 2 - 3 dtype: uint8 - name: '3' dtype: array2_d: shape: - 3 - 3 dtype: uint8 - name: '4' dtype: array2_d: shape: - 4 - 3 dtype: uint8 - name: '5' dtype: array2_d: shape: - 5 - 3 dtype: uint8 - name: '6' dtype: array2_d: shape: - 6 - 3 dtype: uint8 - name: '7' dtype: array2_d: shape: - 7 - 3 dtype: uint8 - name: '8' dtype: array2_d: shape: - 8 - 3 dtype: uint8 splits: - name: train num_bytes: 28536733 num_examples: 24998 download_size: 4159745 dataset_size: 28536733 configs: - config_name: default data_files: - split: train path: data/train-* license: other license_name: unsplash-commercial license_link: https://github.com/unsplash/datasets/blob/master/DOCS.md task_categories: - text-to-image - image-to-text language: - en tags: - unsplash - v1.2.1 pretty_name: Unsplash Lite w/ Palettes size_categories: - 10K 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(), ) ``` ![](https://unsplash.com/blog/content/images/2020/08/footer-alt.jpg)