Use of prompt_tokens and prompt_n_tokens #17
-
Hi, I noted Whisper.cpp has the parameter --prompt and you use prompt_tokens and prompt_n_tokens. Can you show me how to provide a prompt, say "Japan Ag" as a prompt? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hi @LeonCheong, Maybe you are trying a new version of whsiper.cpp! I have pushed a new update (v1.1.0) to support the new version of whisper.cpp, you can now use Let me know if that solved the issue ? |
Beta Was this translation helpful? Give feedback.
-
It works, thanks |
Beta Was this translation helpful? Give feedback.
Hi @LeonCheong,
Maybe you are trying a new version of whsiper.cpp!
At the time of building the project, there was no prompt parameter, just prompt_tokens and prompt_n_tokens.
I have pushed a new update (v1.1.0) to support the new version of whisper.cpp, you can now use
initial_prompt
to provide your prompt.Let me know if that solved the issue ?