sgnlp.models.emotion_entailment.utils.load_examples

load_examples(examples: List[sgnlp.models.emotion_entailment.utils.InputExample], max_seq_length: int, tokenizer: sgnlp.models.emotion_entailment.tokenization.RecconEmotionEntailmentTokenizer)torch.utils.data.dataset.TensorDataset[source]

Load examples from dataframe

Parameters
Returns

A tensordataset object containing all examples

Return type

TensorDataset