primeqa.mrc.processors.postprocessors.scorers.SupportedSpanScorers#

class primeqa.mrc.processors.postprocessors.scorers.SupportedSpanScorers(value)#

Bases: enum.Enum

Enumeration of supported scoring algorithms.

Methods

get_supported

Returns the names of the supported scoring algorithms.

Attributes

SCORE_DIFF_BASED

TARGET_TYPE_WEIGHTED_SCORE_DIFF

WEIGHTED_SUM_TARGET_TYPE_AND_SCORE_DIFF

classmethod get_supported()#

Returns the names of the supported scoring algorithms.