Skip to content

Comments

Add new tests#1158

Merged
MahmoudAshraf97 merged 1 commit intoSYSTRAN:masterfrom
MahmoudAshraf97:tests
Nov 20, 2024
Merged

Add new tests#1158
MahmoudAshraf97 merged 1 commit intoSYSTRAN:masterfrom
MahmoudAshraf97:tests

Conversation

@MahmoudAshraf97
Copy link
Collaborator

Added the following tests:

  • test_hotwords: ensures hotwords argument is respected and working in both sequential and batched
  • test_transcribe_signature: ensures WhisperModel.Transcribe and BatchedInferencePipeline.transcribe have the same signature so that they can be used interchangeably with the exclusion of batch_size argument
  • test_monotonic_timestamps: ensures word and segment timestamps are always increasing and do not overlap
  • moved tokenizer tests to a separate file and added test_split_on_unicode which is ported from OpenAI Whisper

@MahmoudAshraf97 MahmoudAshraf97 merged commit 491852e into SYSTRAN:master Nov 20, 2024
@MahmoudAshraf97 MahmoudAshraf97 deleted the tests branch November 20, 2024 12:01
Equipo45 pushed a commit to Equipo45/faster-whisper that referenced this pull request Dec 4, 2024
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.

1 participant