Offline dataset viewer
COLLABORATOR
Hi, thanks for the suggestion. It's not possible at the moment. The viewer is part of the Hub codebase and only works on public datasets. Also, it relies on [Datasets Server](https://github.com/huggingface/datasets-server/), which prepares the data and provides an API to access the rows, size, etc.

If you're interested in hosting your data as a private dataset on the Hub, you might want to look at https://github.com/huggingface/datasets-server/issues/39.
2023-08-10T14:37:20Z
https://github.com/huggingface/datasets/issues/6139#issuecomment-1673347258
https://api.github.com/repos/huggingface/datasets/issues/6139
IC_kwDODunzps5jvUC6
https://api.github.com/repos/huggingface/datasets/issues/comments/1673347258/reactions
2023-08-10T14:37:38Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1673347258
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
Hi, we are building an offline dataset viewer: https://github.com/Renumics/spotlight
It supports many HF datasets, but currently you have to use it via Pandas:
df=ds.to_pandas()
spotlight.show(df)

Would love to hear from you if that works for your use case. If not, feel free to open an issue on the repo: https://github.com/Renumics/spotlight/issues
2023-08-26T18:13:06Z
https://github.com/huggingface/datasets/issues/6139#issuecomment-1694426849
https://api.github.com/repos/huggingface/datasets/issues/6139
IC_kwDODunzps5k_ubh
https://api.github.com/repos/huggingface/datasets/issues/comments/1694426849/reactions
2023-08-26T18:13:06Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1694426849
https://avatars.githubusercontent.com/u/6650719?v=4
https://api.github.com/users/ssuwelack/events{/privacy}
https://api.github.com/users/ssuwelack/followers
https://api.github.com/users/ssuwelack/following{/other_user}
https://api.github.com/users/ssuwelack/gists{/gist_id}
https://github.com/ssuwelack
ssuwelack
MDQ6VXNlcjY2NTA3MTk=
https://api.github.com/users/ssuwelack/orgs
https://api.github.com/users/ssuwelack/received_events
https://api.github.com/users/ssuwelack/repos
https://api.github.com/users/ssuwelack/starred{/owner}{/repo}
https://api.github.com/users/ssuwelack/subscriptions
User
https://api.github.com/users/ssuwelack
public
NONE
@ssuwelack thank you! I will definitely try it out.
2023-08-26T19:30:39Z
https://github.com/huggingface/datasets/issues/6139#issuecomment-1694487213
https://api.github.com/repos/huggingface/datasets/issues/6139
IC_kwDODunzps5k_9Kt
https://api.github.com/repos/huggingface/datasets/issues/comments/1694487213/reactions
2023-08-26T19:30:39Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1694487213
https://avatars.githubusercontent.com/u/57996478?v=4
https://api.github.com/users/yuvalkirstain/events{/privacy}
https://api.github.com/users/yuvalkirstain/followers
https://api.github.com/users/yuvalkirstain/following{/other_user}
https://api.github.com/users/yuvalkirstain/gists{/gist_id}
https://github.com/yuvalkirstain
yuvalkirstain
MDQ6VXNlcjU3OTk2NDc4
https://api.github.com/users/yuvalkirstain/orgs
https://api.github.com/users/yuvalkirstain/received_events
https://api.github.com/users/yuvalkirstain/repos
https://api.github.com/users/yuvalkirstain/starred{/owner}{/repo}
https://api.github.com/users/yuvalkirstain/subscriptions
User
https://api.github.com/users/yuvalkirstain
public
COLLABORATOR
Related issues:
- https://github.com/huggingface/datasets-server/issues/213
- https://github.com/huggingface/datasets-server/issues/441
- https://github.com/huggingface/datasets/issues/6014
2023-09-25T12:02:14Z
https://github.com/huggingface/datasets/issues/6139#issuecomment-1733531502
https://api.github.com/repos/huggingface/datasets/issues/6139
IC_kwDODunzps5nU5du
https://api.github.com/repos/huggingface/datasets/issues/comments/1733531502/reactions
2023-09-25T12:02:14Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1733531502
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
COLLABORATOR
Closing for now, as developing and maintaining an offline viewer is not planned.
2023-09-29T13:10:22Z
https://github.com/huggingface/datasets/issues/6139#issuecomment-1740874763
https://api.github.com/repos/huggingface/datasets/issues/6139
IC_kwDODunzps5nw6QL
https://api.github.com/repos/huggingface/datasets/issues/comments/1740874763/reactions
2023-09-29T13:10:22Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1740874763
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
COLLABORATOR
@yuvalkirstain the dataset viewer is now available on private datasets for [PRO users](https://huggingface.co/pricing#pro) and [Enterprise Hub orgs](https://huggingface.co/enterprise). Would it fit your needs?
2024-02-13T12:22:54Z
https://github.com/huggingface/datasets/issues/6139#issuecomment-1941395967
https://api.github.com/repos/huggingface/datasets/issues/6139
IC_kwDODunzps5zt1n_
https://api.github.com/repos/huggingface/datasets/issues/comments/1941395967/reactions
2024-02-13T12:22:54Z
https://api.github.com/repos/huggingface/datasets/issues/comments/1941395967
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
Hi @ssuwelack I tried loading a HF dataset with your viewer but got this error https://github.com/Renumics/spotlight/issues/461 hope the team can help me on this. Thanks!
2024-09-24T18:36:34Z
https://github.com/huggingface/datasets/issues/6139#issuecomment-2372024819
https://api.github.com/repos/huggingface/datasets/issues/6139
IC_kwDODunzps6NYjnz
https://api.github.com/repos/huggingface/datasets/issues/comments/2372024819/reactions
2024-09-24T18:36:34Z
https://api.github.com/repos/huggingface/datasets/issues/comments/2372024819
https://avatars.githubusercontent.com/u/11172180?v=4
https://api.github.com/users/laubonghaudoi/events{/privacy}
https://api.github.com/users/laubonghaudoi/followers
https://api.github.com/users/laubonghaudoi/following{/other_user}
https://api.github.com/users/laubonghaudoi/gists{/gist_id}
https://github.com/laubonghaudoi
laubonghaudoi
MDQ6VXNlcjExMTcyMTgw
https://api.github.com/users/laubonghaudoi/orgs
https://api.github.com/users/laubonghaudoi/received_events
https://api.github.com/users/laubonghaudoi/repos
https://api.github.com/users/laubonghaudoi/starred{/owner}{/repo}
https://api.github.com/users/laubonghaudoi/subscriptions
User
https://api.github.com/users/laubonghaudoi
public
### Feature request

The dataset viewer feature is very nice. It enables to the user to easily view the dataset. However, when working for private companies we cannot always upload the dataset to the hub. Is there a way to create dataset viewer offline? I.e. to run a code that will open some kind of html or something that makes it easy to view the dataset.

### Motivation

I want to easily view my dataset even when it is hosted locally.

### Your contribution

N.A.