# Dataset download faster

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-download-faster%2F79314%3E%5C
**Category:** Intermediate\
**Created:** [March 29, 2024, 1:17pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-download-faster%2F79314 "2024-03-29T13:17:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rajiv-data-chef](https://avatars.discourse-cdn.com/v4/letter/r/edb3f5/32.png) [@rajiv-data-chef](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Frajiv-data-chef)%5C
**Post date:** [March 29, 2024, 1:17pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-download-faster%2F79314%2F1 "2024-03-29T13:17:12Z")

</div>

## from datasets import load\_dataset dataset = load\_dataset(“imagenet-1k”, split = “train”)

I have seen that the above code downloads the data in partitions .  
How can I just download the first partition and not waste any more time , since I donot need whole data . I just need some data for analysis . But , I have to wait for the whole time

---

<div class="post-metadata">

**Author:** ![KeelyPowers](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@KeelyPowers](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FKeelyPowers)%5C
**Post date:** [March 29, 2024, 11:40pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fdataset-download-faster%2F79314%2F2 "2024-03-29T23:40:24Z")

</div>

Of course, you can use the `load_size` parameter to quickly load only part of the data. This option allows you to specify the number of elements you want to load from the dataset. For example, you can set `load_size=100` to load only the first 100 elements. This way, you can quickly get a small set of data for analysis without downloading the entire database. This saves time and resources when working with large data sets.
