whisper.cpp/examples
ulatekh c8eeb93a6a
whisper : suppress tokens with a regex (#1997)
* Allow a regular expression to describe tokens to suppress.

Example: --suppress-tokens-re "[,\.]|[ ]?[0-9]+" will suppress commas, periods, and numeric tokens.

Technique inspired by https://github.com/openai/whisper/discussions/1041

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>

* Blind change to fix Java test.

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2024-04-09 18:27:28 +03:00
..
addon.node examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
bench examples : fix typo in bench.cpp (#1933) 2024-03-06 22:21:44 +00:00
bench.wasm
command whisper : suppress tokens with a regex (#1997) 2024-04-09 18:27:28 +03:00
command.wasm
lsp examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
main whisper : suppress tokens with a regex (#1997) 2024-04-09 18:27:28 +03:00
python
quantize
server examples : rename --audio-context to --audio-ctx per help text (#1953) 2024-03-18 17:53:33 +02:00
stream readme : add Fedora dependencies (#1970) 2024-03-20 18:42:11 +02:00
stream.wasm stream.wasm : fix invalid memory access when no segments (#1902) 2024-02-26 10:12:35 +02:00
sycl whisper : add SYCL support (#1863) 2024-02-23 09:22:24 +02:00
talk readme : add Fedora dependencies (#1970) 2024-03-20 18:42:11 +02:00
talk-llama talk-llama : sync llama.cpp 2024-04-07 16:21:08 +03:00
talk.wasm examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
wchess cmake : create solution folders (#2004) 2024-04-09 18:23:33 +03:00
whisper.android ggml : 32-bit arm compat (#1891) 2024-02-22 18:31:40 +02:00
whisper.android.java whisper.android.java : fix returns in JNI (#1929) 2024-03-05 15:59:26 +02:00
whisper.nvim
whisper.objc docs : make model options / model install methods clearer (#1806) 2024-01-26 17:39:54 +02:00
whisper.swiftui
whisper.wasm
CMakeLists.txt cmake : create solution folders (#2004) 2024-04-09 18:23:33 +03:00
common-ggml.cpp sync : ggml (#2001) 2024-03-27 18:55:10 +02:00
common-ggml.h
common-sdl.cpp
common-sdl.h
common.cpp talk, talk-llama : pass text_to_speak as a file (#1865) 2024-02-24 09:24:47 +02:00
common.h talk, talk-llama : pass text_to_speak as a file (#1865) 2024-02-24 09:24:47 +02:00
dr_wav.h
generate-karaoke.sh
grammar-parser.cpp
grammar-parser.h
helpers.js
json.hpp examples : clean up common code (#1871) 2024-02-19 10:50:15 +02:00
livestream.sh
twitch.sh
yt-wsp.sh