RedditFederatedBenchmarkOptions

Options & Configuration · AiDotNet.Configuration

Configuration options for running the Reddit federated benchmark suite.

For Beginners

You provide the train/test JSON files, and AiDotNet loads the per-user partitions, builds a vocabulary (with safe defaults), and evaluates your model on a standardized next-token task.

How It Works

Reddit is a large-scale federated text benchmark. This suite uses a token-sequence formulation (next-token prediction) and evaluates models without exposing model internals.

Constructors

Constructor Summary
RedditFederatedBenchmarkOptions()

Properties

Property Summary
LeafFederatedDatasetLoadOptions LoadOptions { get; set; } Gets or sets load options controlling how many users/clients are loaded.
int? MaxSamplesPerUser { get; set; } Gets or sets the maximum number of samples to use per user/client (null uses all available).
int? MaxVocabularySize { get; set; } Gets or sets the maximum vocabulary size used for token-to-ID mapping.
int? SequenceLength { get; set; } Gets or sets the fixed token sequence length used as model input.
int? VocabularyTrainingSampleCount { get; set; } Gets or sets the maximum number of sequences used to build the default vocabulary.
string TestFilePath { get; set; } Gets or sets the optional path to the Reddit test split JSON file.
string TrainFilePath { get; set; } Gets or sets the path to the Reddit train split JSON file.