question_answering_suite
allennlp.confidence_checks.task_checklists.question_answering_suite
QuestionAnsweringSuite¶
@TaskSuite.register("question-answering")
class QuestionAnsweringSuite(TaskSuite):
| def __init__(
| self,
| suite: Optional[TestSuite] = None,
| context_key: str = "context",
| question_key: str = "question",
| answer_key: str = "best_span_str",
| **kwargs
| )
contractions¶
class QuestionAnsweringSuite(TaskSuite):
| ...
| @classmethod
| def contractions(cls)
typos¶
class QuestionAnsweringSuite(TaskSuite):
| ...
| @classmethod
| def typos(cls)
punctuation¶
class QuestionAnsweringSuite(TaskSuite):
| ...
| @classmethod
| def punctuation(cls)