90 Commits
Author SHA1 Message Date
Georgi GerganovandGitHub fa9d43181f readme : add bench-wts.sh demo 2023-03-06 21:06:27 +02:00
Georgi Gerganov ad1389003d release : v1.2.1 2023-02-28 22:29:12 +02:00
Aaron PhamandGitHub d176160f6f readme : add pybind11 bindings (#538) 2023-02-27 21:02:11 +02:00
Georgi GerganovandGitHub ca21f7ab16 readme : add cython bindings (#9) 2023-02-24 08:46:06 +02:00
Georgi GerganovandGitHub 2407ae8ef0 readme : add Ruby discussion + update .NET discussion 2023-02-15 19:51:54 +02:00
Georgi GerganovandGitHub 9764782bd9 readme : add another .NET repo (#303) 2023-02-14 20:04:03 +02:00
Georgi GerganovandGitHub 3b010f9bed readme : add .NET repo (#303) 2023-02-11 17:35:33 +02:00
Georgi Gerganov b2083c5d02 release : v1.2.0 2023-02-04 09:49:49 +02:00
Georgi GerganovandGitHub f3ee4a9673 whisper : reduce memory usage during inference (#431)
* ggml : add "scratch" buffer support

* ggml : support for scratch ring-buffer

* ggml : bug fix in ggml_repeat()

* ggml : error on scratch buffer overflow

* whisper : use scratch buffers during inference (base model only)

* whisper : update memory usage for all models

* whisper : fix encoder memory usage

* whisper : use whisper_context functions instead of macros

* whisper : fix FF + remove it from README

* ggml : reuse ggml_new_i32

* ggml : refactor the scratch buffer storage

* whisper : reorder scratch buffers in the decoder

* main : add option to disable temp fallback

* Update README.md
2023-02-04 09:45:52 +02:00
Georgi Gerganov 2c3f50a021 release : v1.1.1 2023-01-23 20:23:44 +02:00
Georgi GerganovandGitHub 874bde887e Update README.md 2023-01-16 18:47:31 +02:00
Georgi Gerganov 8738427dd6 cmake : bump version to 1.1.0 2023-01-15 14:33:13 +02:00
Georgi GerganovandGitHub 0b85e8c401 Update README.md 2023-01-15 11:36:20 +02:00
Georgi GerganovandGitHub 8de452c18b Improve decoding (#291)
* whisper : prepare infra for new decoding strategies

* whisper : apply logit filters and compute logprobs

* whisper : add whisper_get_logits()

* whisper : separate self and cross attention memory

Initial step needed for supporting parallel decoders

* whisper : move probs_id buffer to whisper_context

* whisper : refactor kv cache into separate struct

* whisper : move self-attention kv cache to whisper_decoder

* whisper : wip decoding parameters + strategies

* whisper : wip decoding parameters + strategies (part 2)

* whisper : wip decoding parameters + strategies (part 3)

* whisper : wip decoding parameters + strategies (part 4)

* whisper : fix prompt_past update to not include prompt_init

* whisper : temperature + best_of support

* whisper : support for compression_ration_threshold

We actually use entropy, but it is similar

* command : fix example to use logits instead of obsolete probs

* whisper : handle empty sequence ranking

* whisper : add WHISPER_DEBUG + diagnostic prints + new main args

* whisper : minor fixes

* whisper : add beam-search support

* whisper : bug fix when there no previous context

* whisper : add comments

* stream : disable temperature fallback

For real-time processing, we always want a single decoder running at T=0

* whisper.swiftui : update example - fix paths + add empty folders
2023-01-15 11:29:57 +02:00
Ian BickingandGitHub 5e9f33596f readme : clarify main and stream usage (#391)
Give an example of ./main that uses a sample file that's already there, and make the stream example clarify you need `make stream`
2023-01-08 20:18:41 +02:00
Thomas FitzsimmonsandGeorgi Gerganov 1944e7c33e whisper : document POWER VSX support 2023-01-05 23:53:00 +02:00
Georgi GerganovandGitHub 1480a5f1af Update README.md
Add SwiftUI example links
2022-12-23 11:02:46 +02:00
Georgi GerganovandGitHub 4c1fe0c813 Update README.md
Add bindings links / discussions
2022-12-22 18:22:58 +02:00
Georgi GerganovandGitHub afe2db0fe2 Add Roadmap 2022-12-16 23:41:57 +02:00
Georgi Gerganov ea19ed33f1 Update README.md (#46)
Add references to the new Android app
2022-12-16 19:28:51 +02:00
Georgi Gerganov c37c2443c1 Update README.md (#56) 2022-12-16 18:01:05 +02:00
Georgi GerganovandGitHub 812ae3ffbd Update README.md 2022-12-12 20:20:51 +02:00
Georgi Gerganov fcf515de60 bench.wasm : same as "bench" but runs in the browser (#89) 2022-12-11 11:09:10 +02:00
Georgi Gerganov 3b1aacbe6d talk : talk with AI in the terminal 2022-12-10 16:51:58 +02:00
Georgi GerganovandGitHub 3996ecc156 Update README.md 2022-12-07 05:15:46 +02:00
Georgi Gerganov 9fe7306f4b models : add the new "large" model release by OpenAI
The old "large" model is now renamed "large-v1".
If you have been using it, make sure to rename it and download the new
"large" model for best results.
2022-12-06 18:48:57 +02:00
Georgi GerganovandGitHub 6fd5358dd0 Update README.md 2022-11-27 11:30:32 +02:00
Georgi Gerganov 67e819baf4 minor : remove "examples/" prefix from the README 2022-11-26 13:07:54 +02:00
Georgi Gerganov a425365b82 yt-wsp.sh : script to easily transcribe VODs
Thanks to @DaniruKun
ref: https://gist.github.com/DaniruKun/96f763ec1a037cc92fe1a059b643b818

Usage:

  cd whisper.cpp
  make

  ./examples/yt-wsp.sh <video-url>
2022-11-26 12:54:42 +02:00
Georgi GerganovandGitHub e0e864d9ca Update README.md 2022-11-26 11:56:55 +02:00
Georgi Gerganov 68ecadbbc9 command.wasm : add voice assistant example for the Web (#171)
Same as the command-line tool "command", but runs in the browser

Also, added helper script "extra/deploy-wasm.sh" and fixed some timing
constants for the WASM examples.
2022-11-26 11:40:06 +02:00
Georgi Gerganov 1246dd023e command : add demonstration video 2022-11-25 20:23:58 +02:00
Georgi Gerganov bc88eb13c6 examples : add "command" tool (#171) 2022-11-25 19:36:57 +02:00
Georgi Gerganov b8ce25dec1 refactoring : more readable code 2022-11-25 19:28:04 +02:00
Georgi GerganovandGitHub 2c0501b38a Update README.md 2022-11-24 20:06:51 +02:00
Georgi Gerganov 35cd29ce1f ggml : fix cross-compile Linux -> Window with mingw (#168) 2022-11-23 22:28:41 +02:00
Georgi Gerganov a156a358ca Revert "update README.md"
This reverts commit 6a84147113.
2022-11-23 22:16:50 +02:00
katsu560andGeorgi Gerganov 6a84147113 update README.md 2022-11-23 22:16:33 +02:00
Georgi GerganovandGitHub 363a2dadec Update README.md 2022-11-23 09:53:55 +02:00
Georgi GerganovandGitHub 623a486056 Update README.md 2022-11-23 09:52:36 +02:00
Georgi GerganovandGitHub 2e311a2917 Update README.md 2022-11-21 18:52:20 +02:00
Georgi Gerganov 864a78a8d0 models : change default hosting to Hugging Face
My Linode is running out of monthly bandwidth due to the big interest in
the project
2022-11-15 19:47:06 +02:00
Georgi GerganovandGitHub 8fdfb0ba92 Update README.md 2022-11-06 21:04:21 +02:00
Georgi GerganovandGitHub a09e9123ca Update README.md 2022-11-05 08:44:41 +02:00
Georgi GerganovandGitHub 0e689f83d8 Update README.md 2022-11-02 22:03:27 +02:00
Georgi Gerganov d5afebd37c whisper : token-level timestamp refactoring (#49, #120)
This turned out pretty good overall. The algorithm has been moved from
main.cpp to whisper.cpp and can be reused for all subtitles types. This
means that now you can specify the maximum length of the generated
lines. Simply provide the "-ml" argument specifying the max length in
number of characters
2022-11-02 21:45:54 +02:00
Georgi GerganovandGitHub 4b1c32e8ea Update README.md 2022-11-02 18:33:29 +02:00
Georgi Gerganov b5dde365e9 extra : compute SHA of all models files 2022-11-02 18:31:55 +02:00
Georgi GerganovandGitHub e46bc56e71 Update README.md 2022-11-01 22:47:58 +02:00
Georgi GerganovandGitHub b0f2aa0ea6 Update README.md 2022-10-30 17:10:46 +02:00