Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions tests/models/whisper/test_tokenization_whisper.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,11 @@ def test_basic_normalizer(self):
)
self.assertEqual(decoded_output_diacritics, expected_output_diacritics)

@slow
def test_add_special_tokens(self):
# This test takes a long time for Whisper, so it's marked as slow for this model
super().test_add_special_tokens()


class SpeechToTextTokenizerMultilinguialTest(unittest.TestCase):
checkpoint_name = "openai/whisper-small.en"
Expand Down