Skip to content

Commit

Permalink
Change default whisper model to large-v3.
Browse files Browse the repository at this point in the history
  • Loading branch information
zh-plus committed Dec 24, 2023
1 parent c50827a commit dacd5f1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions openlrc/openlrc.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
class LRCer:
"""
:param model_name: Name of whisper model (tiny, tiny.en, base, base.en, small, small.en, medium,
medium.en, large-v1, or large-v2) When a size is configured, the converted model is downloaded
medium.en, large-v1, large-v2, large-v3) When a size is configured, the converted model is downloaded
from the Hugging Face Hub.
Default: ``large-v2``
Default: ``large-v3``
:param compute_type: The type of computation to use. Can be ``int8``, ``int8_float16``, ``int16``,
``float16`` or ``float32``.
Default: ``float16``
Expand All @@ -39,7 +39,7 @@ class LRCer:
:param vad_options: Parameters for VAD model.
"""

def __init__(self, model_name='large-v2', compute_type='float16', fee_limit=0.1, consumer_thread=11,
def __init__(self, model_name='large-v3', compute_type='float16', fee_limit=0.1, consumer_thread=11,
asr_options=None, vad_options=None, preprocess_options=None):
self.fee_limit = fee_limit
self.api_fee = 0 # Can be updated in different thread, operation should be thread-safe
Expand Down

0 comments on commit dacd5f1

Please sign in to comment.