Closed stefan-it closed 4 years ago
Please try:
xlmr = torch.hub.load('pytorch/fairseq', 'xlmr.large', force_reload=True)
Also, if that still doesn't work, what happens if you run:
torch.hub.list('pytorch/fairseq')
Thanks, it was working with the force_reload=True
option :heart:
Hi,
thanks for releasing the final base and large models for XLM-RoBERTa.
Unfortunately, the models can't be loaded from
torch.hub
:The following error message is thrown:
I'm using PyTorch 1.3.1 and I cleared the
.cache/torch
folder.Before loading the message:
appears. I checked the
model.py
file in thefairseq/models/roberta
folder and it does include thexlmr
hub definition 🤔(Downloading the model manually + loading it works as a workaround).