feat: add large-v3 model
This commit is contained in:
@@ -94,7 +94,7 @@ class WhisperModel:
|
||||
|
||||
Args:
|
||||
model_size_or_path: Size of the model to use (tiny, tiny.en, base, base.en,
|
||||
small, small.en, medium, medium.en, large-v1, large-v2, or large), a path to a converted
|
||||
small, small.en, medium, medium.en, large-v1, large-v2, large-v3, or large), a path to a converted
|
||||
model directory, or a CTranslate2-converted Whisper model ID from the Hugging Face Hub.
|
||||
When a size or a model ID is configured, the converted model is downloaded
|
||||
from the Hugging Face Hub.
|
||||
@@ -914,7 +914,7 @@ class WhisperModel:
|
||||
words, word_tokens, start_times, end_times, word_probabilities
|
||||
)
|
||||
]
|
||||
|
||||
|
||||
def destroy(self):
|
||||
del self.model
|
||||
|
||||
|
||||
Reference in New Issue
Block a user