I'm attempting to load some pre-trained vectors into a gensim Word2Vec
model, so they can be retrained with new data. My understanding is I can do the retraining with gensim.Word2Vec.train()
. However, the only way I can find to load the vectors is with gensim.models.KeyedVectors.load_word2vec_format('path/to/file.bin', binary=True)
which creates an object of what is usually the wv
attribute of a gensim.Word2Vec
model. But this object, on it's own, does not have a train()
method, which is what I need to retrain the vectors.
So how do I get these vectors into an actual gensim.Word2Vec
model?