-
Hello! I was wondering what might the maximum number of characters/tokens that can be given in the Just a note: I forked the code and altered it to fix the issue described in this comment. Essentially the initial prompts now affect the entire transcription, rather than just the first part of it. In the comment refered to above, the poster says:
Would this value maybe be the max number of tokens I could use for Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
hi @rmohl could you find your answer? would you mind if you share your thoughts on your experiments otherwise? |
Beta Was this translation helpful? Give feedback.
I ended up just assuming that the max number of tokens you can use for
initial_prompt
is 223. According to this OpenAI website approximately every 4 characters of text is equivalent to a single token. So the max prompt length (for my altered version of Whisper at least) is about 4 * 223 = 892 characters.