Demo / configs /default_parameters.yaml
LAP-DEV's picture
Update configs/default_parameters.yaml
ae1bb1b verified
raw
history blame
1.9 kB
general:
website_title: "Speech2text"
website_subtitle: "Automatic speech recognition using Whisper"
disclaimer_show: true
disclaimer_popup: false
disclaimer_text: "Warning: This service is provided as is, please read the disclaimer [here](https://huggingface.co/spaces/LAP-DEV/Demo/blob/main/README.md) before use as well as for more information."
whisper:
model_size: "large-v3"
lang: "Automatic Detection"
is_translate: false
beam_size: 5
log_prob_threshold: -1
no_speech_threshold: 0.6
best_of: 5
patience: 1
condition_on_previous_text: true
prompt_reset_on_temperature: 0.5
initial_prompt: null
temperature: 0
compression_ratio_threshold: 2.4
chunk_length: 30
batch_size: 24
length_penalty: 1
repetition_penalty: 1
no_repeat_ngram_size: 0
prefix: null
suppress_blank: true
suppress_tokens: "[-1]"
max_initial_timestamp: 1
word_timestamps: false
prepend_punctuations: "\"'“¿([{-"
append_punctuations: "\"'.。,,!!??::”)]}、"
max_new_tokens: null
hallucination_silence_threshold: null
hotwords: null
language_detection_threshold: 0.5
language_detection_segments: 1
add_timestamp_preview: false
add_timestamp_file: false
enable_offload: true
vad:
vad_filter: false
threshold: 0.5
min_speech_duration_ms: 250
max_speech_duration_s: 9999
min_silence_duration_ms: 1000
speech_pad_ms: 2000
diarization:
is_diarize: false
hf_token: ""
enable_offload: true
bgm_separation:
is_separate_bgm: false
model_size: "UVR-MDX-NET-Inst_HQ_4"
segment_size: 256
save_file: false
enable_offload: true
translation:
deepl:
api_key: ""
is_pro: false
source_lang: "Automatic Detection"
target_lang: "English"
nllb:
model_size: "facebook/nllb-200-distilled-1.3B"
source_lang: null
target_lang: "Dutch"
max_length: 200
add_timestamp: true
translate_output: false