Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new tests #1158

Merged
merged 1 commit into from
Nov 20, 2024
Merged

Add new tests #1158

merged 1 commit into from
Nov 20, 2024

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
3 checks passed
@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