Skip to content

docs(swinv2): Update SwinV2 model card to new standard format#37942

Merged
stevhliu merged 2 commits intohuggingface:mainfrom
BryanBradfo:update-swinv2-model-card
May 23, 2025
Merged

docs(swinv2): Update SwinV2 model card to new standard format#37942
stevhliu merged 2 commits intohuggingface:mainfrom
BryanBradfo:update-swinv2-model-card

Conversation

@BryanBradfo
Copy link
Copy Markdown
Contributor

What does this PR do?

This PR updates the Swin Transformer V2 model card (swin_transformer_v2.md) to align with the new standardized format.

  • Follows the template provided in [Community contributions] Model cards [Community contributions] Model cards #36979.
  • Includes working Pipeline and AutoModel examples (tested locally).
  • Removed the transformers-cli example (consistent with other recent model card updates).

Relates to #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?

@stevhliu

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 3, 2025

Hi 👋, thank you for opening this pull request! The pull request is converted to draft by default. The CI will be paused while the PR is in draft mode. When it is ready for review, please click the Ready for review button (at the bottom of the PR page). This will assign reviewers and trigger CI.

@github-actions github-actions Bot marked this pull request as draft May 3, 2025 20:22
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.

Super clean implementation! 👏

Comment thread docs/source/en/model_doc/swinv2.md Outdated
Comment thread docs/source/en/model_doc/swinv2.md Outdated
@BryanBradfo BryanBradfo marked this pull request as ready for review May 22, 2025 21:16
@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

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.

BryanBradfo and others added 2 commits May 23, 2025 12:16
Incorporates feedback from @stevhliu to:
- Enhance the introductory paragraph with more details about scaling and SimMIM.
- Generalize the tip from "image classification tasks" to "vision tasks".

Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
@stevhliu stevhliu force-pushed the update-swinv2-model-card branch from ae9400f to 8406ab8 Compare May 23, 2025 19:16
@stevhliu stevhliu merged commit 36f97ae into huggingface:main May 23, 2025
10 checks passed
@BryanBradfo BryanBradfo deleted the update-swinv2-model-card branch July 8, 2025 19:44
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