-
Notifications
You must be signed in to change notification settings - Fork 191
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
Support for Initial Prompt and Hotwords in WhisperPipeline (similar to faster-whisper) #1150
Labels
category: whisper
Whisper pipeline
Comments
Hello, thanks for a request! I'll review it. |
github-merge-queue bot
pushed a commit
that referenced
this issue
Dec 19, 2024
#1378) Adds: * `initial_prompt` parameter ([faster_whisper reference](https://github.com/SYSTRAN/faster-whisper/blob/203dddb047fd2c3ed2a520fe1416467a527e0f37/faster_whisper/transcribe.py#L732)) - injects initial prompt tokens as a previous transcription into the first processing window * `hotwords` parameter ([faster_whisper reference](https://github.com/SYSTRAN/faster-whisper/blob/203dddb047fd2c3ed2a520fe1416467a527e0f37/faster_whisper/transcribe.py#L768)) - injects hotwords tokens as a previous transcription into the all processing windows * Whisper pipeline usage notes in samples Closes #1150 Ticket: 156888
ScottZhang812
pushed a commit
to ScottZhang812/_openvino.genai
that referenced
this issue
Dec 23, 2024
…s (#1378) Adds: * `initial_prompt` parameter ([faster_whisper reference](https://github.com/SYSTRAN/faster-whisper/blob/203dddb047fd2c3ed2a520fe1416467a527e0f37/faster_whisper/transcribe.py#L732)) - injects initial prompt tokens as a previous transcription into the first processing window * `hotwords` parameter ([faster_whisper reference](https://github.com/SYSTRAN/faster-whisper/blob/203dddb047fd2c3ed2a520fe1416467a527e0f37/faster_whisper/transcribe.py#L768)) - injects hotwords tokens as a previous transcription into the all processing windows * Whisper pipeline usage notes in samples Closes openvinotoolkit/openvino.genai#1150 Ticket: 156888
Thank you so much for resolving this issue! I deeply respect and appreciate your effort in resolving this. I’m looking forward to the release of the prebuilt binary that includes your changes. Additionally, I’m hopeful for the resolution of issue #1164 as well. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello OpenVINO team,
I'm currently using the WhisperPipeline in openvino.genai and would like to request a feature similar to that of faster-whisper (CTranslate2), where users can provide an initial_prompt or specify hotwords to influence the transcription process.
This feature would be particularly useful in cases where we want to improve transcription accuracy for specific terms or in domain-specific contexts.
Feature Request:
Is there any existing workaround or plan to incorporate these features in openvino.genai?
Thank you for considering this feature request!
The text was updated successfully, but these errors were encountered: