Dataset Viewer issue for boris/gis_filtered
COLLABORATOR
Yes, this dataset is "gated": you first have to go to https://huggingface.co/datasets/boris/gis_filtered and click "Access repository" (if you accept to share your contact information with the repository authors).
2022-06-30T12:33:07Z
https://github.com/huggingface/datasets/issues/4605#issuecomment-1171162996
https://api.github.com/repos/huggingface/datasets/issues/4605
IC_kwDODunzps5Fzod0
https://api.github.com/repos/huggingface/datasets/issues/comments/1171162996/reactions
2022-06-30T12:33:07Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1171162996
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
NONE
I already did that, it returns error when using streaming
2022-06-30T13:00:51Z
https://github.com/huggingface/datasets/issues/4605#issuecomment-1171190766
https://api.github.com/repos/huggingface/datasets/issues/4605
IC_kwDODunzps5FzvPu
https://api.github.com/repos/huggingface/datasets/issues/comments/1171190766/reactions
2022-06-30T13:00:51Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1171190766
https://avatars.githubusercontent.com/u/41203448?v=4
https://api.github.com/users/WaterKnight1998/events{/privacy}
https://api.github.com/users/WaterKnight1998/followers
https://api.github.com/users/WaterKnight1998/following{/other_user}
https://api.github.com/users/WaterKnight1998/gists{/gist_id}
https://github.com/WaterKnight1998
WaterKnight1998
MDQ6VXNlcjQxMjAzNDQ4
https://api.github.com/users/WaterKnight1998/orgs
https://api.github.com/users/WaterKnight1998/received_events
https://api.github.com/users/WaterKnight1998/repos
https://api.github.com/users/WaterKnight1998/starred{/owner}{/repo}
https://api.github.com/users/WaterKnight1998/subscriptions
User
https://api.github.com/users/WaterKnight1998
public
COLLABORATOR
Oh, sorry, I misread. Looking at it. Maybe @huggingface/datasets or @SBrandeis 
2022-06-30T13:29:47Z
https://github.com/huggingface/datasets/issues/4605#issuecomment-1171222506
https://api.github.com/repos/huggingface/datasets/issues/4605
IC_kwDODunzps5Fz2_q
https://api.github.com/repos/huggingface/datasets/issues/comments/1171222506/reactions
2022-06-30T13:29:47Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1171222506
https://avatars.githubusercontent.com/u/1676121?v=4
https://api.github.com/users/severo/events{/privacy}
https://api.github.com/users/severo/followers
https://api.github.com/users/severo/following{/other_user}
https://api.github.com/users/severo/gists{/gist_id}
https://github.com/severo
severo
MDQ6VXNlcjE2NzYxMjE=
https://api.github.com/users/severo/orgs
https://api.github.com/users/severo/received_events
https://api.github.com/users/severo/repos
https://api.github.com/users/severo/starred{/owner}{/repo}
https://api.github.com/users/severo/subscriptions
User
https://api.github.com/users/severo
public
MEMBER
I could reproduce the error, even though I provided my token and accepted the gate form. It looks like an error from `datasets`
2022-06-30T14:41:51Z
https://github.com/huggingface/datasets/issues/4605#issuecomment-1171307653
https://api.github.com/repos/huggingface/datasets/issues/4605
IC_kwDODunzps5F0LyF
https://api.github.com/repos/huggingface/datasets/issues/comments/1171307653/reactions
2022-06-30T14:43:55Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1171307653
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
MEMBER
This is indeed a bug in `datasets`. Parquet datasets in gated/private repositories can't be streamed properly, which caused the viewer to fail. I opened a PR at https://github.com/huggingface/datasets/pull/4608
2022-06-30T15:24:06Z
https://github.com/huggingface/datasets/issues/4605#issuecomment-1171357278
https://api.github.com/repos/huggingface/datasets/issues/4605
IC_kwDODunzps5F0X5e
https://api.github.com/repos/huggingface/datasets/issues/comments/1171357278/reactions
2022-06-30T15:24:06Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1171357278
https://avatars.githubusercontent.com/u/42851186?v=4
https://api.github.com/users/lhoestq/events{/privacy}
https://api.github.com/users/lhoestq/followers
https://api.github.com/users/lhoestq/following{/other_user}
https://api.github.com/users/lhoestq/gists{/gist_id}
https://github.com/lhoestq
lhoestq
MDQ6VXNlcjQyODUxMTg2
https://api.github.com/users/lhoestq/orgs
https://api.github.com/users/lhoestq/received_events
https://api.github.com/users/lhoestq/repos
https://api.github.com/users/lhoestq/starred{/owner}{/repo}
https://api.github.com/users/lhoestq/subscriptions
User
https://api.github.com/users/lhoestq
public
### Link

https://huggingface.co/datasets/boris/gis_filtered/viewer/boris--gis_filtered/train

### Description

When I try to access this from the website I get this error:

Status code:   400
Exception:     ClientResponseError
Message:       401, message='Unauthorized', url=URL('https://huggingface.co/datasets/boris/gis_filtered/resolve/80b805053ce61d4eb487b6b8d9095d775c2c466e/data/train/0000.parquet')

If I try to load with code I also get the same issue: 
```python
dataset2_train=load_dataset("boris/gis_filtered", use_auth_token=os.environ["HF_TOKEN"],split="train",streaming=True)
dataset2_validation=load_dataset("boris/gis_filtered", use_auth_token=os.environ["HF_TOKEN"], split="validation",streaming=True)
```

### Owner

No