I am trying to train a network that generate some poems. I can not find a good and simple example for using lstm for text generation in caffe. my first question is how I must send data to the input layer? i want to use HDF5 data format for input, I think every record has some words as input words, an array of clips and a label that is the next word following input words. in start of every poem clips would be reset to zeros. am I correct?? now my HDF5 file should have 3 array?? and after this step how I should write .prototxt files and define layers?? can you explain these to me or give me an example codes??
Hi!
I am trying to train a network that generate some poems. I can not find a good and simple example for using lstm for text generation in caffe. my first question is how I must send data to the input layer? i want to use HDF5 data format for input, I think every record has some words as input words, an array of clips and a label that is the next word following input words. in start of every poem clips would be reset to zeros. am I correct?? now my HDF5 file should have 3 array?? and after this step how I should write .prototxt files and define layers?? can you explain these to me or give me an example codes??
Thanks, in advance!