Loading FastText embeddings results to HTTPError

I am doing a text classification task in PyTorch (1.5), but

TEXT.build_vocab(train_data, max_size = MAX_VOCAB_SIZE, vectors = "fasttext.en.300d", unk_init = torch.Tensor.normal_)

Results to the following error:

HTTPError: HTTP Error 301: Moved Permanently

Any idea how to solve this problem?

1 Like

Hi Talita,

I assume you are using torchtext?
If so, could you please create an issue on GitHub with this error message?

Yes!!

Thanks for replying :).