Dataset Workbench

Make the holdout before training

Keep related examples together and make the split easy to review.

By Ahmed Bin Khalid

Split by the thing that repeats

A random split is easy to run. I start by looking for repeated material. Revised versions of one document, prompts derived from the same template, and similar records from a single source can all cross the train-and-holdout boundary. Where possible, I use that underlying family as the unit of the split.

Inspect both sides

Before I train, I want to see the shape of both exports and open a few examples. I look for missing fields, duplicate examples, and groups that appear on both sides. Dataset Workbench supports a local workflow for preparing separate files and reviewing the output.

Use a second evaluation

A clean holdout tells me something about the population I built. An evaluation from outside that pipeline can expose a harder problem. In PySecPatch I keep the family-disjoint holdout and the external evaluation separate so a reader can tell what each result actually measures.

Project links