Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Support for --initial_prompt feature? #18

Open
ankushg opened this issue Feb 1, 2023 · 2 comments
Open

Support for --initial_prompt feature? #18

ankushg opened this issue Feb 1, 2023 · 2 comments

Comments

@ankushg
Copy link

ankushg commented Feb 1, 2023

Thanks for this awesome resource!

The upstream whisper project added an --initial_prompt openai/whisper#128

Is there a way to use that with this model?

@steveturner
Copy link

Interested in this as well -- it looks like the TFWhisperForConditionalGeneration might need to be used.

I tried a few things but didn't see an obvious way to preload a tensor with the vocabulary/prompt and then parse the logits out when using Tensorflow. But I'm also a noob.

@nyadla-sys has some good discussion around the topic here huggingface/transformers#19691

@nyadla-sys
Copy link
Contributor

@ankushg I have not looked into adding --initial_prompt for tflite whisper model as I am stuck in debugging full int8 model for whisper.
Hopefully i will give sometime next week on this

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants