SIGN IN SIGN UP

Overdue Whisper fixes (#1594)

* Fix whisper word-level timestamps

* add whisper tiny tests

* Cap word end timestamps to the chunk's end timestamp

* Fix WhisperTimeStampLogitsProcessor

* Update whisper unit tests

* Formatting

* Add spectrogram unit tests

* Fix spectrogram center padding

* window_function should zero-pad the window when frame_length is provided

* Add support for SuppressTokensLogitsProcessor

* Add whisper base unit test

* Update audio test cache

* Update test_pipelines_automatic_speech_recognition.js

* Add timestamp merge tolerance

Fixes https://github.com/huggingface/transformers.js/issues/1357

* Implement _generate_with_seek for whisper

* Add another _decode_asr test

* Fix backwards-jumping timestamps

* Update test_pipelines_automatic_speech_recognition.js

* final fix

* fix build

* set max test execution time

* formatting

* use at(-1) where possible
J
Joshua Lochner committed
43b26629ccf788301ecc1e7952855029c36b41e1
Parent: d6280f7
Committed by GitHub <noreply@github.com> on 3/29/2026, 6:31:25 PM