Georgi Gerganov
491ecd7056
wip : polishing WASM example
2 years ago
Georgi Gerganov
db460b78ff
wip : WASM 128-bit SIMD support
2 years ago
Georgi Gerganov
e905c6f827
wip : initial WASM port
...
Works but it is very slow because no SIMD is used.
For example, jfk.wav is processed in ~23 seconds using "tiny.en" model
2 years ago
Georgi Gerganov
7d0dee7a8a
ref #68 : add option "-on" to specify segment index offset for SRT
...
Also, change option "-o" to "-ot"
2 years ago
Georgi Gerganov
8d15a1c635
ci : fix and re-enable tests (2nd try)
2 years ago
Georgi Gerganov
692aa0784f
Revert "ci : fix and re-enable tests"
...
This reverts commit 80aefc9514
.
2 years ago
Georgi Gerganov
80aefc9514
ci : fix and re-enable tests
2 years ago
Georgi Gerganov
5698b51718
Update README.md
2 years ago
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