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

Support for Initial Prompt and Hotwords in WhisperPipeline (similar to faster-whisper) #1150

Open
HighBridgeDragon opened this issue Nov 6, 2024 · 1 comment
Assignees
Labels
category: whisper Whisper pipeline

Comments

@HighBridgeDragon
Copy link

HighBridgeDragon commented Nov 6, 2024

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:

  • Add support for initial_prompt in the WhisperPipeline.
  • Add support for hotwords or custom vocabulary injection, allowing users to specify words/phrases that are prioritized during transcription.

Is there any existing workaround or plan to incorporate these features in openvino.genai?

Thank you for considering this feature request!

@as-suvorov
Copy link
Contributor

Hello, thanks for a request! I'll review it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category: whisper Whisper pipeline
Projects
None yet
Development

No branches or pull requests

3 participants