my_embeddings only take a pytorch index rather than text. I can just use: from torchtext.data import get_tokenizer tokenizer = get_tokenizer(" ...
確定! 回上一頁