.txt file with one tab-separated record:
- a pair
anchor<TAB>positive— two texts that should embed close together, or - a triplet
anchor<TAB>positive<TAB>negative— with a hard negative that should embed far from the anchor.
Folder layout
- The folder is named
textsand sits next to the manifest CSV. - Exactly one tab between fields, all fields non-empty, one record per file on a single line. Unlike the other self-supervised text tasks, this structure is enforced.
- UTF-8 encoded; one extension across the dataset (
.txtby default).
Manifest CSV
There is no label column. Setting
label: in ingest.yaml is rejected.
ingest.yaml
What the ingestor checks
Plus the checks every ingest runs, except label diversity (no label).
Sample dataset
The template ships three pairs and two triplets with a five-row manifest. Theingest.yaml above ingests it with no overrides.
Next steps
- Stage the data and run the ingest: Prepare Data
- Shared rules for every template: Dataset templates