Constructor LoraFinetuning
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
LoraFinetuning(LM, FinetuningIntent)
Initializes a new instance of the LoraFinetuning class using a specified model.
public LoraFinetuning(LM model, FinetuningIntent finetuningIntent = FinetuningIntent.Undefined)
Parameters
modelLMThe model to be fine-tuned. This should be an instance of the Model class specifying the LM model.
finetuningIntentFinetuningIntentThe intent behind the fine-tuning operation. This parameter specifies the purpose of the fine-tuning and can be set to Undefined, StylisticGuidance, or KnowledgeUpdate. The default value is Undefined.
Exceptions
LoraFinetuning(string, FinetuningIntent)
Initializes a new instance of the LoraFinetuning class using specified paths.
public LoraFinetuning(string modelPath, FinetuningIntent finetuningIntent = FinetuningIntent.Undefined)
Parameters
modelPathstringPath to the model file to be fine-tuned.
finetuningIntentFinetuningIntentThe intent behind the fine-tuning operation. This parameter specifies the purpose of the fine-tuning and can be set to Undefined, StylisticGuidance, or KnowledgeUpdate. The default value is Undefined.