Closed bartoszzuk closed 4 days ago
thanks @bartoszzuk perhaps it's better to set the self.data_collator
to the default one if it is none and then use self.data_collator
in the data loaders?
you might need to run make precommit
in the root of the TRL to fix styling
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.
What does this PR do?
data_collator
instead of using hard-codedDataCollatorWithPadding
data_collator
is specified useDataCollatorWithPadding
(previous behavior)Fixes #2354
Before submitting
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag members/contributors who may be interested in your PR.