I've cloned the repo, downloaded the pre-trained Wikipedia model, and installed Gensim via pip install git+https://github.com/jhlau/gensim.
Then I pasted the downloaded model files into the toy_data directory and changed the model line in the file to: model="toy_data/word2vec.bin".
However, when I run infer_test.py I get the following error:
Traceback (most recent call last):
File "infer_test.py", line 25, in <module>
output.write( " ".join([str(x) for x in m.infer_vector(d, alpha=start_alpha, steps=infer_epoch)]) + "\n" )
AttributeError: 'Word2Vec' object has no attribute 'infer_vector'
I've cloned the repo, downloaded the pre-trained Wikipedia model, and installed Gensim via
pip install git+https://github.com/jhlau/gensim.Then I pasted the downloaded model files into the
toy_datadirectory and changed the model line in the file to:model="toy_data/word2vec.bin".However, when I run
infer_test.pyI get the following error: