You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Collate_fn is batchwise, meaning the padding is based on the max_seq_len in that batch.
Padding in Dataset means that all inputs are padded based on the global max_seq_len.
Collate_fn reduced the total amount of input size for sure, but it is executed for each batch meaning there is additional overhead.
The text was updated successfully, but these errors were encountered:
Collate_fn is batchwise, meaning the padding is based on the max_seq_len in that batch.
Padding in Dataset means that all inputs are padded based on the global max_seq_len.
Collate_fn reduced the total amount of input size for sure, but it is executed for each batch meaning there is additional overhead.
The text was updated successfully, but these errors were encountered: