Closed aniket03 closed 4 years ago
Hi @aniket03, thanks for the info!
I am experiencing the same problem on my laptop. The machine where I saved the model weights file is not accessible for the moment. Please wait for some time until I can access the machine and check the problem.
Hi @aniket03, I guess Zenodo corrupted the file when I uploaded it via command line. I have uploaded to Zenodo a new uncompressed weight file (size: 1.4GB) that works on my laptop, please check it out.
If there is no further problem, please feel free to close this issue. Thanks!
Hi @ZHAOTING Thank you for helping with this issue. Will close this now.
Hi @ZHAOTING
Thank you for making the code and data for the paper
Designing Precise and Robust Dialogue Response Evaluators
public.I was trying to load pre-trained model weights (made available here ) into the evaluation script (shared here), but torch.load with the model_file_path results in the error:
_pickle.UnpicklingError: invalid load key, 'f'
, with the following trace:I tried a bunch of things here:
.pth.gz
file in thetorch.load()
method call, which yields same error.gzip -d roberta_eval.model.pt.gz
to un-compress the file but that results in errorgzip: roberta_eval.model.pt.gz: not in gzip format
.Can you share what pre-processing needs to be done to the shared weights file so that it can be passed to the evaluation script. Would be super helpful.