Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

[NeuralChat] fix latest transformers whisper forced_decoder_ids error #1177

Merged
merged 3 commits into from
Jan 26, 2024

Conversation

Spycsh
Copy link
Contributor

@Spycsh Spycsh commented Jan 23, 2024

Type of Change

bug fix

Description

latest transformers >=4.37.0 cause error when passing forced_decoder_ids in model.generate

Expected Behavior & Potential Risk

I fix the problem and test that it is compatible with transformers == 4.37.0 as well as 4.36.2

How has this PR been tested?

ut

Dependency Change?

None

@Spycsh Spycsh requested a review from lvliang-intel as a code owner January 23, 2024 06:11
@Spycsh Spycsh requested a review from VincyZhang January 23, 2024 06:12
@Spycsh Spycsh changed the title fix latest transformers whisper forced_decoder_ids error [NeuralChat] fix latest transformers whisper forced_decoder_ids error Jan 23, 2024
@hshen14 hshen14 merged commit 09ddade into main Jan 26, 2024
14 checks passed
@hshen14 hshen14 deleted the fix_asr branch January 26, 2024 08:44
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants