Skip to content

[Whisper] Fix num_return_sequences behavior#35939

Draft
eustlb wants to merge 1 commit intohuggingface:mainfrom
eustlb:fix-whisper-num-return-sequences
Draft

[Whisper] Fix num_return_sequences behavior#35939
eustlb wants to merge 1 commit intohuggingface:mainfrom
eustlb:fix-whisper-num-return-sequences

Conversation

@eustlb
Copy link
Contributor

@eustlb eustlb commented Jan 28, 2025

What does this PR do?

Fixes #32373 #33445

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

@xiuwenz2
Copy link

Hi @eustlb, thank you for focusing on this issue! As I tried the fixed codes, it seems that the issue is still not fixed for me, as the generate function is still output k same hypotheses... Could you please help me out? Thank you.

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.

Some Whisper beam search output (sequences_scores, etc.) is lost in _stack_split_outputs

3 participants