Allowing target inputters to accept SequenceRecordInputter dtype
Hi –
I am looking at the SequenceToSequence class. It requires the target inputter to be a of inputters.WordEmbedder while inputters.SequenceRecordInputter raises an exception. The source inputter can be of either type.
Are there any design/practical reasons necessitating the limitation?
What would be the best way if I want to add support for a inputters.SequenceRecordInputter target inputter in SequenceToSequence?
Hello,
Could you describe the use case for this? Is the goal to produce vectors instead of symbols?
Hi
Thank for the fast reply. Yes, my goal is to produce vectors. I have encoded both the source input and the target output as one-hot vectors in a .tfrecord file.
It seems like most use case are equivalent to producing symbols, or can be emulated by symbols.
Additionally, some TensorFlow components we used for dynamic decoding assume that ids are produced (for example tf.contrib.seq2seq.BeamSearchDecoder).