nlp_store icon indicating copy to clipboard operation
nlp_store copied to clipboard

word2vec 获取词向量 有问题

Open flitdu opened this issue 3 years ago • 1 comments

获取词向量

    self.word_embeddings = model.embedding.embeddings.numpy()

报错: self.word_embeddings = model.embedding.embeddings.numpy() AttributeError: 'Embedding' object has no attribute 'embeddings'

flitdu avatar Jul 08 '21 02:07 flitdu