whisper.cpp/examples
Evan Jones 3e5c7feeff
whisper : add grammar-based sampling ()
* whisper : add grammar-based sampling

* build : fix after master merge

* command : fix exception when recognizing the command

* whisper : fine-tuning grammar functionality

* command : grammar-related improvements

- option to read grammar from file
- add sample grammars for colors and chess moves
- fine-tune the performance further

* grammars : add assistant + update comments

* command : enable beam-search, add "no_timestamps", add "context", add p

* whisper : remove comment

---------

Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2023-11-13 10:51:34 +02:00
..
addon.node whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
bench whisper : add support for large v3 () 2023-11-07 15:30:18 +02:00
bench.wasm whisper : add support for large v3 () 2023-11-07 15:30:18 +02:00
command whisper : add grammar-based sampling () 2023-11-13 10:51:34 +02:00
command.wasm whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
lsp whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
main whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
quantize quantize : fix load vocab crash when len is 128 () 2023-08-06 11:04:42 +03:00
stream whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
stream.wasm whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
talk whisper : add full CUDA and Metal offloading () 2023-11-12 15:31:08 +02:00
talk-llama talk-llama : add n_gpu_layers parameter () 2023-11-13 10:04:16 +02:00
talk.wasm whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
whisper.android examples : add whisper.android.java for compatibility with older Android versions using Java () 2023-11-12 18:31:58 +02:00
whisper.android.java examples : add whisper.android.java for compatibility with older Android versions using Java () 2023-11-12 18:31:58 +02:00
whisper.nvim examples : vim plugin and LSP server () 2023-08-27 21:35:06 +03:00
whisper.objc whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
whisper.swiftui ios : add support for Swift Package Manager () 2023-11-07 23:53:31 +02:00
whisper.wasm whisper : add context param to disable gpu () 2023-11-06 11:04:24 +02:00
CMakeLists.txt whisper : add grammar-based sampling () 2023-11-13 10:51:34 +02:00
common-ggml.cpp ggml : sync latest ggml lib 2023-06-25 14:30:44 +03:00
common-ggml.h whisper : add integer quantization support () 2023-04-30 18:51:57 +03:00
common-sdl.cpp examples : refactor in order to reuse code and reduce duplication () 2023-02-15 19:28:10 +02:00
common-sdl.h examples : refactor in order to reuse code and reduce duplication () 2023-02-15 19:28:10 +02:00
common.cpp sync : ggml (backend v2, k-quants, CUDA opts, Metal opts, etc.) () 2023-11-03 21:35:05 +02:00
common.h whisper : add full CUDA and Metal offloading () 2023-11-12 15:31:08 +02:00
dr_wav.h refactoring : move main + stream in examples + other stuff 2022-10-25 20:53:48 +03:00
generate-karaoke.sh minor : add comment for using "generate_karaoke.sh" 2022-11-26 10:22:42 +02:00
grammar-parser.cpp whisper : add grammar-based sampling () 2023-11-13 10:51:34 +02:00
grammar-parser.h whisper : add grammar-based sampling () 2023-11-13 10:51:34 +02:00
helpers.js whisper : add integer quantization support () 2023-04-30 18:51:57 +03:00
livestream.sh whisper : add support for large v3 () 2023-11-07 15:30:18 +02:00
twitch.sh whisper : add support for large v3 () 2023-11-07 15:30:18 +02:00
yt-wsp.sh yt-wsp.sh : print help on empty args 2023-02-18 09:42:31 +02:00