Table of Contents

Class SarcasmDetectionTrainingDataset

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

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

public sealed class SarcasmDetectionTrainingDataset : TrainingDataset
Inheritance
SarcasmDetectionTrainingDataset
Inherited Members

Remarks

The dataset uses the current SarcasmDetection configuration (model, prompts) to synthesize ShareGPT-style conversations in which the assistant returns whether the input is sarcastic.

Constructors

SarcasmDetectionTrainingDataset(SarcasmDetection)

Initializes a sarcasm-detection-focused training dataset bound to a specific SarcasmDetection engine instance.

Methods

AddSample(string, bool)

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

See Also