# Could I download the dataset manually?

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcould-i-download-the-dataset-manually%2F14008%3E%5C
**Category:** 🤗Datasets\
**Created:** [January 23, 2022, 3:37am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcould-i-download-the-dataset-manually%2F14008 "2022-01-23T03:37:13Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![liuliu1993](https://avatars.discourse-cdn.com/v4/letter/l/7ab992/32.png) [@liuliu1993](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fliuliu1993)%5C
**Post date:** [January 23, 2022, 3:37am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcould-i-download-the-dataset-manually%2F14008%2F1 "2022-01-23T03:37:13Z")

</div>

Due to the connection error I cannot download some datasets from original URL, such as librispeech. But I can download it manually and store it. So how can I make the datasets package recognize it? I mean, where should I put the dataset, like ‘~/.cache/data/librispeech’ or somewhere else? Or how can I change the original code of datasets and it can know the dataset location.

Thanks!

---

<div class="post-metadata">

**Author:** ![mariosasko](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariosasko/32/31548_2.png) [@mariosasko](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fmariosasko)%5C
**Post date:** [January 24, 2022, 6:46pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fcould-i-download-the-dataset-manually%2F14008%2F2 "2022-01-24T18:46:32Z")

</div>

Hi! Could you please copy & paste the connection error you get? To work with the local data, you’ll have to download the librispeech script from our repo and modify it in the way it reads the data from the downloaded directory - you can pass the path to the data directory as follows:

```python
from datasets import load_dataset
dset = load_dataset("path/to/dir/of/your/modifiedlibrispeech/script", data_dir="path/to/librispeech/data")

```

and access the `data_dir` value in the modified librispeech script as follows:

```auto
def _split_generators(self, dl_manager):
    local_data_path = dl_manager.manual_dir
    ...

```
