Closed omrishsu closed 2 years ago
@omrivm I'm using windows 11, python 3.9.10 and gensim 4.1.2 (installed in venv). what are you using? what does the following output:
@Iddoyadlin found the problem. For some reason, the rar file is extracted ok on windows, but on ubuntu, it is extracted corrupted.
@omrivm were you able to extract it on ubuntu? care to share how you did it?
No, i was not able to do that. I've extracted it on windows and transfer the mdl file to ubuntu.
when i try to load the model: model_w2v = Word2Vec.load('/home/hebrew-word2vec/wiki_tokenized_model/model.mdl') i get:
_pickle.UnpicklingError: invalid load key, '\x00'.
on:
return _pickle.load(f, encoding='latin1')
in:gensim.utils.unpickle
any idea what is missing here?