logitorch.datasets.te.rte_dataset#

Module Contents#

Classes#

RTEDataset

Helper class that provides a standard way to create an ABC using

Attributes#

logitorch.datasets.te.rte_dataset.RTE_DATASET_ZIP_URL = 'https://www.dropbox.com/s/ma9r9vd5sqv6p5m/rte_dataset.zip?dl=1'[source]#
logitorch.datasets.te.rte_dataset.RTE_DATASET = 'rte_dataset'[source]#
logitorch.datasets.te.rte_dataset.RTE_DATASET_FOLDER[source]#
logitorch.datasets.te.rte_dataset.RTE_LABEL_TO_ID[source]#
logitorch.datasets.te.rte_dataset.RTE_ID_TO_LABEL[source]#
class logitorch.datasets.te.rte_dataset.RTEDataset(split_set: str)[source]#

Bases: logitorch.datasets.base.AbstractTEDataset

Helper class that provides a standard way to create an ABC using inheritance.

__read_dataset(premises_key: str, hypotheses_key: str, labels_key: str) Tuple[List[str], List[str], List[int]][source]#
__getitem__(index: int) Tuple[str, str, int][source]#
__str__() str[source]#

Return str(self).

__len__() int[source]#