https://github.com/huggingface/dataset-viewer
Backend that powers the dataset viewer on Hugging Face dataset pages through a public API.
https://github.com/huggingface/dataset-viewer
api-rest data datasets huggingface machine-learning nlp
Last synced: 4 months ago
JSON representation
Backend that powers the dataset viewer on Hugging Face dataset pages through a public API.
- Host: GitHub
- URL: https://github.com/huggingface/dataset-viewer
- Owner: huggingface
- License: apache-2.0
- Created: 2021-07-26T09:00:53.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2025-10-14T14:05:02.000Z (4 months ago)
- Last Synced: 2025-10-14T14:47:30.980Z (4 months ago)
- Topics: api-rest, data, datasets, huggingface, machine-learning, nlp
- Language: Python
- Homepage: https://huggingface.co/docs/dataset-viewer
- Size: 27.4 MB
- Stars: 810
- Watchers: 34
- Forks: 96
- Open Issues: 153
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Security: SECURITY.md
- Authors: AUTHORS
Awesome Lists containing this project
- Awesome-Local-LLM - _Git_ - viewer/index) (Datasets)
README
# Dataset viewer
The dataset page includes a table with the dataset's contents, arranged by pages of 100 rows. You can navigate between pages using the buttons at the bottom of the table, filter, search, look at basic statistics, and more.

This repository is the backend that provides the dataset viewer with pre-computed data through an API, for all the datasets on the Hub. The frontend viewer component is not part of this repository and is not open-source, as the rest of the Hub.
Documentation:
- dataset viewer: https://huggingface.co/docs/hub/datasets-viewer
- configuration of the datasets: https://huggingface.co/docs/hub/datasets-data-files-configuration
- backend's API: https://huggingface.co/docs/dataset-viewer
## You saw a bug 🪲 or want a new feature 🎁
If the dataset viewer is showing an error on your dataset page, please [open a discussion](https://huggingface.co/docs/hub/repositories-pull-requests-discussions) there, it's the most efficient way to fix it. Tag [`@lhoestq`](https://huggingface.co/lhoestq), [`@asoria`](https://huggingface.co/asoria) or [`@albertvillanova`](https://huggingface.co/albertvillanova) in the discussion to reach the team directly.
If you identify a bigger error and think the dataset viewer has a bug, or if you want to ask for a new feature, please [open a new issue](https://github.com/huggingface/dataset-viewer/issues/new) here.
## Contribute 🤝
You can help by giving ideas, answering questions, reporting bugs, proposing enhancements, improving the documentation, and fixing bugs. See [CONTRIBUTING.md](./CONTRIBUTING.md) for more details.
To install this backend and start contributing to the code, see [DEVELOPER_GUIDE.md](./DEVELOPER_GUIDE.md)
## Community 🤗
You can star and watch this [GitHub repository](https://github.com/huggingface/dataset-viewer) to follow the updates.
You can ask for help or answer questions on the [Forum](https://discuss.huggingface.co/c/datasets/10) and [Discord](https://discord.com/channels/879548962464493619/1019883044724822016).
You can also report bugs and propose enhancements on the code, or the documentation, in the [GitHub issues](https://github.com/huggingface/dataset-viewer/issues).