Hi, how can I find the directory where pre-trained model was loaded?
loaded like this:
en2ru = torch.hub.load('pytorch/fairseq', 'transformer.wmt19.en-ru.single_model', tokenizer='moses', bpe='fastbpe')
Hi, how can I find the directory where pre-trained model was loaded?
loaded like this:
en2ru = torch.hub.load('pytorch/fairseq', 'transformer.wmt19.en-ru.single_model', tokenizer='moses', bpe='fastbpe')
Hi,
You find it at .cache/torch/
in your home directory (for linux based systems). You can find documentation here: default path is $TORCH_HOME/hub where environment variable $TORCH_HOME defaults to $XDG_CACHE_HOME/torch. $XDG_CACHE_HOME follows the X Design Group specification of the Linux filesytem layout, with a default value ~/.cache if the environment variable is not set.
Thanks! I found this directory, but I didn’t found the model there, so I removed directories, that had fairseq in the name