Skip to content

Conversation

qubvel
Copy link
Contributor

@qubvel qubvel commented Sep 9, 2025

What does this PR do?

Replaces image classification explicit loss functions to a self.loss_function

Copy link
Contributor

github-actions bot commented Sep 9, 2025

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

run-slow: beit, bit, clip, data2vec, dinat, donut, efficientnet, focalnet, hgnet_v2, hiera, imagegpt, levit, metaclip_2, mobilenet_v1, mobilenet_v2, mobilevit

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

@qubvel qubvel requested a review from Cyrilvallez September 9, 2025 11:21
Copy link
Member

@Cyrilvallez Cyrilvallez 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 a lot!! Very nice!

@qubvel qubvel merged commit 77aa35e into huggingface:main Sep 12, 2025
23 checks passed
ErfanBaghaei pushed a commit to ErfanBaghaei/transformers that referenced this pull request Sep 25, 2025
vijayabhaskar-ev pushed a commit to vijayabhaskar-ev/transformers that referenced this pull request Oct 2, 2025
yuchenxie4645 pushed a commit to yuchenxie4645/transformers that referenced this pull request Oct 4, 2025
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