diff --git a/Changelog.txt b/Changelog.txt index 53eed07eb..26125ca02 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -12,6 +12,7 @@ * Add "LM Studio" translate (local) - thx fznx922 * Add Ollama translate (local) - thx despairTK/Copy2Translator * Add Antrophic translate + * Add distilled models for Purfview Faster Whisper * IMPROVED: * Update German translation - thx Netspark * Update Spanish AR & MX translation - thx jmaraujouy @@ -19,6 +20,7 @@ * Update Italian language - thx bovirus * Update Russian translation - thx elfriob * Update Korean translation - thx domddol + * Update Portuguese translation - thx hugok79 * Improve "Karaoke effect" + new option - thx ivandrofly * Make "Timed Text IMSC 1.1" more compatible * Improve EBU STL preview regarding box - thx BlueMeow7 diff --git a/src/libse/AudioToText/WhisperPurfviewFasterWhisperModel.cs b/src/libse/AudioToText/WhisperPurfviewFasterWhisperModel.cs index 7c0346f0a..c2f193b69 100644 --- a/src/libse/AudioToText/WhisperPurfviewFasterWhisperModel.cs +++ b/src/libse/AudioToText/WhisperPurfviewFasterWhisperModel.cs @@ -1,6 +1,7 @@ using Nikse.SubtitleEdit.Core.Common; using System.Collections.Generic; using System.IO; +using static System.Net.WebRequestMethods; namespace Nikse.SubtitleEdit.Core.AudioToText { @@ -116,6 +117,35 @@ namespace Nikse.SubtitleEdit.Core.AudioToText Urls = MakeUrls("https://huggingface.co/Systran/faster-whisper-large-v3/resolve/main"), Folder = "faster-whisper-large-v3", }, + + new WhisperModel + { + Name = "distil-small.en", + Size = "334 MB", + Urls = MakeUrls("https://huggingface.co/Systran/faster-distil-whisper-small.en/resolve/main"), + Folder = "faster-distil-whisper-small.en", + }, + new WhisperModel + { + Name = "distil-medium.en", + Size = "755 MB", + Urls = MakeUrls("https://huggingface.co/Systran/faster-distil-whisper-medium.en/resolve/main"), + Folder = "faster-distil-whisper-medium.en", + }, + new WhisperModel + { + Name = "distil-large-v2", + Size = "1.5 GB", + Urls = MakeUrls("https://huggingface.co/Systran/faster-distil-whisper-large-v2/resolve/main"), + Folder = "faster-distil-whisper-large-v2", + }, + new WhisperModel + { + Name = "distil-large-v3", + Size = "1.5 GB", + Urls = MakeUrls("https://huggingface.co/Systran/faster-distil-whisper-large-v3/resolve/main"), + Folder = "faster-distil-whisper-large-v3", + }, }; private string[] MakeUrls(string baseUrl)