Niko
078507576f
Fix clippy lint
2023-10-06 21:06:13 -06:00
0/0
3ca3a5deb6
Merge pull request #83 from marmistrz/ggml-bind
...
Safely expose some of the ggml_cpu_has... routines
2023-08-22 00:45:11 +00:00
Marcin Mielniczuk
0a85f8013a
Safely expose some of the ggml_cpu_has... routines
2023-08-22 02:22:57 +02:00
travolin
bdfbeb6c60
Add access to segment text as bytes
2023-08-17 17:09:26 -07:00
Marcin Mielniczuk
0e74df12a9
Improve the docs
2023-08-11 22:22:33 +02:00
Marcin Mielniczuk
ddabeb4c0b
Add a rustified progress callback.
2023-08-11 15:10:50 +02:00
fakecore
81e1466784
feat: expose whisper_rs_sys::{whisper_context,whisper_state} for callback function
2023-08-01 00:57:57 +08:00
Zero
912e5a778f
Merge remote-tracking branch 'origin/master'
2023-07-22 17:44:29 -06:00
Zero
c36f54e7a6
fix broken nightly compilation with simd feature
2023-07-22 17:44:19 -06:00
jbrough
fcb477cc5e
calculate mel.n_len as mel spectrogram stride len
2023-07-22 06:53:12 +01:00
Zero
1acffbac45
update whisper-rs to 0.8.0
2023-05-14 14:34:53 -06:00
Zero
343a3029fb
Merge remote-tracking branch 'origin/master'
2023-05-10 16:31:34 -06:00
Zero
fc062e7541
fix incorrect doc comments
2023-05-10 14:03:16 -06:00
0/0
ee7ab3c401
Merge pull request #52 from jcsoo/get-logits
...
Change get_logits to return a single slice
2023-05-10 19:53:51 +00:00
Jonathan Soo
47f53af20d
Make SamplingStrategy Debug + Clone
2023-05-08 09:35:09 -04:00
Jonathan Soo
3811a77dce
Change get_logits to return a single slice
2023-05-08 09:31:54 -04:00
Zero
6d2b6251ff
update to v1.4.1
2023-05-05 21:52:06 -06:00
0/0
d77108fca6
Change token_to_str to return &str instead of String
2023-05-05 01:33:06 +00:00
0/0
a7caf1b96a
Merge pull request #48 from jcsoo/token_to_cstr
...
Add token_to_cstr
2023-05-05 01:30:37 +00:00
Jonathan Soo
c2372dbae9
Add token_to_cstr
2023-05-04 19:35:37 -04:00
Jonathan Soo
44e34ba301
Add test using tiny.en model behind a feature flag
2023-05-04 19:18:51 -04:00
Jonathan Soo
908e96f9da
Convert text to CString
2023-05-04 19:17:29 -04:00
Yuniru Yuni
ef4b9f0630
migrate state method into state object
2023-04-30 09:09:29 +09:00
yuniruyuni
473b19cf22
fix: public WhisperState from lib
2023-04-26 11:54:58 +09:00
yuni
9b57c8ef3f
fix: typo
...
Co-authored-by: 0/0 <zero@imaskeleton.me>
2023-04-25 23:19:00 +09:00
Yuniru Yuni
4e334f4baa
docs: delete id arguments from create_state description
2023-04-25 23:04:54 +09:00
Yuniru Yuni
3a1fd683d6
refactor: delete errors for state-id
...
because it's already deleted from state management.
2023-04-25 22:59:13 +09:00
Yuniru Yuni
6169229e60
refactor: delete map for State and expose struct with lifetime
2023-04-25 22:49:17 +09:00
Yuniru Yuni
9c5aa63e4b
impl Error to improve compatibility
...
impl std::error::Error for WhisperError to improve error compatibility.
std::error::Error is trait for erorrs and it's standard.
and some of error handling libraries requires Error implemented struct for Result.
for examples: error-stack
2023-04-18 15:54:52 +09:00
Zero
13d44e5881
add changes from whisper.cpp update
2023-04-17 17:57:00 -06:00
James Bruska
d8271e31d0
Changed convert_stereo_to_mono_audio to return a Result
2023-03-27 11:49:13 -04:00
James Bruska
30ff41989b
Ran cargo fmt
2023-03-27 10:35:23 -04:00
James Bruska
bad88c38d8
Change comments for convert_stereo_to_mono_audio functions
2023-03-26 11:44:24 -04:00
James Bruska
1873288db0
Fixed odd value length bug in convert_stereo_to_mono_audio functions
2023-03-23 13:44:53 -04:00
James Bruska
31260475dc
Change assert_stereo_to_mono_simd test to exibit issue of odd length value
2023-03-23 12:41:26 -04:00
0/0
56bef8c671
remove outdated doc comment
2023-02-08 14:44:57 -07:00
0/0
ad9146aa91
add SamplingStrategy default
2023-02-08 14:44:36 -07:00
0/0
edac524756
update to latest whisper.cpp
2023-02-07 10:04:10 -07:00
0/0
0da39195c0
disable clippy::uninlined_format_args
2023-02-06 18:59:38 -07:00
0/0
0c84524b6d
remove unused import
2022-12-14 17:22:08 -07:00
0/0
4da16a45a3
handle error codes more often
2022-12-14 17:21:10 -07:00
0/0
f810c63a39
add new params
2022-12-14 17:11:57 -07:00
0/0
491eeeadde
don't forget import
2022-12-14 17:11:22 -07:00
0/0
ce734cca04
add WhisperTokenData type
2022-12-14 17:11:09 -07:00
0/0
cc05ecfd42
add whisper_full_get_token_data
2022-12-14 17:10:53 -07:00
0/0
eda8559cc8
add whisper_reset_timings
2022-12-14 17:10:21 -07:00
0/0
aa287e2ea6
inline functions that just call directly down to others
2022-12-14 17:10:01 -07:00
0/0
b4459e5e53
remove useless error handling
2022-12-14 17:08:37 -07:00
0/0
462f6c7b13
change return types
2022-12-14 17:04:38 -07:00
0/0
8317096daa
remove extra bracket
2022-12-14 17:03:44 -07:00