Thank you, I am aware of how to use encode from the tokenizer first. This is just very confusing because SentenceTransformers.encode() takes a list of strings. I don’t know why it does that. Thanks, I’ll look at torchtext.