Georgi Gerganov
3fe3898ebb
Update README.md
2 years ago
Georgi Gerganov
81c185576c
Update README.md
2 years ago
Georgi Gerganov
744bd47685
Merge pull request #67 from undefdev/defensive-apple-arm-make
...
added handling for falsely as x86_64 announced ARM Macs
2 years ago
Georgi Gerganov
66b3169d39
ci : disable tests temporarily
2 years ago
undef
19a780afe5
added handling for falsely as x86_64 announced ARM Macs
2 years ago
Georgi Gerganov
1969ee4bc7
Update README.md
2 years ago
Georgi Gerganov
0e4fd43400
stream : print warning when processing is not fast enough
2 years ago
Georgi Gerganov
19817711b4
Add reference to FP16 repo
2 years ago
Georgi Gerganov
7eeef0358a
ref #52 : improve greedy sampling strategy
...
Force timestamp token to be sampled if the probability sum over all
timestamp tokens is above the probability of any other token
2 years ago
Georgi Gerganov
632660abb9
CMake support for Accelerate framework
2 years ago
Georgi Gerganov
e36aabe00d
Correct implementation of FP16 GELU
...
Can toggle it via the GGML_GELU_FP16 macro
2 years ago
Georgi Gerganov
2d171ced32
close #32 : add comment about thread-safety of the C-style API
2 years ago
Georgi Gerganov
e30cf83158
ref #57 , #62 , #63 : remove unions in C-api + remove designated initializers
...
We are not ready for designated initializers - many compilers do not
support this C++ feature yet, so removing it's non-trivial usages.
2 years ago
Georgi Gerganov
d6b84b2a23
ref #62 : fix build for some compilers
...
For some reason, new version of GCC panic when the struct type is not
specified explicitly
2 years ago
Georgi Gerganov
b4a3875b2c
Revert recent sampling change
...
It does not actually help and seems to produce worse results on some of
the samples
2 years ago
Georgi Gerganov
cf67bfffa0
Fix EOT token handling
...
If it is the end of the audio, pick all sampled tokens.
Otherwise, print error message.
2 years ago
Georgi Gerganov
91632eb6ea
Revert GELU change
...
Seems it does not work on x86 for some reason
2 years ago
Georgi Gerganov
b81a81d543
Link Accelerate framework to "stream" example
2 years ago
Georgi Gerganov
d14823582d
Try to improve the sampling strategy a bit
...
It sill fails sometimes when it does not sample a timestamp token for
the entire segment. We now print a message in such cases
2 years ago
Georgi Gerganov
20d8e7a309
Fix memory sizes
2 years ago
Georgi Gerganov
72d967bce4
Use Accelerate framework on Apple silicon
...
Huge performance improvement in the Encode (almost x2 on MacBook M1 Pro)
Also various extra optimizations:
- Multi-threaded NORM operator
- Faster GELU via F16 cast
2 years ago
Georgi Gerganov
130b5c02d6
Adding helper script for converting the PT models
2 years ago
Georgi Gerganov
0e858f080d
close #56 : build on FreeBSD
...
Thanks to @abelbabel for the contribution
2 years ago
Georgi Gerganov
f24d940ca9
Merge pull request #58 from r0y6a3n0/master
...
fix decode missing token issue
2 years ago
RyanChang
949f97a8b4
fix missing token issue
2 years ago
Georgi Gerganov
0ad085f5e8
ref #48 : clear results at the start of whisper_full
...
This way, even if the input audio is empty, the previous results will be
removed.
2 years ago
Georgi Gerganov
36945162fa
Update README.md (ref #50 )
2 years ago
Georgi Gerganov
b2f1600aa3
Update README.md
2 years ago
0/0
b799226973
check if spectogram length is <100 before doing anything else
...
fixes #39
2 years ago
Topping1
1348796a93
Update README.md ( #43 )
...
* Update README.md
Updated README.md to list new features, such as subtitle file support (VTT and SRT)
* Update README.md
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
2 years ago
Georgi Gerganov
40609cb49b
Merge pull request #42 from iboB/msvc-build
...
ref #5 : MSVC build
2 years ago
Borislav Stanimirov
0b45d25151
Building with MSVC
2 years ago
Borislav Stanimirov
28252352d7
Visual Studio ignored dirs
2 years ago
Georgi Gerganov
8d94358251
Update README.md
2 years ago
Georgi Gerganov
ad6693fb64
Update README.md
2 years ago
Georgi Gerganov
01c9e96f64
stream : improve real-time transcription
2 years ago
Georgi Gerganov
63b6786767
Minor
2 years ago
Georgi Gerganov
f7ab81fe51
Update README.md
2 years ago
Georgi Gerganov
eac4f12777
Merge pull request #36 from Topping1/master
...
Fix SRT timestamp format from mm:ss.sss to hh:mm:ss.sss
2 years ago
Georgi Gerganov
9d5723435f
ref #35 : add <stdbool.h> to whisper.h
...
"bool" type is not implicitly defined for some compilers.
2 years ago
Georgi Gerganov
6e29d8453c
Merge pull request #34 from tazz4843/master
...
Add static library make target
2 years ago
Topping1
50b5fe964c
Update main.cpp
2 years ago
0/0
64752acd27
add static library make target
2 years ago
Georgi Gerganov
7edaa7da4b
Merge pull request #31 from lkwq007/master
...
Add MinGW support
2 years ago
lnyan
4bbb8a587b
Add MinGW support
2 years ago
Georgi Gerganov
4a6bf11db3
Minor
2 years ago
Georgi Gerganov
9bbca3110f
ref #9 : add API documentation in whisper.h
2 years ago
Georgi Gerganov
5e563ef635
Fix Makefile for MacBook Intel
2 years ago
Georgi Gerganov
2ca8cc77b2
ref #17 : print whisper logs to stderr
...
Only the transcribed/translted text is printed to stdout.
This way, one can redirect the result to a file.
2 years ago
Georgi Gerganov
8c7c018893
ref #17 : add options to output result to file
...
Support for:
- plain text
- VTT
- SRT
2 years ago