Table of Contents

Class SentimentAnalysisTrainingDataset

Namespace
LMKit.TextAnalysis.Training
Assembly
LM-Kit.NET.dll

Training dataset builder specialized for the SentimentAnalysis engine. Converts labeled sentiment examples into ChatTrainingSample items suitable for supervised fine-tuning.

public sealed class SentimentAnalysisTrainingDataset : TrainingDataset
Inheritance
SentimentAnalysisTrainingDataset
Inherited Members

Remarks

The dataset uses the current SentimentAnalysis configuration (model, prompts, and label space) to synthesize ShareGPT-style conversations in which the assistant returns the target sentiment label.

Constructors

SentimentAnalysisTrainingDataset(SentimentAnalysis)

Initializes a sentiment-analysis-focused training dataset bound to a specific SentimentAnalysis engine instance.

Methods

AddSample(string, SentimentCategory)

Adds a training sample from raw text labeled with the expected sentiment.

See Also