def METHOD_NAME(self, sentence):
    encodings_dict = self.tokenizer.tokenizer(
        sentence, truncation=True, max_length=self.cfg.max_seq_length, padding="max_length", return_tensors="pt"
    )
    input_ids = torch.squeeze(encodings_dict['input_ids'])
    attn_masks = torch.squeeze(encodings_dict['attention_mask'])
    return encodings_dict, input_ids, attn_masks