Method TrainToModel
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
TrainToModel(string, float)
Runs fine-tuning, then merges the trained adapter into the base model and writes the result as a standalone GGUF model.
public void TrainToModel(string modelPath, float scale = 1)
Parameters
modelPathstringDestination path for the merged model GGUF.
scalefloatAdapter scale applied during the merge. Default 1.
Exceptions
- FinetuningException
Training or merging failed.