Closed kanishkamisra closed 3 years ago
Check out https://github.com/SapienzaNLP/ewiser/blob/master/ewiser/spacy/disambiguate.py
.
Thanks! I'll take a look -- for some reason I mistakenly thought the 'pt' files were regular tensors! Thanks for the clarification!
How does one load the pre-trained checkpoints?
I tried it with
embs = torch.load('ewiser.semcor+wngt.pt')
but it gives me an error: