mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-17 02:12:55 +02:00
Add different defaults whisper
This commit is contained in:
@@ -42,6 +42,9 @@ spec:
|
||||
name: app-claim0
|
||||
- mountPath: /Whisper-WebUI/outputs
|
||||
name: app-claim1
|
||||
- name: config-volume
|
||||
mountPath: /Whisper-WebUI/configs/default_parameters.yaml
|
||||
subPath: default_parameters.yaml
|
||||
restartPolicy: Always
|
||||
volumes:
|
||||
- name: app-claim0
|
||||
@@ -50,3 +53,6 @@ spec:
|
||||
- name: app-claim1
|
||||
persistentVolumeClaim:
|
||||
claimName: app-claim1
|
||||
- name: config-volume
|
||||
configMap:
|
||||
name: whisper-webui-config
|
||||
|
||||
@@ -0,0 +1,73 @@
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
name: whisper-webui-config
|
||||
data:
|
||||
default_parameters.yaml: |
|
||||
whisper:
|
||||
model_size: "large-v3"
|
||||
file_format: "SRT"
|
||||
lang: "dutch"
|
||||
is_translate: false
|
||||
beam_size: 5
|
||||
log_prob_threshold: -0.8
|
||||
no_speech_threshold: 0.7
|
||||
best_of: 5
|
||||
patience: 1
|
||||
condition_on_previous_text: true
|
||||
prompt_reset_on_temperature: 0.5
|
||||
initial_prompt: "Dit is een zakelijke algemene leden vergadering in het Nederlands op studentenroeivereniging Phocas."
|
||||
temperature: 0
|
||||
compression_ratio_threshold: 2.0
|
||||
chunk_length: 30
|
||||
batch_size: 24
|
||||
length_penalty: 1
|
||||
repetition_penalty: 1.2
|
||||
no_repeat_ngram_size: 3
|
||||
prefix: null
|
||||
suppress_blank: true
|
||||
suppress_tokens: "[-1]"
|
||||
max_initial_timestamp: 1
|
||||
word_timestamps: true
|
||||
prepend_punctuations: "\"'“¿([{-"
|
||||
append_punctuations: "\"'.。,,!!??::”)]}、"
|
||||
max_new_tokens: null
|
||||
hallucination_silence_threshold: 0.2
|
||||
hotwords: null
|
||||
language_detection_threshold: 0.8
|
||||
language_detection_segments: 2
|
||||
add_timestamp: true
|
||||
enable_offload: true
|
||||
|
||||
vad:
|
||||
vad_filter: true
|
||||
threshold: 0.6
|
||||
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
|
||||
uvr_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-1.3B"
|
||||
source_lang: null
|
||||
target_lang: null
|
||||
max_length: 200
|
||||
add_timestamp: false
|
||||
Reference in New Issue
Block a user