I used a twitter dataset and used torchtext for some pre-processing, used -
TEXT.build_vocab(trn, min_freq = 2, vectors=GloVe(name='6B', dim=300))
now, I pass it through an autoencoder, and generate the same seq again. My question is If print the output of the model, it will print the indices of the words, but I would like to print the word itself. Any idea how do I go about doing that?
Answer is in the comments. I figured it out.