agentsclimarketplace

Dataset audit

Skill boeschj/ml-intern-plugin/skills/dataset-audit

Audit a Hugging Face dataset before training or evaluation. Use before any training job, when choosing between datasets, or when a KeyError or format mismatch appears during training.From its SKILL.md

Install
npx -y skills add boeschj/ml-intern-plugin --skill dataset-audit

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

1.6 KB, 320 tokens by cl100k_base, as published. Nobody here has run it

Before working with any dataset, audit it. Do not assume you know what the data looks like, inspect it. Looking at data is the best way to boost model performance and the cheapest way to prevent failed jobs.

One call does the audit:

hf-dataset-inspect <repo_id> [--config C] [--split S] [--rows N]

It returns validity status, configs and splits, the schema, row counts, sample rows, and parquet info as one JSON object.

Check, in order:

  1. The dataset loads at all (status). If it does not, tell the user; never substitute a different dataset silently.
  2. Columns match the training method:
    • SFT: "messages", "text", or "prompt"/"completion"
    • DPO: "prompt", "chosen", "rejected"
    • GRPO: "prompt"
  3. Row counts per split are sane for the plan (enough for training, an eval split exists when evaluation is expected).
  4. Sample rows look right: read several end to end. Surface anything notable to the user: class imbalance, missing values, unexpected formats, duplicates, truncated text, license or gating surprises.

Private datasets and ones behind an access request need HF auth; if the inspect call reports an auth error, run /hf-doctor first.

Record the verified column names in your plan and assert them at the top of every training script. The audit is a prerequisite for /hf-jobs preflight; a job submitted against unverified columns is a wasted GPU hour.

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.