# Help loading a dataset that I pushed to hub

**URL:** </static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhelp-loading-a-dataset-that-i-pushed-to-hub%2F48590%3E%5C
**Category:** 🤗Datasets\
**Created:** [July 29, 2023, 5:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhelp-loading-a-dataset-that-i-pushed-to-hub%2F48590 "2023-07-29T05:47:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jjovalle99](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/jjovalle99/32/40313_2.png) [@jjovalle99](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjjovalle99)%5C
**Post date:** [July 29, 2023, 5:47am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhelp-loading-a-dataset-that-i-pushed-to-hub%2F48590%2F1 "2023-07-29T05:47:20Z")

</div>

I’m having issues loading a dataset I just pushed to hub. This is the dataset:

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/2/e/2e761c7fc7d43e399a1bfa4f68e754676dd05ff8.png)  
 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/2/0/20fdf350a08a55d8705b9f970cad3366fff1b43d.png)  
I’m using

```auto
from datasets import load_dataset

dataset = load_dataset("jjovalle99/amazon_reviews_datathon_2023")

```

but it does not work.

---

<div class="post-metadata">

**Author:** ![severo](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/severo/32/27449_2.png) [@severo](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fsevero)%5C
**Post date:** [July 31, 2023, 8:22pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhelp-loading-a-dataset-that-i-pushed-to-hub%2F48590%2F2 "2023-07-31T20:22:41Z")

</div>

I can’t access it on [https://huggingface.co/datasets/jjovalle99/amazon\_reviews\_datathon\_2023](https://huggingface.co/datasets/jjovalle99/amazon_reviews_datathon_2023). Is it private? In this case, you need to pass a token:

> **[Share a dataset to the Hub](https://huggingface.co/docs/datasets/v2.14.1/en/upload_dataset#privacy)**
>
> We’re on a journey to advance and democratize artificial intelligence through open source and open science.

---

<div class="post-metadata">

**Author:** ![LambdaChris](https://avatars.discourse-cdn.com/v4/letter/l/ea666f/32.png) [@LambdaChris](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2FLambdaChris)%5C
**Post date:** [August 1, 2023, 10:52am UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhelp-loading-a-dataset-that-i-pushed-to-hub%2F48590%2F3 "2023-08-01T10:52:59Z")

</div>

I have the same issue. If I make the dataset public it is loading without any problems but as soon as I put it private I get the following error message:

 ![image](https://us1.discourse-cdn.com/hellohellohello/original/3X/a/d/ad4caf25e0f840cabb2dab6bb42e39fbcd53ce80.png)

Using hf login function or passing a token to the load\_dataset function does not seem to help ((

`dataset = load_dataset('my_user/my_dataset', token=HF_TOKEN)`

So far I didn’t find any solution.

---

<div class="post-metadata">

**Author:** ![jjovalle99](https://sea2.discourse-cdn.com/hellohellohello/user_avatar/discuss.huggingface.co/jjovalle99/32/40313_2.png) [@jjovalle99](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Fu%2Fjjovalle99)%5C
**Post date:** [August 1, 2023, 1:20pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhelp-loading-a-dataset-that-i-pushed-to-hub%2F48590%2F4 "2023-08-01T13:20:32Z")

</div>

It seems to be bugged. Sometimes I can access it without any issues when using `from huggingface_hub import login`. However when it fails I have to restart kernel and then it works. I have had no luck with this using `token`.

---

<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:** [August 16, 2023, 2:39pm UTC](/static-proxy?url=https%3A%2F%2Fdiscuss.huggingface.co%2Ft%2Fhelp-loading-a-dataset-that-i-pushed-to-hub%2F48590%2F5 "2023-08-16T14:39:07Z")

</div>

Hi! We’ve published a patch release to fix the issue with `token` not being considered, so please update your `datasets` installations.
