]> git.djapps.eu Git - pkg/ggml/sources/whisper.cpp/commit
stream : add "audio_ctx" parameter
authorGeorgi Gerganov <redacted>
Sun, 20 Nov 2022 19:12:01 +0000 (21:12 +0200)
committerGeorgi Gerganov <redacted>
Sun, 20 Nov 2022 19:22:41 +0000 (21:22 +0200)
commitfb8d77f7602903c9029f91467d5ea8e2d1b150c3
treefda87da31c57bd26b3e18ba37bc0541c21937a2f
parent62b5ff875ca64a8818c4594fd0d689657b1967df
stream : add "audio_ctx" parameter

Used to overwrite the audio context size of the Encoder.
For example, setting "audio_ctx = 512" will make it run about 3 times
faster, processing about 10s of audio, instead of 30s.

The transcription quality drops, but this can be used for real-time
streaming purposes where performance is important.
examples/stream/stream.cpp
whisper.cpp
whisper.h