Published
- 1 min read
AttributeError: `Word2Vec` object has no attribute `most_similar`
The solution for this is noted below
AttributeError: Word2Vec
object has no attribute most_similar
Solution
model.wv.most_similar("glass")
add wv in between
Try other methods by searching on the site. That is if this doesn’t work