huggingface-datasets

Access Hugging Face Dataset Viewer API for metadata and row extraction.

2|Updated Mar 29, 2026
One-click install
npx skills add https://github.com/NagyVikt/codex-plugins --skill huggingface-datasets-nagyvikt
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: huggingface-datasets
Source: https://github.com/NagyVikt/codex-plugins/tree/main/plugins/hugging-face/skills/datasets
Command: npx skills add https://github.com/NagyVikt/codex-plugins --skill huggingface-datasets-nagyvikt

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill solves the complexity of interacting with the Hugging Face Dataset Viewer API, allowing users to programmatically explore, filter, and extract data from massive open-source datasets without manual browser navigation.

Core Features & Use Cases

  • Dataset Exploration: Validate dataset availability and list splits, subsets, and parquet shards.
  • Data Extraction: Paginate through rows, apply search queries, and filter data using predicates.
  • SQL Integration: Generate parquet URLs for high-performance SQL querying via parquetlens.
  • Use Case: A researcher needs to extract specific text samples from a large training set; this skill automates the pagination and filtering process to retrieve the exact rows required for analysis.

Quick Start

Use the huggingface-datasets skill to list all splits and preview the first hundred rows of the stanfordnlp/imdb dataset.

Frequently Asked Questions about huggingface-datasets

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract rows from Hugging Face datasets programmatically?

Hugging Face dataset extraction works by paginating through rows, applying text searches, and using predicate-based filtering via the Dataset Viewer API to retrieve specific rows from parquet-backed repositories.

What is predicate-based filtering for machine learning datasets?

Predicate-based filtering for machine learning datasets is a mechanism to query and extract specific row-level data by applying logical conditions via the Dataset Viewer API, enabling precise data extraction without manual browser navigation.

Can I query Hugging Face parquet files using SQL?

You can query Hugging Face parquet files using SQL by generating parquet URLs for high-performance SQL querying, enabling seamless integration with SQL-based tools for efficient data export and analysis.

How do I list available splits and subsets for a Hugging Face dataset?

You list available splits and subsets for a Hugging Face dataset by validating dataset availability and discovering splits, subsets, and parquet shards programmatically through the Dataset Viewer API.

Does the Hugging Face Dataset Viewer API support text searching across large-scale datasets?

The Hugging Face Dataset Viewer API does support text searching across large-scale machine learning datasets, allowing users to find specific text samples and automate the filtering process for analysis.