Table of Contents

Method TrainToAdapter

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

TrainToAdapter(string)

Runs fine-tuning and writes the trained LoRA adapter as a GGUF file.

public void TrainToAdapter(string adapterPath)

Parameters

adapterPath string

Destination path for the adapter GGUF.

Exceptions

ArgumentNullException

adapterPath is null or empty.

FinetuningException

Training failed or produced no adapter.

Share