PerplexityFilterOptions

Options & Configuration · AiDotNet.Data.Quality

Configuration options for perplexity-based text quality filtering.

Constructors

Constructor Summary
PerplexityFilterOptions()

Properties

Property Summary
double MaxPerplexity { get; set; } Maximum perplexity threshold.
double MinPerplexity { get; set; } Minimum perplexity threshold.
double SmoothingFactor { get; set; } Smoothing factor for unseen n-grams.
int NGramOrder { get; set; } N-gram order for the language model.

Methods

Method Summary
void Validate() Validates that all option values are within acceptable ranges.