KEMBAR78
Fix error in doc of `DataCollatorWithPadding` by secsilm · Pull Request #16662 · huggingface/transformers · GitHub
Skip to content

Conversation

@secsilm
Copy link
Contributor

@secsilm secsilm commented Apr 8, 2022

What does this PR do?

The defalut value of padding in DataCollatorWithPadding is True, not False. The doc is wrong.

Before submitting

  • This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
  • Did you read the contributor guideline,
    Pull Request section?
  • Was this discussed/approved via a Github issue or the forum? Please add a link
    to it if that's the case.
  • Did you make sure to update the documentation with your changes? Here are the
    documentation guidelines, and
    here are tips on formatting docstrings.
  • Did you write any new necessary tests?

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.

The defalut value of `padding` in `DataCollatorWithPadding` is `True`, not `False`.
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Apr 8, 2022

The documentation is not available anymore as the PR was closed or merged.

Copy link
Collaborator

@sgugger sgugger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for fixing!

@sgugger sgugger merged commit 5db2fcc into huggingface:main Apr 8, 2022
@secsilm secsilm deleted the patch-1 branch April 9, 2022 02:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants