How to get vector for a sentence from the word2vec of tokens in sentence

后端 未结 9 1864
鱼传尺愫
鱼传尺愫 2020-12-02 04:18

I have generated the vectors for a list of tokens from a large document using word2vec. Given a sentence, is it possible to get the vector of the sentence from the vector of

9条回答
  •  遥遥无期
    2020-12-02 04:37

    Google's Universal Sentence Encoder embeddings are an updated solution to this problem. It doesn't use Word2vec but results in a competing solution.

    Here is a walk-through with TFHub and Keras.

提交回复
热议问题