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
adapterPathstringDestination path for the adapter GGUF.
Exceptions
- ArgumentNullException
adapterPathis null or empty.- FinetuningException
Training failed or produced no adapter.