Method LoadTrainingDataFromChatHistory
- Namespace
- LMKit.Finetuning
- Assembly
- LM-Kit.NET.dll
LoadTrainingDataFromChatHistory(ChatHistory)
Loads a training dataset from a ChatHistory object. Extracts training data from a provided ChatHistory object and prepares it for the training process.
public int LoadTrainingDataFromChatHistory(ChatHistory trainDataChatHistory)
Parameters
trainDataChatHistory
ChatHistoryAn instance of the ChatHistory class containing the chat history to be used as training data.
Returns
- int
The number of loaded training samples.