This PR looks bigger than it really is. It's just moving the instances around, organizing them by task (which required changing a bunch of imports all over the code), renaming get_lengths in IndexedInstance to get_padding_lengths (which required minor fixes in a bunch of lines in the code), some documentation improvements, and adding one small method to IndexedDataset.
This PR looks bigger than it really is. It's just moving the instances around, organizing them by task (which required changing a bunch of imports all over the code), renaming
get_lengths
inIndexedInstance
toget_padding_lengths
(which required minor fixes in a bunch of lines in the code), some documentation improvements, and adding one small method toIndexedDataset
.