Skip to content

Comments

Add new tests#1154

Closed
MahmoudAshraf97 wants to merge 3 commits intoSYSTRAN:masterfrom
MahmoudAshraf97:tests
Closed

Add new tests#1154
MahmoudAshraf97 wants to merge 3 commits 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

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no suggestions.

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