src/transformers/models/transfo_xl/tokenization_transfo_xl.py/TransfoXLTokenizer/convert_to_tensor
class TransfoXLTokenizer:    def convert_to_tensor(self, symbols):
        return torch.LongTensor(self.convert_tokens_to_ids(symbols))