# Error loading dataset

**URL:** <https://discuss.huggingface.co/t/error-loading-dataset/14999>\
**Category:** 🤗Datasets\
**Created:** [February 21, 2022, 11:51pm UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999 "2022-02-21T23:51:05Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CaptainJack](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@CaptainJack](https://discuss.huggingface.co/u/CaptainJack)\
**Post date:** [February 21, 2022, 11:51pm UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999/1 "2022-02-21T23:51:05Z")

</div>

‘NonMatchingChecksumError: Checksums didn’t match for dataset source files:’

Hi There,  
any idea why i am getting this error when trying to download the gigaword dataset using load\_dataset.

here is my code  
dataset = load\_dataset(‘gigaword’)

---

<div class="post-metadata">

**Author:** ![mariosasko](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariosasko/32/31548_2.png) [@mariosasko](https://discuss.huggingface.co/u/mariosasko)\
**Post date:** [February 22, 2022, 12:29pm UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999/2 "2022-02-22T12:29:27Z")

</div>

Hi! I’ve opened a PR with the fix: [Fix gigaword download url by mariosasko · Pull Request #3775 · huggingface/datasets · GitHub](https://github.com/huggingface/datasets/pull/3775). After it is merged, you can download the updateted script as follows:

```python
from datasets import load_dataset
dataset = load_dataset("gigaword", revision="master")

```

---

<div class="post-metadata">

**Author:** ![CaptainJack](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@CaptainJack](https://discuss.huggingface.co/u/CaptainJack)\
**Post date:** [February 22, 2022, 10:09pm UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999/3 "2022-02-22T22:09:43Z")

</div>

thank you 🙂

---

<div class="post-metadata">

**Author:** ![CaptainJack](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@CaptainJack](https://discuss.huggingface.co/u/CaptainJack)\
**Post date:** [February 26, 2022, 5:43pm UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999/4 "2022-02-26T17:43:09Z")

</div>

HI mario  
Do you happen to know when it will likely be merged. Someone on the git post said he thinks it’s already been fixed on another issue but i’m still getting the same error.

---

<div class="post-metadata">

**Author:** ![mariosasko](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/mariosasko/32/31548_2.png) [@mariosasko](https://discuss.huggingface.co/u/mariosasko)\
**Post date:** [February 27, 2022, 3:46pm UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999/5 "2022-02-27T15:46:45Z")

</div>

Hi! Follow this comment of mine to fix the issue: [Checksums didn't match for dataset source · Issue #3792 · huggingface/datasets · GitHub](https://github.com/huggingface/datasets/issues/3792#issuecomment-1053572818)

---

<div class="post-metadata">

**Author:** ![CaptainJack](https://avatars.discourse-cdn.com/v4/letter/c/b5ac83/32.png) [@CaptainJack](https://discuss.huggingface.co/u/CaptainJack)\
**Post date:** [February 27, 2022, 5:39pm UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999/6 "2022-02-27T17:39:42Z")

</div>

Thank you so much. It works now

---

<div class="post-metadata">

**Author:** ![albertvillanova](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/albertvillanova/32/26537_2.png) [@albertvillanova](https://discuss.huggingface.co/u/albertvillanova)\
**Post date:** [March 3, 2022, 7:08am UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999/7 "2022-03-03T07:08:19Z")

</div>

The root cause of this issue is indeed a change in the service of Google Drive. Since that change, our Datasets library downloads the Google Drive virus warning page (instead of the data file). Thus the checksum error.

We have already fixed the root cause: [Fix Google Drive URL to avoid Virus scan warning by albertvillanova · Pull Request #3787 · huggingface/datasets · GitHub](https://github.com/huggingface/datasets/pull/3787)  
This fix will be available through PyPI after our next library release (in the coming days).

In the meantime, you can incorporate this “fix” by installing our library from the GitHub master branch:

`pip install git+https://github.com/huggingface/datasets#egg=datasets`

Then, if you had previously tried to load the data and got the checksum error, you should force the redownload of the data (before the fix, you just downloaded and cached the virus scan warning page, instead of the data file):

`load_dataset("...", download_mode="force_redownload")`

---

<div class="post-metadata">

**Author:** ![zilong](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/zilong/32/36830_2.png) [@zilong](https://discuss.huggingface.co/u/zilong)\
**Post date:** [May 13, 2022, 5:41pm UTC](https://discuss.huggingface.co/t/error-loading-dataset/14999/8 "2022-05-13T17:41:58Z")

</div>

Hi, I am currently having the same issue with the yelp\_review\_full dataset. Is the fix already available? I have tried to update the transformers and datasets library, but that did not fix it.
