KEMBAR78
Fix HGNetV2 Model Card and Image Classification Pipeline Usage Tips by ducviet00 · Pull Request #39965 · huggingface/transformers · GitHub
Skip to content

Conversation

@ducviet00
Copy link
Contributor

@ducviet00 ducviet00 commented Aug 6, 2025

What does this PR do?

  1. The HGNetV2 model card previously referenced an incorrect paper and has now been updated to accurately describe the model, following the guidelines in [Community contributions] Model cards #36979.
  2. I also corrected the contributed model card to fix usage tips for the image-classification pipeline: the pipeline expects inputs as a positional argument, not images.
  3. Additionally, I fixed a typo by closing the <hfoptions> tag in the dit section.

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.

@ducviet00 ducviet00 changed the title fix hgnet docs and image-classification pipeline Fix HGNetV2 Model Card and Image Classification Pipeline Usage Tips Aug 6, 2025
@ducviet00
Copy link
Contributor Author

@stevhliu
Please take a look when you have time 🤗

Copy link
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 your fixes and improvements!

ducviet00 and others added 5 commits August 7, 2025 10:54
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
Co-authored-by: Steven Liu <59462357+stevhliu@users.noreply.github.com>
@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2025

[For maintainers] Suggested jobs to run (before merge)

run-slow: hgnet_v2

@ducviet00 ducviet00 requested a review from stevhliu August 7, 2025 08:18
Copy link
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.

LGTM, thanks!

@HuggingFaceDocBuilderDev

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.

@stevhliu
Copy link
Member

stevhliu commented Aug 7, 2025

run-slow: hgnet_v2

@github-actions
Copy link
Contributor

github-actions bot commented Aug 7, 2025

This comment contains run-slow, running the specified jobs:

models: ['models/hgnet_v2']
quantizations: [] ...

@stevhliu stevhliu merged commit 692d336 into huggingface:main Aug 7, 2025
15 checks passed
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