Table of Contents

Class LoraAdapterSource

Namespace
LMKit.Finetuning
Assembly
LM-Kit.NET.dll

Represents a source for a LoRA adapter.

public class LoraAdapterSource
Inheritance
LoraAdapterSource
Inherited Members

Constructors

LoraAdapterSource(string, float)

Initializes a new instance of the LoraAdapterSource class with the specified path and scale.

Properties

Path

Gets the path to the LoRA adapter source.

Scale

Gets the scale factor for the LoRA adapter source.

Methods

ValidateFormat(string, bool)

Validates the model file to ensure it conforms to the LoRA adapter formats supported by LM-Kit, including its header and overall structure.