Skip to main content
You can organize your data in two ways:
  • Single Dataset: All files in one input directory
  • Multiple Subsets: Files organized in separate subdirectories

Setting Up Your Dataset

Option 1: Single Dataset Setup

Place all your data files in one directory:

Option 2: Multiple Subsets Setup

Organize files into subdirectories that represent different subsets:

Configuration Options

Basic Configuration

Your configuration file needs these essential parameters:

Defining Data Splits

You can split your dataset in two ways:
  1. Data Splits Only - Divide your data into train/validation/test sets:
  1. Context Splits Only - Split by maximum sequence length:
  1. Combined Splits - Split by both data type and sequence length:

Multiple Subsets Configuration

To process multiple subsets, add this to your configuration:

How Splitting Works

Random Sampling Process

The system uses deterministic random sampling to assign documents to splits:
  1. For data splits: Each document is randomly assigned to train/val/test based on the split_fraction values
  2. For context splits: Each document is assigned a maximum sequence length from the MSL_List based on split_fractions
  3. For combined splits: A two-level sampling process first assigns the data split, then the context length
For reproducibility, all sampling uses a fixed random seed that you can set:

Output Structure

After processing, your output directory will contain: For a single dataset:
For multiple subsets:

Complete Configuration Example