lm_polygraph.stat_calculators.greedy_lm_probs module
- class lm_polygraph.stat_calculators.greedy_lm_probs.GreedyLMProbsCalculator[source]
Bases:
StatCalculatorCalculates probabilities of the model generations without input texts. Used to calculate P(y_t|y_<t) subtrahend in PointwiseMutualInformation.