Skip to content

DOC: Standardize CodeGen model card (issue #36979)#40471

Open
DHANUSHRAJA22 wants to merge 2 commits intohuggingface:mainfrom
DHANUSHRAJA22:main
Open

DOC: Standardize CodeGen model card (issue #36979)#40471
DHANUSHRAJA22 wants to merge 2 commits intohuggingface:mainfrom
DHANUSHRAJA22:main

Conversation

@DHANUSHRAJA22
Copy link
Copy Markdown

@DHANUSHRAJA22 DHANUSHRAJA22 commented Aug 26, 2025

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

  • 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.

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

  • 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.

@stevhliu@stevhliu# What does this PR do?

Fixes # (issue)

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.

…odel card section to codegen.mdUpdate codegen.md
…ardize CodeGen model card format for issue #36979Update codegen.md
Copy link
Copy Markdown
Member

@stevhliu stevhliu 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 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.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Don't need to change this


<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>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This should be aligned to the right with <div style="float: right;">

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.

[Community contributions] Model cards

2 participants