Commit graph

509 commits

Author SHA1 Message Date
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
0/0
0deb88a347
Merge pull request #54 from jcsoo/coreml-allow-fallback 2023-05-09 15:59:18 +00:00
0/0
b2cd88432f
Merge pull request #53 from jcsoo/sampling-strategy-derives 2023-05-09 15:58:38 +00:00
Jonathan Soo
5c0d6ce957 Allow fallback to GGML when CoreML model not available. 2023-05-08 10:31:03 -04: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
26c5974b44
Merge branch 'master' into cuda-and-opencl-support 2023-05-05 22:51:32 -06:00
Zero
0859b41191
cargo fmt 2023-05-05 22:48:20 -06:00
Zero
6e4c66db0a
add timer for how long transcription takes 2023-05-05 22:48:12 -06:00
Zero
e00568e801
reword error message in example and remove is_file check 2023-05-05 22:47:46 -06:00
Zero
9dd66a3b4b
add libraries to CUDA search path 2023-05-05 22:45:08 -06:00
Zero
e2f39c9c25
fix OpenCL build 2023-05-05 22:38:30 -06:00
Zero
997bc936e4
Merge branch 'master' into cuda-and-opencl-support 2023-05-05 21:58:29 -06:00
Zero
3c216269e3
move rustfmt into its own job as well 2023-05-05 21:57:03 -06:00
Zero
56866a461b
split build and clippy into their own jobs 2023-05-05 21:55:30 -06:00
Zero
49ae135e3f
do a build alongside clippy linting during CI 2023-05-05 21:54:17 -06:00
Zero
6d2b6251ff
update to v1.4.1 2023-05-05 21:52:06 -06:00
Zero
9b3bebf4b5
Initial support for CUDA and OpenCL 2023-05-05 21:17:59 -06:00
0/0
330024a8af
Update README.md
Removes things that were added in #10 and adds note on Linux builds
2023-05-05 16:59:43 +00: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
0/0
3fce9cbbde
Merge pull request #47 from jcsoo/tokenize_with_cstring
Tokenize with cstring
2023-05-05 01:26:47 +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
0/0
b5072d486d
Merge pull request #43 from yuniruyuni/feat/call-method-via-state-object
migrate state method into state object
2023-05-01 20:14:01 +00:00
Yuniru Yuni
ef4b9f0630
migrate state method into state object 2023-04-30 09:09:29 +09:00
0/0
0fe0a87a09
Merge pull request #42 from yuniruyuni/feat/update-sample-in-readme-by-using-state-object
docs: change sample in readme by using state object
2023-04-26 17:51:09 +00:00
yuniruyuni
20c57dc887 fix: full_usage sample build error 2023-04-26 14:48:21 +09:00
yuniruyuni
8feebfb953 fix: audio_transcription sample build error 2023-04-26 14:47:15 +09:00
yuniruyuni
af4bacf80b fix: basic_use sample build error 2023-04-26 14:46:10 +09:00
yuniruyuni
b8ac448252 docs: change sample in readme by using state object 2023-04-26 14:41:57 +09:00
0/0
21333d4ba3
Merge pull request #41 from yuniruyuni/feat/public-whisper-state-module
fix: public WhisperState from lib
2023-04-26 03:56:48 +00:00
yuniruyuni
473b19cf22 fix: public WhisperState from lib 2023-04-26 11:54:58 +09:00
0/0
efd18b6cc1
Merge pull request #39 from yuniruyuni/feat/expose-whisper-state-struct-with-lifetime
refactor: delete map for State and expose struct with lifetime
2023-04-25 14:21:45 +00: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
0/0
bc5fd8ffcb
Merge pull request #38 from chrislemke/master
docs: update readme
2023-04-24 18:09:40 +00:00
Chris Lemke
b871ca78d2
docs: update readme 2023-04-24 20:00:13 +02:00
0/0
1c16aa9e03
Merge pull request #36 from yuniruyuni/patch-1
fix: error message for libwhisper.lib
2023-04-24 01:46:30 +00:00
yuni
91312ee92a
fix: error message for libwhisper.lib
In windows, we are using `libwhisper.lib` instead of `libwhisper.a` so renamed it.
2023-04-24 09:32:30 +09:00
0/0
c7062a2c5d
Merge pull request #35 from jcsoo/feature-coreml
Add coreml feature flag and build.rs updates
2023-04-22 04:16:21 +00:00
Jonathan Soo
3d00a04e69 Clean up formatting 2023-04-21 10:25:15 -04:00
Jonathan Soo
77cdbd6187 Add coreml feature flag and build.rs updates 2023-04-21 07:59:33 -04:00
0/0
93ac3fdb73
Merge pull request #34 from yuniruyuni/feat/impl-error-for-whisper-error 2023-04-18 14:39:10 +00: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
0/0
3e5d0f346c
Merge pull request #33 from tazz4843/whisper-cpp-v1.3.0
Update to whisper.cpp v1.3.0.
2023-04-18 00:37:45 +00:00