langtest.utils.custom_types.sample#

Classes

BaseQASample(*, original_question, ...[, ...])

Helper object storing the original text, the perturbed one and the corresponding predictions for each of them.

BaseSample(*, original[, test_type, ...])

Helper object storing the original text, the perturbed one and the corresponding predictions for each of them.

MaxScoreSample(*, original[, test_type, ...])

MinScoreSample(*, original[, test_type, ...])

NERSample(*, original[, test_type, ...])

QASample(*, original_question, original_context)

SequenceClassificationSample(*, original[, ...])