whisper.cpp
whisper.cpp copied to clipboard
Port of OpenAI's Whisper model in C/C++
The Go binding current has two errors when building `make test`. The following Dockerfile reproduces error 1: ``` FROM golang:alpine AS build RUN apk add --no-cache git make g++ ARG...
Using the sample audio `whisper-cli -f samples/jfk.wav --grammar grammar.txt --grammar-rule "root" --grammar-penalty 50` with the attached grammar file does not give any output. Am I doing something obviously wrong here?...
The main idea is to create a C facade for grammar loading so that it can easily be used to load/allocate (and later free) grammars via any type of language...
### Problem If I have a word like `escape` in my grammar, sometimes whisper will output the first few letters `esc` instead of the whole word. The expected behavior is...
I'd like to add Go binding support for grammars (for https://github.com/ggerganov/whisper.cpp/issues/1697). It's a bit inconvenient now, because the grammar support is off in an examples directory, and adding stuff from...
Hi, Trying whisper-cpp on a 3 hours long video. I encounter several loop, some having a duration of 30 minutes! This change in Whisper seems to help: https://github.com/openai/whisper/pull/1903 Best regards
Is there a way to turn off this output when calling whisper.New? ``` whisper_init_from_file_with_params_no_state: loading model from '/Users/bill/Downloads/ggml-tiny.en.bin' whisper_init_with_params_no_state: use gpu = 1 whisper_init_with_params_no_state: flash attn = 0 whisper_init_with_params_no_state: gpu_device...
I am following the instructions given in the README. However, I am not able to generate a CoreML model. I did the following steps - ```sh conda create -n py310-whisper...
Now some subtitle items show for too little time, which is almost unable to read when watching a video. Need combinations of subtitle items. A little complex for the algorithm...
This PR adds beam search configuration support to the stream example, allowing users to specify beam size via command line arguments. Changes: - Added `-bs`/`--beam-size` parameter to control beam search...