Class LoraAdapter
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
Represents a LoRA adapter that applies low-rank adaptation weights to a language model.
public sealed class LoraAdapter
- Inheritance
-
LoraAdapter
- Inherited Members
Properties
- Identifier
Gets the unique identifier of this LoRA adapter, typically derived from its file name.
- Path
Gets the file system path to the LoRA adapter weights file.
- Scale
Gets or sets the scaling factor applied to the LoRA weights when adapting the model. Values are clamped to zero or higher. Setting this value to 0 disables the adapter during subsequent inference processes.