OpenFedLLMOptions

Options & Configuration · AiDotNet.FederatedLearning.Alignment

Configuration options for the OpenFedLLM pipeline.

Constructors

Constructor Summary
OpenFedLLMOptions()

Properties

Property Summary
bool UseDPO { get; set; } Gets or sets whether to use DPO (true) or RLHF (false) for alignment.
double AlignmentLR { get; set; } Gets or sets the learning rate for alignment.
double InstructionTuningLR { get; set; } Gets or sets the learning rate for instruction tuning.
int AlignmentRounds { get; set; } Gets or sets the number of alignment rounds.
int InstructionTuningRounds { get; set; } Gets or sets the number of instruction tuning rounds.
int LoRARank { get; set; } Gets or sets the LoRA rank for instruction tuning.