~fitzsim/whisper.cpp

478289a4b393904b91df06e0b1ec7552ba25a338 — Georgi Gerganov 1 year, 9 months ago 5e94129
whisper : set no_context == true by default (#537)
2 files changed, 1 insertions(+), 2 deletions(-)

M examples/stream/stream.cpp
M whisper.cpp
M examples/stream/stream.cpp => examples/stream/stream.cpp +0 -1
@@ 288,7 288,6 @@ int main(int argc, char ** argv) {
            wparams.print_realtime   = false;
            wparams.print_timestamps = !params.no_timestamps;
            wparams.translate        = params.translate;
            wparams.no_context       = true;
            wparams.single_segment   = !use_vad;
            wparams.max_tokens       = params.max_tokens;
            wparams.language         = params.language.c_str();

M whisper.cpp => whisper.cpp +1 -1
@@ 2913,7 2913,7 @@ struct whisper_full_params whisper_full_default_params(enum whisper_sampling_str
        /*.duration_ms      =*/ 0,

        /*.translate        =*/ false,
        /*.no_context       =*/ false,
        /*.no_context       =*/ true,
        /*.single_segment   =*/ false,
        /*.print_special    =*/ false,
        /*.print_progress   =*/ true,