LoRAConfiguration

Options & Configuration · AiDotNet.Models.Options

LoRA configuration for parameter-efficient fine-tuning.

Constructors

Constructor Summary
LoRAConfiguration()

Properties

Property Summary
bool UseQuantization { get; set; } Gets or sets whether to use quantization (QLoRA).
double Dropout { get; set; } Gets or sets the LoRA dropout rate.
int Alpha { get; set; } Gets or sets the LoRA alpha scaling factor.
int QuantizationBits { get; set; } Gets or sets the quantization bits when UseQuantization is true.
int Rank { get; set; } Gets or sets the LoRA rank (r).
string BiasMode { get; set; } Gets or sets whether to use bias terms in LoRA layers.
string[] TargetModules { get; set; } Gets or sets which modules to apply LoRA to.