Skip to main content
A dataset is a versioned JSONL file of example rows, with no grader. SFT and DPO train on a dataset, which holds finished answers to learn from. GRPO and distillation train on a training environment: GRPO learns from its grader’s scores, and distillation takes only its prompts. A training run names its dataset with --data.

In This Section

Write Demonstration Rows

A demonstration row holds input and output:
A row can instead hold a messages list of chat turns, which Monte uses as it is:

Write Preference Rows

A preference row holds prompt, chosen, and rejected. prompt can be text or a list of chat turns.

Add a Dataset

The command checks every row against the format of its kind. A bad row stops the add, and the error names the line. Columns with other names map with the key flags, such as --input-key. Dataset Commands lists them. Each add makes a new immutable version in artifact storage: support-replies@1, then support-replies@2. A bare name means the newest version. A run records the exact version it trained on.

The Overlap Record

Every monte dataset add and monte env add --training compares the new rows with the tasks of every eval environment in artifact storage. The check compares the user turns of each new row with the user turns of every eval task. System messages and tool definitions are left out, because every task of an environment shares them. It finds text of 40 characters or more that matches exactly after case and whitespace are normalized. It does not find rewritten tasks.
  • A match with an eval that an experiment pins as held-out refuses the add with E_REFUSAL.
  • A match with any other eval completes the add and records the eval. monte train shows the record again when a run uses the data.
monte experiment create applies the same check to each held-out eval, against every training environment and dataset.

List and Show Datasets

monte dataset show prints the rows, origin, kind, and overlap record, and checks the rows against their hash.