# Cnn\_dailymail dataset loading problem with Colab

**URL:** <https://discuss.huggingface.co/t/cnn-dailymail-dataset-loading-problem-with-colab/13281>\
**Category:** Beginners\
**Created:** [January 1, 2022, 4:55am UTC](https://discuss.huggingface.co/t/cnn-dailymail-dataset-loading-problem-with-colab/13281 "2022-01-01T04:55:58Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ayham](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ayham/32/26307_2.png) [@Ayham](https://discuss.huggingface.co/u/Ayham)\
**Post date:** [January 1, 2022, 4:55am UTC](https://discuss.huggingface.co/t/cnn-dailymail-dataset-loading-problem-with-colab/13281/1 "2022-01-01T04:55:58Z")

</div>

The **cnn\_dailymail dataset** was rarely downloaded successfully in the past few days.

> import datasets  
> test\_dataset = datasets.load\_dataset(“cnn\_dailymail”, “3.0.0”, split=“test”)

Most of the time when I try to load this dataset using Colab, it throws a “Not a directory” error:

> _**NotADirectoryError: [Errno 20] Not a directory: ‘/root/.cache/huggingface/datasets/downloads/1bc05d24fa6dda2468e83a73cf6dc207226e01e3c48a507ea716dc0421da583b/cnn/stories’**_

I really don’t know why and what the exact problem is.

This wastes my time waiting for hours or days until I can load the dataset again.

Please guide me to solve this problem or to save this dataset locally so that next time I load it “when it becomes available” from my drive instead.

Thank you in advance

---

<div class="post-metadata">

**Author:** ![merve](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/merve/32/49809_2.png) [@merve](https://discuss.huggingface.co/u/merve)\
**Post date:** [January 1, 2022, 9:00am UTC](https://discuss.huggingface.co/t/cnn-dailymail-dataset-loading-problem-with-colab/13281/2 "2022-01-01T09:00:56Z")

</div>

I would either try [streaming](https://huggingface.co/docs/datasets/dataset_streaming.html) or clear the cache, mount drive & let it save under ‘/content’.

---

<div class="post-metadata">

**Author:** ![nielsr](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/nielsr/32/39617_2.png) [@nielsr](https://discuss.huggingface.co/u/nielsr)\
**Post date:** [January 2, 2022, 1:34pm UTC](https://discuss.huggingface.co/t/cnn-dailymail-dataset-loading-problem-with-colab/13281/3 "2022-01-02T13:34:06Z")

</div>

This problem has been reported before, see [Unable to load 'cnn\_dailymail' dataset · Issue #3465 · huggingface/datasets · GitHub](https://github.com/huggingface/datasets/issues/3465).

This is due to too many downloads on Drive (where the data is hosted), if you try again in a less busy period it will work. The Datasets team is looking into this and will provide a fix (probably, by using a different place to host the data).

---

<div class="post-metadata">

**Author:** ![Ayham](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ayham/32/26307_2.png) [@Ayham](https://discuss.huggingface.co/u/Ayham)\
**Post date:** [January 3, 2022, 6:09am UTC](https://discuss.huggingface.co/t/cnn-dailymail-dataset-loading-problem-with-colab/13281/4 "2022-01-03T06:09:20Z")

</div>

Thank you @merve and @nielsr. Unfortunately @merve, this way didn’t solve the problem.  
It seems that this issue is quite complicated as this dataset is not hosted by Huggingface, so we are forced to follow the limits of Google Drive Quota, as @nielsr mentioned.

I hope Hugingface gets the permission to host this dataset or to find some other solution because it’s really wasting our time.

Best Regards.

---

<div class="post-metadata">

**Author:** ![Ayham](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/ayham/32/26307_2.png) [@Ayham](https://discuss.huggingface.co/u/Ayham)\
**Post date:** [February 17, 2022, 1:02pm UTC](https://discuss.huggingface.co/t/cnn-dailymail-dataset-loading-problem-with-colab/13281/5 "2022-02-17T13:02:43Z")

</div>

It seems that [this](https://huggingface.co/datasets/ccdv/cnn_dailymail) copy of the dataset has fixed the problem  
@merve@nielsr
