I thought it might be better to discuss the sliding window in a separate issue.
#44 (comment)
I was just considering whether we need sliding windows to not have to use a really large max_sequence_length.
#44 (comment)
As you can see, it's not related to a sliding windows as we have in CRF. With CRF, we always have a contextual window centered on the current "target" token which will be labelled, and the CRF template is used to determine the size of the window.
With the DL approach, we have a prediction on a complete sequence, without sliding window and the whole sequence is involved when training the weights or outputting something. For very large input sequence like the header model, it's of course an issue (size of the input could be more than 1000 tokens in worst cases) - but it's potentially also where it is interesting because the "recursive" aspect of the RNN makes the backpropagation potentially impacting the complete sequence.
It would be indeed interesting to compare the "traditional" global full sequence network approach and a local sliding-window network, though I am not sure how to do it. It would require some review to see how it was approached by other people.
/cc @kermitt2 @lfoppiano
I thought it might be better to discuss the sliding window in a separate issue.
#44 (comment)
#44 (comment)
/cc @kermitt2 @lfoppiano