Perplexity (source code)

= Perplexity
{wiki=Perplexity}

Perplexity is a measurement used in various fields, particularly in information theory and natural language processing, to quantify uncertainty or complexity. In the context of language models, perplexity is often used as a metric to evaluate how well a probability model predicts a sample.