I'm trying to load a trained language model from another project. Unfortunately, I'm not able to load it because it requires the definition of the model module. As far as I know, this is a known problem for PyTorch model saved using torch.save (as discussed here: https://github.com/pytorch/pytorch/issues/3678). How do you deal with this problem?
Hi there,
I'm trying to load a trained language model from another project. Unfortunately, I'm not able to load it because it requires the definition of the
model
module. As far as I know, this is a known problem for PyTorch model saved using torch.save (as discussed here: https://github.com/pytorch/pytorch/issues/3678). How do you deal with this problem?Thank you in advance!
Alessandro