from datasets import load_dataset
ds = load_dataset("imagenet-1k", num_proc=4)
map or filter that uses tensors or pipelines can now be cachedpyproject.toml for black by @mariosasko in https://github.com/huggingface/datasets/pull/5125tqdm zip bug by @david1542 in https://github.com/huggingface/datasets/pull/5120class_encode_column by @mariosasko in https://github.com/huggingface/datasets/pull/5130writer_batch_size by @mariosasko in https://github.com/huggingface/datasets/pull/5163co_filenames to remove by @gpucce in https://github.com/huggingface/datasets/pull/5169DownloadConfig.use_auth_token value by @alvarobartt in https://github.com/huggingface/datasets/pull/5205typer version in tests to <0.5 to fix Windows CI by @polinaeterna in https://github.com/huggingface/datasets/pull/5235Version hashable by @mariosasko in https://github.com/huggingface/datasets/pull/5238Full Changelog: https://github.com/huggingface/datasets/compare/2.6.1...2.7.0
Fetched April 7, 2026