Const-me / Whisper

High-performance GPGPU inference of OpenAI's Whisper automatic speech recognition (ASR) model
Mozilla Public License 2.0
8k stars 677 forks source link

missing:prompt PROMPT #56

Open juntaosun opened 1 year ago

juntaosun commented 1 year ago

--prompt PROMPT It's not implemented, it doesn't work

yang-tsao commented 1 year ago

Yes, it's very important for Chinese Support. Without a prompt, we cannot choose the output to be Simplified or Traditional. See this link:https://github.com/openai/whisper/discussions/277

Const-me commented 1 year ago

@juntaosun Implemented in version 1.11 for command-line and power shell.

ldcx9 commented 9 months ago

@juntaosun Implemented in version 1.11 for command-line and power shell.

I use version 1.14,but is don't word too;

static int[]? parsePrompt( string str ) { if( string.IsNullOrWhiteSpace( str ) ) return null; // TODO: expose whisper_tokenize function, as a method of iModel COM interface throw new NotImplementedException(); }