|
|
|
whisper_hub: openai/whisper-tiny |
|
|
|
|
|
|
|
normalized_transcripts: True |
|
|
|
|
|
language: english |
|
|
|
auto_mix_prec: False |
|
sample_rate: 16000 |
|
|
|
|
|
|
|
|
|
|
|
|
|
timestamp_index: 50363 |
|
eos_index: 50257 |
|
bos_index: 50258 |
|
|
|
|
|
min_decode_ratio: 0.0 |
|
max_decode_ratio: 1.0 |
|
test_beam_size: 8 |
|
|
|
|
|
freeze_whisper: True |
|
freeze_encoder: True |
|
|
|
|
|
whisper: !new:speechbrain.lobes.models.huggingface_whisper.HuggingFaceWhisper |
|
source: !ref <whisper_hub> |
|
freeze: !ref <freeze_whisper> |
|
freeze_encoder: !ref <freeze_encoder> |
|
save_path: whisper_checkpoints |
|
encoder_only: False |
|
|
|
|
|
decoder: !new:speechbrain.decoders.seq2seq.S2SWhisperGreedySearch |
|
model: !ref <whisper> |
|
bos_index: !ref <timestamp_index> |
|
eos_index: !ref <eos_index> |
|
min_decode_ratio: !ref <min_decode_ratio> |
|
max_decode_ratio: !ref <max_decode_ratio> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
modules: |
|
whisper: !ref <whisper> |
|
decoder: !ref <decoder> |
|
|
|
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer |
|
loadables: |
|
whisper: !ref <whisper> |
|
paths: |
|
whisper: !ref <whisper_hub>/pytorch_model.bin |
|
|