PreSumm
PreSumm copied to clipboard
A question about data_loader.py
In the "create_batches" of class DataIterator
for buffer in self.batch_buffer(data, self.batch_size * 300):
why 300? I do think the second para should be self.batch_size * self.args.max_pos, otherwise the definition of args.max_pos is in contradiction with the 300
In the "create_batches" of class DataIterator
for buffer in self.batch_buffer(data, self.batch_size * 300):
why 300? I do think the second para should be self.batch_size * self.args.max_pos, otherwise the definition of args.max_pos is in contradiction with the 300
Same problem here. It's not clear where that 300 comes from. Any explanation would be very helpful!
@nlpyang