Does anyone know how to get the NPY file?
syfshigechunvzuo opened this issue · 3 comments
syfshigechunvzuo commented
Does anyone know how to get the NPY file?
gswycf commented
sorry,this repository is no longer maintained.
gswycf commented
No description provided.
model = gensim.models.keyedvectors.KeyedVectors.load("word2vec")
word_list = model.key_to_index
embeddings = np.array([model[word] for word in word_list])
np.save( embeddings)
syfshigechunvzuo commented
thankyou------------------ 原始邮件 ------------------
***@***.***>
发送时间: 2021年6月5日(星期六) 上午10:20
***@***.***>;
***@***.******@***.***>;
主题: Re: [gswycf/Joint-Extraction-of-Entities-and-Relations-Based-on-a-Novel-Tagging-Scheme] Does anyone know how to get the NPY file? (#15)