I want to have a many-to-one option in LSTM using CNTK, i.e. each word in a sentence is an input, and a label on a sentence is an output. Therefore, it is a mapping from many inputs to one output. However, the example provided in the CNTK Github repository is many-to-many. I am having trouble understanding the input format change that needs to be done for my application. In the above example, each word in a sentence has a label associated with it, while in my application I want to have a label for the sentence.
Would it be right to assign the label of the sentence that I have to all the words in this sentence? Is there a better alternative approach?
source
share