Skip to content

Conversation

@fxmarty
Copy link
Contributor

@fxmarty fxmarty commented Mar 24, 2023

As per title, fixes #905, #906

This bug is introduced by huggingface/transformers#21252 that moves generate() implementation in WhisperForConditionalGeneration, hence breaking the inheritance order in transformers.

@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Mar 24, 2023

The documentation is not available anymore as the PR was closed or merged.

Copy link
Member

@michaelbenayoun michaelbenayoun 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!

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.

Whisper pipeline raises error when using return_timestamps (ValueError: The following model_kwargs are not used by the model: ['return_timestamps'])

3 participants