Skip to content

🚨 [v5] remove deprecated generate classes (constraints and beam scorers)#41223

Merged
gante merged 1 commit into
huggingface:mainfrom
gante:rm_beam_constraints
Oct 2, 2025
Merged

🚨 [v5] remove deprecated generate classes (constraints and beam scorers)#41223
gante merged 1 commit into
huggingface:mainfrom
gante:rm_beam_constraints

Conversation

@gante
Copy link
Copy Markdown
Contributor

@gante gante commented Sep 30, 2025

What does this PR do?

The decoding methods using these classes were recently moved to the hub, and these classes were deprecated. They were scheduled to be removed in minor versions that won't exist, so they get tagged as v5 removals :)

(cc @manueldeprada )

@gante gante requested a review from zucchini-nlp September 30, 2025 12:58
@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.

Copy link
Copy Markdown
Member

@zucchini-nlp zucchini-nlp left a comment

Choose a reason for hiding this comment

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

Super cool, thanks

@gante gante merged commit 313504b into huggingface:main Oct 2, 2025
25 checks passed
@gante gante deleted the rm_beam_constraints branch October 2, 2025 11:11
yuchenxie4645 pushed a commit to yuchenxie4645/transformers that referenced this pull request Oct 4, 2025
@gante gante mentioned this pull request Oct 10, 2025
AhnJoonSung pushed a commit to AhnJoonSung/transformers that referenced this pull request Oct 12, 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