deeplearning4j/deeplearning4j-examples

Convert string to vector in DataVec

開放

#877 建立於 2019年8月20日

 (2 則留言) (1 個反應) (0 位負責人)Java (1,841 個分叉)batch import
enhancementhelp wanted

倉庫指標

星標
 (2,395 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Please provide an example showing how to transform sentence (string) training data to vectors using a pre-populated word2vec object. Edourado mentioned we should be able to use an embedded layer to do this. Something about mapping word2vec to rows of vectors inside an embedded layer, then having the input layer contain indexes to those rows depending on what words the input data references.

Keep in mind the input contains sentences (multiple words). Thank you.

貢獻者指南