Table of Contents

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

modelPath string

Destination path for the merged model GGUF.

scale float

Adapter scale applied during the merge. Default 1.

Exceptions

FinetuningException

Training or merging failed.

Share