Table of Contents

Property UseEmbeddingClassifier

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

UseEmbeddingClassifier

Gets or sets a value indicating whether the classifier should utilize embedding strategy instead of completion.

public bool UseEmbeddingClassifier { get; set; }

Property Value

bool

true if the embedding classifier should be used; otherwise, false.

Examples

// Enable embedding classifier
sarcasmDetector.UseEmbeddingClassifier = true;

Remarks

Using embeddings can improve performance for certain models and use cases.