DOC: Standardize CodeGen model card (issue #36979)#40471
Open
DHANUSHRAJA22 wants to merge 2 commits intohuggingface:mainfrom
Open
DOC: Standardize CodeGen model card (issue #36979)#40471DHANUSHRAJA22 wants to merge 2 commits intohuggingface:mainfrom
DHANUSHRAJA22 wants to merge 2 commits intohuggingface:mainfrom
Conversation
…odel card section to codegen.mdUpdate codegen.md
…ardize CodeGen model card format for issue #36979Update codegen.md
stevhliu
reviewed
Aug 27, 2025
Member
stevhliu
left a comment
There was a problem hiding this comment.
Thanks for starting this! Please check the reference template again to make sure all the relevant infos is included
| --> | ||
| *This model was released on 2022-03-25 and added to Hugging Face Transformers on 2022-06-24.* | ||
|
|
||
| * This model was released on 2022-03-25 and added to Hugging Face Transformers on 2022-06-24. |
|
|
||
| <div class="flex flex-wrap space-x-1"> | ||
| <img alt="PyTorch" src="https://img.shields.io/badge/PyTorch-DE3412?style=flat&logo=pytorch&logoColor=white"> | ||
| <div> |
Member
There was a problem hiding this comment.
This should be aligned to the right with <div style="float: right;">
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Standardized the CodeGen model card to match the project's documentation template (#36979). Added concise overview, badge section, friendly model description, Pipeline and AutoModel usage examples, quantization info, attention visualization, and resource links. Improves ease of use and first-time contributor experience.
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.
Standardized the CodeGen model card to match the project's documentation template (#36979). Added concise overview, badge section, friendly model description, Pipeline and AutoModel usage examples, quantization info, attention visualization, and resource links. Improves ease of use and first-time contributor experience.
Fixes #36979
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.
@stevhliu@stevhliu# What does this PR do?
Fixes # (issue)
Before submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
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.