Open shantanuo opened 4 years ago
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
There is a typo in the script. The name of the model is model_glove_twitter and not just model in this code:
https://github.com/kavgan/nlp-in-practice/blob/master/pre-trained-embeddings/Pre-trained%20embeddings.ipynb