|
|
|
|
|
by amelius
3694 days ago
|
|
How would you feed a sentence to a neural net? As I understand, the inputs are usually just floating point numbers in a small range, so how is the mapping performed? And what if the sentence is longer than the number of input neurons? Can that even happen, and pose a problem? |
|
https://www.tensorflow.org/versions/r0.7/tutorials/word2vec/...
There's a bunch of blogs, tutorials, etc, around word2vec and other methods of generating vectors from a training set of words.
Also, in the tensorflow models codebase where this syntaxnet code lives, there is an another tensorflow-using-method of generating word embeddings with demonstration code called Swivel
https://github.com/tensorflow/models/tree/master/swivel