Skip to content

Conversation

@zwycl
Copy link

@zwycl zwycl commented Sep 23, 2024

Adds an optional contextual biasing parameter to the Whisper model to enable shallow contextual biasing toward given sequences by modifying logits. This is a flexible and fairly simple method useful for transcribing out-of-vocabulary entities in ASR or mitigating harmful mistranscriptions toward unwanted token sequences. Similar parameter is implemented in the HuggingFace package: https://huggingface.co/docs/transformers/en/internal/generation_utils#transformers.SequenceBiasLogitsProcessor

@MrigankRaman
Copy link

When will this be released?

@julienripoche
Copy link

Really useful feature ! Same question, when will this be released?
Do you need help remerging with latest version of master ?

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.

3 participants