Table of Contents

Method SaveLoraCheckpoint

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

SaveLoraCheckpoint(string)

Saves a checkpoint of the current LoRA training state to the specified path.

public void SaveLoraCheckpoint(string loraCheckpointPath)

Parameters

loraCheckpointPath string

The destination path where the LoRA checkpoint will be saved.

Remarks

This method saves the current state of the LoRA training session to a specified path, allowing you to preserve and resume training later.

The saved training checkpoint can be converted to a LoRA adapter using the CheckpointToLora(LLM, string, string) static method.

Additionally, the saved checkpoint can be used to resume a training session by setting the TrainingCheckpoint property.

Exceptions

ArgumentNullException

Thrown when loraCheckpointPath is null or empty.