Skip to content

Fix Issue 1632#1633

Open
sroussey wants to merge 1 commit intohuggingface:mainfrom
sroussey:fix-1632
Open

Fix Issue 1632#1633
sroussey wants to merge 1 commit intohuggingface:mainfrom
sroussey:fix-1632

Conversation

@sroussey
Copy link
Copy Markdown
Contributor

@sroussey sroussey commented Apr 3, 2026

Enhance pipeline configurations by setting default parameters for max_new_tokens, num_beams, do_sample, and temperature in Automatic Speech Recognition, Document Question Answering, Text Generation, and Text2Text Generation pipelines.

…_new_tokens, num_beams, do_sample, and temperature in Automatic Speech Recognition, Document Question Answering, Text Generation, and Text2Text Generation pipelines.
@sroussey
Copy link
Copy Markdown
Contributor Author

sroussey commented Apr 3, 2026

@xenova for fix to issue #1632

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

@nico-martin
Copy link
Copy Markdown
Collaborator

There are a couple of failing tests. But besides that, changing the default behaviour (especially for the do_sample and the temperature) is definitely a breaking change. Although I really like this change, @xenova, are we sure we want that for a minor- or even patch-release?

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