Training datasets
A training dataset is a file set your deployment builds from the signals in LightHouse™’s Reinforcement area: the outputs people approved, rejected or edited, evaluation results, and retrieval feedback. It is the input to fine-tuning, preference tuning and retrieval training in your own environment.
The dataset is built in your deployment, redacted there and written to your own storage. LightHouse holds the request, your settings and the manifest’s counts and hashes. No row of a dataset reaches Atlantic.
The three kinds
Section titled “The three kinds”| Kind | What a row holds | Made from |
|---|---|---|
| Supervised fine-tuning (SFT) | A conversation, with the approved or edited answer as the assistant’s turn | Approved outputs, and edits (the edit is the target) |
| Preference pairs | A prompt with a chosen and a rejected answer | An edit against its original; an approved against a rejected output for the same input; an evaluation’s pass against its fail on the same input |
| Retrieval pairs | A query, a passage that answered it, and passages that did not | Passages cited by an approved answer, and retrieval feedback; passages retrieved but not cited are the negatives |
Each row records where it came from: the source records, the agent, the use case, and the prompt version and model that produced the original output. A row can be traced back to the decision that made it.
Off by default
Section titled “Off by default”Export is off for every tenant until your organisation switches it on, and three switches must all allow it:
- The export settings in LightHouse. A client administrator allows training dataset export, names the use cases it may cover and names the destination. The change is recorded in the audit log.
- The
dataset.exportcommand in your tenant’s command settings (Setup and admin → Commands). Like every handler command, it is off by default. See Both sides must allow. - Your deployment’s own policy, which must allow the command. The policy can also narrow the dataset kinds and the destinations allowed. It can never widen what LightHouse allows.
Atlantic cannot switch any of these on for you.
Recursive loops, which improve prompts, templates and agents from recorded outcomes, use no training dataset and train no model.
Your own storage only
Section titled “Your own storage only”A dataset is written only to storage your organisation owns: an Amazon S3 bucket, a Google Cloud Storage bucket, an Azure Blob Storage container, or a path on your deployment’s own file system. Your deployment writes it with its own identity. On Amazon S3, every write is encrypted with a key your organisation names.
LightHouse and your deployment both refuse any destination that is Atlantic’s storage, and any web address. Each file is written once and never replaced. If no row survives redaction and the filters, nothing is written.
Redaction before anything is written
Section titled “Redaction before anything is written”Every text in every row is screened in your deployment before the dataset is written:
- A record that carries a credential is dropped, not masked. A model trained on the text around a key learns where keys go.
- Personal data is masked and the row is kept. Email addresses, bank account numbers, card numbers, IP addresses and telephone numbers are replaced by a placeholder. No mapping back to the original is kept.
- Records that are malformed, empty after cleaning or too large are dropped, with any outside the filters of the export.
Every dropped record is counted by reason, and the number of masked rows is recorded. The counts are in the report beside the dataset and in what LightHouse is told.
The manifest and the report
Section titled “The manifest and the report”Each export is a folder in your storage holding:
- The data files, in JSON Lines.
manifest.json, written after the data files: the dataset’s kind, each file with its row count and SHA-256 hash, and one hash over the whole content. A reader never finds a manifest whose files are not all present.export-report.json: the filters, the time window, the redaction summary and the manifest’s own hash.
The engine’s training jobs verify a dataset against its manifest before they start, and refuse one whose files, row counts or hashes do not match, whose rows do not have their kind’s shape, or whose redaction is not recorded.
What LightHouse sees
Section titled “What LightHouse sees”LightHouse keeps only the manifest’s summary: the kind, the destination, the row and file counts, the file names and hashes, the signal counts and the redaction counts. It never receives a row. This holds whatever your telemetry setting, including content export: a training dataset export is never a telemetry stream.
The request and the finished export are both entries in your tenant’s audit log, beside the command’s own entries.
Switch it on and export
Section titled “Switch it on and export”In LightHouse
Section titled “In LightHouse”- As a client administrator, open Reinforcement and go to the Training datasets panel.
- Under Export settings, select Allow training dataset export, enter the use cases (identifiers separated by commas, or
*for every use case) and the destination, then select Save settings. - Switch on
dataset.exportat Setup and admin → Commands, and make sure your deployment’s policy allows it. - As a handler, choose the dataset (SFT, preference pairs or retrieval pairs) and the use case, then select Export dataset. As for every handler command, the request is issued by a named person signed in with a second factor.
The panel shows what the signals of the last 90 days could make for each kind of dataset, as an upper bound: your deployment drops what fails redaction or the filters. Recent exports lists each export with its row count and status.
From the command line
Section titled “From the command line”lighthouse-ai datasets settingslighthouse-ai datasets signalslighthouse-ai datasets export --kind preference --use-case claims-triage --reason "Preference tuning for the triage assistant"lighthouse-ai datasets exportslighthouse-ai datasets show <export id>Exporting needs the handler role, export switched on for the use case, dataset.export switched on, and a sign-in with the datasets scope. See the CLI.
From a dataset to a trained model
Section titled “From a dataset to a trained model”An exported dataset is the input to the engine’s training module, which trains on Amazon SageMaker, NVIDIA NeMo or a local runner in your own environment. A trained model reaches live traffic only after the promotion gate passes, or an approval in LightHouse overrides it. See Training and distillation.