---
title: "Interactively explore your Huggingface dataset with one line of code"
description: "Renumics Spotlight builds interactive visualizations directly on top of Hugging Face datasets, inferring data types and label mappings so a single spotlight.show(ds) call opens an inspection UI."
url: "https://swe.quest/articles/interactively-explore-your-huggingface-dataset-with-one-line-of-code-be90cdc319132a31"
canonical: "https://huggingface.co/blog/scalable-data-inspection"
source: "Hugging Face"
published: "2023-10-25"
difficulty: "medium"
kind: "How-to"
reading_minutes: 5
tags: ["machine-learning","python","developer-tools","computer-vision"]
---

# Interactively explore your Huggingface dataset with one line of code

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2023-10-25, 5 min read, How-to. Original: [https://huggingface.co/blog/scalable-data-inspection](https://huggingface.co/blog/scalable-data-inspection)

## Summary

Renumics Spotlight builds interactive visualizations directly on top of Hugging Face datasets, inferring data types and label mappings so a single spotlight.show(ds) call opens an inspection UI. Tabular columns are loaded into memory for client-side analytics while images, audio and video load lazily. Enriching a dataset with model predictions and embeddings, computed with a ViT model via transformers and ds.map, enables similarity maps and confusion-matrix layouts for finding failure clusters. Layouts can be defined through the Python API or hosted by duplicating a Hugging Face Space.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Machine learning](https://swe.quest/tags/machine-learning.md) (AI & ML)
- [Python](https://swe.quest/tags/python.md) (Languages)
- [Developer tools](https://swe.quest/tags/developer-tools.md) (Engineering practices)
- [Computer vision](https://swe.quest/tags/computer-vision.md) (AI & ML)

## Prerequisites

- Python ([easy posts on Python](https://swe.quest/tags/python.md?difficulty=easy))
- Hugging Face datasets library
- ML classification basics ([easy posts on Machine learning](https://swe.quest/tags/machine-learning.md?difficulty=easy))

## Keywords

Renumics Spotlight, Hugging Face datasets, transformers, CIFAR-100, ViT, Hugging Face Spaces

## Related posts

- [Hosting your Models and Datasets on Hugging Face Spaces using Streamlit](https://swe.quest/articles/hosting-your-models-and-datasets-on-hugging-face-spaces-using-streamlit-a8983f0b0bfbdd51.md): Hugging Face · 2021-10-05 · Medium · 3 min read · Python, Machine learning, Deployment
  Streamlit apps can showcase Hugging Face models and datasets and be hosted on Hugging Face Spaces.
- [Image search with 🤗 datasets](https://swe.quest/articles/image-search-with-datasets-7a6fd7ae6c6c63ce.md): Hugging Face · 2022-03-16 · Medium · 12 min read · Vector search, Computer vision, Python, Search
  A text-to-image search over 10,000 British Library book embellishments can be built by loading the images with the 🤗 datasets ImageFolder loader and embedding them with the CLIP ViT-B/32 model via sentence\_transformers.
- [Image Similarity with Hugging Face Datasets and Transformers](https://swe.quest/articles/image-similarity-with-hugging-face-datasets-and-transformers-cfa579cfca74f44c.md): Hugging Face · 2023-01-16 · Medium · 7 min read · Computer vision, Vector search, Search, Python
  An image similarity system can be built by embedding images with a fine-tuned Vision Transformer (CLS token from the last hidden state) and ranking candidates by cosine similarity against a query embedding.
- [The 5 Most Under-Rated Tools on Hugging Face](https://swe.quest/articles/the-5-most-under-rated-tools-on-hugging-face-d4091b1b4c6dbb61.md): Hugging Face · 2024-08-22 · Medium · 16 min read · ML platforms, Search, Data pipelines, Python
  Five overlooked Hugging Face Hub features (ZeroGPU, multi-process Docker Spaces, the Gradio API client, Hub webhooks and Nomic Atlas) can be combined into a free, automatically updating semantic search pipeline, demonstrated over a subreddit data source.
- [Introducing the Data Measurements Tool: an Interactive Tool for Looking at Datasets](https://swe.quest/articles/introducing-the-data-measurements-tool-an-interactive-tool-for-looking-at-28723606ed6df7ae.md): Hugging Face · 2021-11-29 · Easy · 7 min read · Machine learning, Model training, Python, Open source
  Hugging Face's Data Measurements Tool is an open-source Python library and no-code Streamlit interface for measuring, exploring and comparing NLP datasets on the Hub.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
