DeepQA
DeepQA copied to clipboard
If we use dynamic rnn encorder do we still need to use the bucket model?
Dynamic RNN allows the model to have variable sentence lengths. Bucketing allow to efficiently minimize the padding within each batch. Those are two different complementary things.
Oh I get it. So if we use dynamic RNN encoder without bucketing dynamic rnn function will padded the input to a fixed size right?
The inputs will be padded to the longest sentence of the current batch. I think that with recent versions of tensorflow, there was a way to automatically handle padding and bucketing.