Table of Contents

Method TrySaveAdapterSnapshot

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

TrySaveAdapterSnapshot(string)

Saves the adapter's CURRENT weights to a GGUF file while training runs. Valid only from inside a FinetuningProgress handler (the trainer's own thread, between steps), which is exactly where best-checkpoint policies live. Returns false outside a run.

public bool TrySaveAdapterSnapshot(string adapterPath)

Parameters

adapterPath string

Returns

bool
Share