lm_polygraph.estimators.csl module

class lm_polygraph.estimators.csl.CSL[source]

Bases: Estimator

CSL (Contextualized Sequence Likelihood) from https://aclanthology.org/2024.emnlp-main.578/

This estimator quantifies uncertainty in LLM outputs by reweighting token logits