capabilities.work

Dataset Validate and Preview

A 3-step recipe with Hugging Face. We can help you get access.

Recipe · 3 steps

Dataset Validate and Preview

Validate a dataset, discover its first split, and preview its first rows.

  1. Check whether the dataset is processed by the viewer and previewable. Branches to split discovery only when preview is available.
  2. List the subsets (configs) and splits for the dataset and take the first split as the preview target.
  3. Fetch the first rows of the selected subset and split to inspect the dataset's feature schema and sample content.
What you'll need to have ready
  • hfToken: Hugging Face access token used as a Bearer credential.
  • dataset: The dataset id on the Hugging Face Hub (e.g. squad).
For your developer

Arazzo workflow hugging-face:dataset-validate-and-preview, 3 operations: isValid → getSplits → getFirstRows. Specs on APIs.io.