-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
SSE Model pertained word vectors loading #22
Comments
Hi Shuailong, When you specify the embedding path and name, torchtext will automatically download data from GloVe website: https://nlp.stanford.edu/projects/glove/ , which is saved into your local machine. Best, |
So How shall I set the EMB_FILE variable? |
just run this command: |
Hi Wuwei,
Thanks for sharing the code and learned from your code! I have a small question below:
I found that for other models you use
from torchtext.vocab import load_word_vectors
to load pretrained word vectors while for SSE model, you directly usetorch.load(EMB_FILE)
to load the pickled embeddings. However, I could not find the embedding files in the data folder you provided. Could you please upload this file?Thanks!
Regards,
Shuailong
The text was updated successfully, but these errors were encountered: