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

added faster whisper pipeline #4

Merged
merged 5 commits into from
Aug 14, 2024
Merged

Conversation

ben256
Copy link
Collaborator

@ben256 ben256 commented Aug 13, 2024

No description provided.

@ben256
Copy link
Collaborator Author

ben256 commented Aug 14, 2024

For reference about changes: (whisperx/asr.py)

"""
Essentially added additional inference method which uses the faster-whisper batched inference pipeline instead of
WhisperX pipeline which doesn't work for arabic-english code switching.
For use with experimental version of faster-whisper SYSTRAN/faster-whisper#936
Run "pip install git+https://github.com/MahmoudAshraf97/faster-whisper.git@same_vad" to install
This version doesn't change the WhisperModel class which is used by whisperX for the legacy inference method, but does
provide the faster-whisper.BatchedInferencePipeline so for now it's our best bet.
This has been designed such that minial changes are required to the transcription engine as both pipelines use the same
function names.
"""

@ben256 ben256 merged commit 06de396 into main Aug 14, 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.

2 participants