Commit Graph

89 Commits (1512545149e9463c0b478cd0203638c501b0ac29)

Author SHA1 Message Date
Syahmi Azhar 1512545149
whisper : add loader class to allow loading from buffer and others (#353)
1 year ago
Georgi Gerganov 65fdcbbbbb
whisper : revert accidental MB change
1 year ago
Georgi Gerganov d61d55cd4b
ggml : speed-up soft max via Accelerate + unroll
1 year ago
Abitofevrything a62170c656
ggml : add SSE3 and fp16 conversion lookup table (#368)
1 year ago
Thomas Fitzsimmons 1944e7c33e whisper : document POWER VSX support
1 year ago
Georgi Gerganov ad2a4ffa03
whisper : do not use F16 tensors when in F32 mode (#369)
1 year ago
Andy Maloney dd6d582977 whisper : use ranged-based for loops for readability
1 year ago
Georgi Gerganov d51c5eb906
ggml : define MIN / MAX only if not defined (minor)
1 year ago
Georgi Gerganov d97e6005e9
whisper : add whisper_n_audio_ctx and check for invalid audio_ctx
1 year ago
Georgi Gerganov 68daf6e487
whisper : avoid some memory allocations
1 year ago
Georgi Gerganov ac521a566e
ggml : simplify the SIMD code (#324)
1 year ago
Andy Maloney 543bd5627e
whisper : use emplace_back in place of push_back (#319)
1 year ago
Andy Maloney 62fee9a9cc
whisper : fix mem leak on failure to load model (#318)
1 year ago
Andy Maloney fa463313ad
minor : small code cleanups (#302)
1 year ago
Georgi Gerganov 501a6b455c minor : flag "ARM FMA" -> "ARM_FMA"
1 year ago
Kevin Brothaler e1432dd91a Check for both __ARM_NEON and __ARM_FEATURE_FMA so that the project can be compiled for armv7a.
1 year ago
Andy Maloney 42c6730732
whisper : use nullptr (C++11) instead of NULL macro (#299)
1 year ago
Georgi Gerganov 99da1e5cc8
cmake : enable and fix -Wall -Wextra -Wpedantic C++ warnings
1 year ago
Matheus de Sousa 8e3f129b4d
minor : resolves some of warnings when compiling with clang/clang++ (#294)
1 year ago
Georgi Gerganov fba10a4c68 whisper : language auto-detect (#59)
1 year ago
Georgi Gerganov 6a69e3ae27 command : adding guided mode
1 year ago
Georgi Gerganov bf69b669a0 whisper : add whisper_tokenize()
1 year ago
Georgi Gerganov 6a7c82501e
whisper : improve decoding strategy (#244)
1 year ago
Georgi Gerganov 124c718c73
whisper : fix UB when reading buffer of length 0 bytes (#265)
1 year ago
Roland Rabien e70d47baab
Remove C++20 requirement (#257)
1 year ago
bert hubert d1da35de06 fix potential bug reading model data into a small size optimized string which could lead to memory corruption. In an SSO string, you can't write data to &str[0] and expect it to work well.
1 year ago
Georgi Gerganov 603f97ba11
whisper : minor improvemnt in decoding strategy (#244)
1 year ago
Georgi Gerganov f8ec718b76
ggml : add F16C CPU flag check
1 year ago
Georgi Gerganov 78d13257be
Try to improve the token sampling strategy (#193)
1 year ago
Georgi Gerganov 4698dcdb52 whisper : add mechanism for aborting the whisper_full() computation
2 years ago
Georgi Gerganov e266cb0723
whisper.objc : add real-time processing (#97)
2 years ago
Georgi Gerganov c207eed431
whisper.objc : fix build warnings
2 years ago
Georgi Gerganov be16dfa038
whisper.wasm : do not block page while processing (close #86)
2 years ago
Georgi Gerganov b8ce25dec1
refactoring : more readable code
2 years ago
Georgi Gerganov 128aaadb93
whisper : improve printfs
2 years ago
katsu560 83456076f0 add AVX support
2 years ago
Georgi Gerganov 49706a658a
minor : updates few prints + fix buttons in whisper.wasm
2 years ago
Georgi Gerganov 385236d1d3
stream : "-kc" now enables context keeping from previous segment (#90)
2 years ago
M. Eren Akbiyik 63ae03b8e0
Prompt previous tokens for streaming (#163)
2 years ago
Georgi Gerganov a4dfbeecf9
talk.wasm : GPT-2 meets Whisper in WebAssembly (#155)
2 years ago
Georgi Gerganov fb8d77f760 stream : add "audio_ctx" parameter
2 years ago
Georgi Gerganov 62b5ff875c stream : add "max_tokens" parameter
2 years ago
Georgi Gerganov d351771a4b stream : add "single_segment" option
2 years ago
Georgi Gerganov c058aaf22e stream : partial encoder experiments
2 years ago
greeshmay 2ba66360c9
fix: free ggml_context (close #149) (#150)
2 years ago
Georgi Gerganov 83c742f1a7 whisper : add option to speed up the audio tempo by x2
2 years ago
Georgi Gerganov c30bffc8a5
ref #22 : add "duration" option
2 years ago
Georgi Gerganov d5afebd37c
whisper : token-level timestamp refactoring (#49, #120)
2 years ago
Georgi Gerganov 02dfd5b8c3
whisper : fix extra memory usage after recent processor changes
2 years ago
Georgi Gerganov 57fb46f307 main : add option for word-leve timestamps (very experimental)
2 years ago