gswycf/Joint-Extraction-of-Entities-and-Relations-Based-on-a-Novel-Tagging-Scheme

Does anyone know how to get the NPY file?

syfshigechunvzuo opened this issue · 3 comments

Does anyone know how to get the NPY file?

sorry,this repository is no longer maintained.

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)