Commit Graph

115 Commits (32d1a7b65286cf0db582181040bed7adcdc7eba6)

Author SHA1 Message Date
tinoue 32d1a7b652 whisper.android: Support benchmark for Android example.
2 years ago
Georgi Gerganov 373043cabe
whisper : zero-initialize some more context variables
2 years ago
Finn Voorhees fb4d0d470f whisper : fix uninitialized exp_n_audio_ctx
2 years ago
Georgi Gerganov 0d229163bb
whisper : add API for applying custom logits filters during decoding
2 years ago
Georgi Gerganov a94897bcde
whisper : by default disable non-speech tokens suppression (#473)
2 years ago
shikokuchuo 0336161b7d
whisper : fix signedness compiler warning (#506)
2 years ago
shibukazu cfc06bf8df
whisper : suppress non-speech-related token outputs (#473)
2 years ago
sandrohanea 2bfe0ebc0f
whisper : fixed Beam Search Strategy and exposed whisper_pcm_to_mel_phase_vocoder (#474)
2 years ago
boolemancer 4dd7119deb
whisper : only trim if split_on_word is true (#476)
2 years ago
kamranjon a1c1583cc7
whisper : add whisper_full_lang_id() for getting the context lang (#461)
2 years ago
Matija Pevec d012b5c7e4
whisper : add "split_on_word" flag when using using "max_len" option (#455)
2 years ago
Georgi Gerganov f3ee4a9673
whisper : reduce memory usage during inference (#431)
2 years ago
Georgi Gerganov 291980369c
whisper : suppress task tokens (#442)
2 years ago
Georgi Gerganov b992f3709e
whisper : do not provide past prompt when n_max_text_ctx == 0
2 years ago
Georgi Gerganov b5ddb16ec7
whisper : condition timestamps to be monotonically increasing (#425)
2 years ago
fitzsim ae16c21e9c
whisper : PPC64 big-endian support (#398)
2 years ago
Georgi Gerganov 78f166174f
whisper : fix condition for providing past prompt (critical)
2 years ago
Georgi Gerganov 21c569ba4a
whisper : extend information in whisper_print_timings()
2 years ago
Georgi Gerganov 1a91c19af9
whisper : perform entropy check only when we have at least 32 tokens (#412)
2 years ago
Georgi Gerganov a6cf6f4c4a
bench : minor fixes
2 years ago
Georgi Gerganov 1ccb8a46a5
bench : fix Windows linkage by moving ggml benches in whisper lib ..
2 years ago
Georgi Gerganov 8088a977af
whisper : fix possible uninitialized variables (#291)
2 years ago
Georgi Gerganov 00ea21668b
whisper : account speed_up flag for short audio (close #405)
3 years ago
Georgi Gerganov 8de452c18b
Improve decoding (#291)
3 years ago
Georgi Gerganov 4ef3398e8f
ggml : remove obsolete zeroing + comment fixes (#390)
3 years ago
boolemancer 08dc705a69
whisper : fix sample_to_timestamp calculation with 64 bit precision to avoid overflow (#388)
3 years ago
Syahmi Azhar 1512545149
whisper : add loader class to allow loading from buffer and others (#353)
3 years ago
Georgi Gerganov 65fdcbbbbb
whisper : revert accidental MB change
3 years ago
Georgi Gerganov d61d55cd4b
ggml : speed-up soft max via Accelerate + unroll
3 years ago
Abitofevrything a62170c656
ggml : add SSE3 and fp16 conversion lookup table (#368)
3 years ago
Thomas Fitzsimmons 1944e7c33e whisper : document POWER VSX support
3 years ago
Georgi Gerganov ad2a4ffa03
whisper : do not use F16 tensors when in F32 mode (#369)
3 years ago
Andy Maloney dd6d582977 whisper : use ranged-based for loops for readability
3 years ago
Georgi Gerganov d51c5eb906
ggml : define MIN / MAX only if not defined (minor)
3 years ago
Georgi Gerganov d97e6005e9
whisper : add whisper_n_audio_ctx and check for invalid audio_ctx
3 years ago
Georgi Gerganov 68daf6e487
whisper : avoid some memory allocations
3 years ago
Georgi Gerganov ac521a566e
ggml : simplify the SIMD code (#324)
3 years ago
Andy Maloney 543bd5627e
whisper : use emplace_back in place of push_back (#319)
3 years ago
Andy Maloney 62fee9a9cc
whisper : fix mem leak on failure to load model (#318)
3 years ago
Andy Maloney fa463313ad
minor : small code cleanups (#302)
3 years ago
Georgi Gerganov 501a6b455c minor : flag "ARM FMA" -> "ARM_FMA"
3 years ago
Kevin Brothaler e1432dd91a Check for both __ARM_NEON and __ARM_FEATURE_FMA so that the project can be compiled for armv7a.
3 years ago
Andy Maloney 42c6730732
whisper : use nullptr (C++11) instead of NULL macro (#299)
3 years ago
Georgi Gerganov 99da1e5cc8
cmake : enable and fix -Wall -Wextra -Wpedantic C++ warnings
3 years ago
Matheus de Sousa 8e3f129b4d
minor : resolves some of warnings when compiling with clang/clang++ (#294)
3 years ago
Georgi Gerganov fba10a4c68 whisper : language auto-detect (#59)
3 years ago
Georgi Gerganov 6a69e3ae27 command : adding guided mode
3 years ago
Georgi Gerganov bf69b669a0 whisper : add whisper_tokenize()
3 years ago
Georgi Gerganov 6a7c82501e
whisper : improve decoding strategy (#244)
3 years ago
Georgi Gerganov 124c718c73
whisper : fix UB when reading buffer of length 0 bytes (#265)
3 years ago