Skip to content
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

model name is incorrect #8

Open
shantanuo opened this issue Mar 30, 2020 · 0 comments
Open

model name is incorrect #8

shantanuo opened this issue Mar 30, 2020 · 0 comments

Comments

@shantanuo
Copy link

There is a typo in the script.
The name of the model is model_glove_twitter and not just model in this code:

for p in phrases:
    tokens_1=[t for t in p.split() if t in model.wv.vocab]
    tokens_2=[t for t in query.split() if t in model.wv.vocab]

https://github.com/kavgan/nlp-in-practice/blob/master/pre-trained-embeddings/Pre-trained%20embeddings.ipynb

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant