Hugging Face Datasets
Prefer the read-only Dataset Viewer API for discovery and validation. Use Cybara's http tool so responses remain structured and visible in the chat.
Read-only workflow
- Validate the dataset with
GET https://datasets-server.huggingface.co/is-valid?dataset=<id>. - Resolve subsets and splits through
/splits. - Inspect representative records with
/first-rows. - Paginate
/rowswith a zero-basedoffsetandlengthno greater than 100. - Use
/searchfor text and/filterfor predicates instead of downloading the full dataset. - Inspect
/size,/statistics, and/parquetbefore training or bulk processing.
URL-encode dataset IDs, subset names, split names, queries, and predicates. Add Authorization: Bearer <token> only for a gated or private dataset, and never expose the token in output.
Training readiness
Before proposing a training run, report:
- dataset ID, revision, subset, and split
- row count and relevant columns
- a small redacted sample
- missing, malformed, duplicate, or unexpectedly long records
- license, gating, and provenance constraints visible in the dataset card
- the exact mapping required by the selected trainer
For SFT, verify text, conversational messages, or prompt-completion records. For preference training, verify prompt, chosen, and rejected values. For reward or RL workflows, verify the expected prompt and reward inputs.
Cybara Lab can export hf_session_trace data. Validate and redact that export before uploading it as a dataset.
Uploading, changing visibility, or deleting a dataset is an external side effect. Confirm the destination repository and affected files immediately before the write.