FederatedDPOOptions
Options & Configuration · AiDotNet.FederatedLearning.Alignment
Configuration options for Federated DPO.
Constructors
| Constructor | Summary |
|---|---|
FederatedDPOOptions() |
Properties
| Property | Summary |
|---|---|
bool UseLoRA { get; set; } |
Gets or sets whether to use LoRA for DPO training. |
double Beta { get; set; } |
Gets or sets the DPO temperature (beta). |
double LearningRate { get; set; } |
Gets or sets the learning rate for DPO training. |
int LoRARank { get; set; } |
Gets or sets the LoRA rank if UseLoRA is true. |
int LocalEpochs { get; set; } |
Gets or sets the number of local DPO epochs per round. |