-
Notifications
You must be signed in to change notification settings - Fork 30.1k
Standardize BertGeneration model card #40250
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
base: main
Are you sure you want to change the base?
Standardize BertGeneration model card #40250
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
|
||
## Notes | ||
|
||
- BertGenerationEncoder and BertGenerationDecoder should be used in combination with EncoderDecoderModel for sequence-to-sequence tasks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- BertGenerationEncoder and BertGenerationDecoder should be used in combination with EncoderDecoderModel for sequence-to-sequence tasks. | |
- [`BertGenerationEncoder`] and [`BertGenerationDecoder`] should be used in combination with [`EncoderDecoderModel`] for sequence-to-sequence tasks. | |
<add code example here from https://huggingface.co/docs/transformers/model_doc/bert-generation#usage-examples-and-tips> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a code example that shows how to use two pretrained google-bert/bert-large-uncased checkpoints
Co-authored-by: Steven Liu <[email protected]>
Co-authored-by: Steven Liu <[email protected]>
Co-authored-by: Steven Liu <[email protected]>
Co-authored-by: Steven Liu <[email protected]>
Co-authored-by: Steven Liu <[email protected]>
Co-authored-by: Steven Liu <[email protected]>
Co-authored-by: Steven Liu <[email protected]>
2468d4b
to
7a34d08
Compare
Thanks for the feedback! I've applied all your suggestions. |
What does this PR do?
#36979
Updated the BertGeneration model card to follow the new standardized format including:
This standardizes the BertGeneration documentation to match the new template format requested in issue #36979.
Before submitting
Pull Request section?
to it if that's the case.
[documentation guidelines](https://github.com/huggingface/transformers/tree/main/docs), and
[here are tips on formatting docstrings](https://github.com/huggingface/transformers/tree/main/docs#writing-source-documentation).
Who can review?
@stevhliu - Documentation lead who is managing the model card standardization project.
Anyone in the community is free to review the PR once the tests have passed.