whisper.cpp/bindings
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
..
go bindings/go : add linker flags to make metal work (#1944) 2024-03-09 18:50:44 +02:00
ios@b21b6ff325 release : v1.5.4 2024-01-05 17:11:27 +02:00
java whisper : suppress tokens with a regex (#1997) 2024-04-09 18:27:28 +03:00
javascript docs : make model options / model install methods clearer (#1806) 2024-01-26 17:39:54 +02:00
ruby ruby : fix build (#1980) 2024-03-21 07:40:09 +02:00
CMakeLists.txt Node.js package (#260) 2022-12-12 20:17:27 +02:00