-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
real real-time transcription(real-time subtitle) with English online-…
…TV on Xiaomi 14 at the first time but bug-fix is still required
- Loading branch information
Showing
7 changed files
with
48 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,12 @@ gstreamer/ | |
ncnn/ | ||
CLBlast/ | ||
llamacpp/ | ||
ff-deps/ | ||
ffdeps/ | ||
ffmepg-deps/ | ||
|
||
|
||
ffmpeg-6.1 | ||
|
||
*.a | ||
*.so |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4cd35dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this new fine-tune method was introduced in ggerganov/whisper.cpp#1951
and the meaning of parameter could be found at:
https://github.com/ggerganov/whisper.cpp/blob/master/whisper.h#L489
performance of real-time transcription on Xiaomi14 was improved very significantly by this new fine-tune method,
before fine-tune:
after fine-tune:
but this fine-tune also brings an unexpected side-effect:whispercpp would produce incorrect/repeat tokens or app would crash many times: the inference performance is NOT better then this method but code in previous commit is very robust------almost NO crash
4cd35dd
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, generally speaking or frankly speaking, I really do not know the real meaning of key-point code in this commit because I really know very very little about real/hardcore(not a parameter-finetune engineer but like the great Georgi Gerganov:real AI expert and real modern C++ master) AI tech.
I will revert this commit in the master branch accordingly.