lm_polygraph.stat_calculators.initial_state module

class lm_polygraph.stat_calculators.initial_state.InitialStateCalculator[source]

Bases: StatCalculator

Preprocesses input texts by passing them through unchanged. This calculator ensures that the ‘input_texts’ dependency is always satisfied.

static meta_info() Tuple[List[str], List[str]][source]

Returns the statistics and dependencies for the calculator.

Returns:
Tuple containing:
  • List of statistics provided by this calculator

  • List of dependencies required by this calculator