Skip to content

Commit

Permalink
[Whisper] Refactor forced_decoder_ids & prompt ids (#28687)
Browse files Browse the repository at this point in the history
* up

* Fix more

* Correct more

* Fix more tests

* fix fast tests

* Fix more

* fix more

* push all files

* finish all

* make style

* Fix timestamp wrap

* make style

* make style

* up

* up

* up

* Fix lang detection behavior

* Fix lang detection behavior

* Add lang detection test

* Fix lang detection behavior

* make style

* Update src/transformers/models/whisper/generation_whisper.py

Co-authored-by: Sanchit Gandhi <[email protected]>

* better error message

* make style tests

* add warning

---------

Co-authored-by: Sanchit Gandhi <[email protected]>
  • Loading branch information
2 people authored and Ita Zaporozhets committed May 14, 2024
1 parent b812d4d commit bb460ba
Show file tree
Hide file tree
Showing 3 changed files with 604 additions and 227 deletions.
Loading

0 comments on commit bb460ba

Please sign in to comment.