Niko
937bc78f45
Fix clippy lints
2024-01-03 20:31:08 -07:00
Niko
5230735222
Fix possible segmentation fault
2024-01-03 20:26:08 -07:00
Chris Raethke
41d73af64c
Merge branch 'master' into add_initial_prompt_param
2023-11-27 12:57:18 +10:00
Chris Raethke
9aa2429606
Add examples for set_initial_prompt(...)
2023-11-27 11:53:19 +10:00
Chris Raethke
8c8a5d78d9
Add set_initial_prompt to WhisperParams
2023-11-27 11:15:57 +10:00
Chris Raethke
a07e27ed42
Update WhisperContextParameters to &mut to avoid borrow issues
2023-11-21 18:30:59 +10:00
Chris Raethke
ef7d037d75
Expose WhisperGrammar* from the lib
2023-11-21 18:30:08 +10:00
Chris Raethke
8d462f5dd3
Expose WhisperContextParameters and update examples
2023-11-20 20:42:34 +10:00
Niko
bd197a36f3
Fix windows build
2023-11-16 20:34:25 -07:00
Niko
8690d35deb
Update whisper.cpp to v1.5 and add all structs
2023-11-16 18:56:50 -07:00
Marcin Mielniczuk
99ebf2bea5
Add an OpenBLAS feature
2023-10-08 14:11:07 +02:00
Niko
4b45810dca
Update whisper.cpp
2023-10-06 21:49:40 -06:00
Niko
f2d528e3c1
Merge branch 'master' into whisper-8e46ba8
2023-10-06 21:09:58 -06:00
Niko
d6da605de1
Revert "Add OpenVINO support"
...
This reverts commit 5c140c14
2023-10-06 21:09:23 -06:00
Niko
078507576f
Fix clippy lint
2023-10-06 21:06:13 -06:00
Zero
749c18cfee
cargo fmt
2023-08-28 17:09:46 -06:00
Zero
6668c4e2aa
Add support for tdrz and debug mode
2023-08-28 17:04:38 -06:00
Zero
851fca36d7
Add new nosp token
2023-08-28 17:04:08 -06:00
Zero
5c140c14d4
Add OpenVINO support
2023-08-28 16:41:25 -06:00
Zero
66f8aaeb86
Update whisper.cpp to 8e46ba80d3c1dcf532a0029f9bcdf99ce9ce7d40
2023-08-28 16:38:14 -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