summaryrefslogtreecommitdiffstats
path: root/GUI
diff options
context:
space:
mode:
authoryum <yum.food.vr@gmail.com>2024-06-05 18:15:47 -0700
committeryum <yum.food.vr@gmail.com>2024-06-05 18:15:47 -0700
commit4f0fb5b17de990517e3c1de7ffee5d0f3c9a8961 (patch)
tree2a1d1b33af881a651037af040b4ba8e7860a58db /GUI
parent5638d86c97041de31217e058e411034143e9c882 (diff)
Upgrade faster-whisper with flash-attention2
This should be significantly more efficient than prior versions. * add large-v3 & distilled variant * simplify model acquisition code now that distilled models are part of faster-whisper.
Diffstat (limited to 'GUI')
-rw-r--r--GUI/GUI/GUI/Frame.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/GUI/GUI/GUI/Frame.cpp b/GUI/GUI/GUI/Frame.cpp
index 908a54c..2ee6f1b 100644
--- a/GUI/GUI/GUI/Frame.cpp
+++ b/GUI/GUI/GUI/Frame.cpp
@@ -459,14 +459,17 @@ namespace {
"tiny",
"base.en",
"base",
+ "distil-small.en",
"small.en",
"small",
- "Systran/faster-distil-whisper-medium.en",
+ "distil-medium.en",
"medium.en",
"medium",
- "Systran/faster-distil-whisper-large-v2",
"large-v1",
+ "distil-large-v2",
"large-v2",
+ "distil-large-v3",
+ "large-v3",
};
const size_t kNumModelChoices = sizeof(kModelChoices) / sizeof(kModelChoices[0]);
constexpr int kModelDefault = 2; // base.en