-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Purpose of "smart_batching_collate" #2956
Comments
Hello! Good question. But, because I thought there might still be some edge cases where people really want to use the original The sentence-transformers/sentence_transformers/fit_mixin.py Lines 544 to 546 in 7290448
So, this collator is used in the DataLoader instances. It is used to convert the In short: it exists so that the old training method (now under Hope that clears it up a bit.
|
Thanks for the clear explanation! Haha, it is good to learn the development history. I'll close the issue. |
What is "smart_batching_collate" mainly used for and how is it different from the default collate function that only takes the tokenizer and pad the sentences in a batch?
The text was updated successfully, but these errors were encountered: