|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
whisper_hub: openai/whisper-large-v2 |
|
language: german |
|
|
|
|
|
sample_rate: 16000 |
|
freeze_whisper: false |
|
freeze_encoder_only: false |
|
freeze_encoder: true |
|
|
|
|
|
|
|
|
|
|
|
|
|
timestamp_index: 50363 |
|
eos_index: 50257 |
|
bos_index: 50258 |
|
|
|
|
|
min_decode_ratio: 0.0 |
|
max_decode_ratio: 1.0 |
|
test_beam_size: 8 |
|
|
|
num_spks: 1 |
|
|
|
|
|
Encoder: &id004 !new:speechbrain.lobes.models.dual_path.Encoder |
|
kernel_size: 16 |
|
out_channels: 256 |
|
|
|
SBtfintra: &id001 !new:speechbrain.lobes.models.dual_path.SBTransformerBlock |
|
num_layers: 8 |
|
d_model: 256 |
|
nhead: 8 |
|
d_ffn: 1024 |
|
dropout: 0 |
|
use_positional_encoding: true |
|
norm_before: true |
|
|
|
SBtfinter: &id002 !new:speechbrain.lobes.models.dual_path.SBTransformerBlock |
|
num_layers: 8 |
|
d_model: 256 |
|
nhead: 8 |
|
d_ffn: 1024 |
|
dropout: 0 |
|
use_positional_encoding: true |
|
norm_before: true |
|
|
|
MaskNet: &id005 !new:speechbrain.lobes.models.dual_path.Dual_Path_Model |
|
num_spks: 1 |
|
in_channels: 256 |
|
out_channels: 256 |
|
num_layers: 2 |
|
K: 250 |
|
intra_model: *id001 |
|
inter_model: *id002 |
|
norm: ln |
|
linear_layer_after_inter_intra: false |
|
skip_around_intra: true |
|
|
|
|
|
Decoder: &id006 !new:speechbrain.lobes.models.dual_path.Decoder |
|
in_channels: 256 |
|
out_channels: 1 |
|
kernel_size: 16 |
|
stride: 8 |
|
bias: false |
|
|
|
whisper: &id003 !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: *id003 |
|
bos_index: 50363 |
|
eos_index: 50257 |
|
min_decode_ratio: 0.0 |
|
max_decode_ratio: 1.0 |
|
|
|
|
|
pretrainer: !new:speechbrain.utils.parameter_transfer.Pretrainer |
|
loadables: |
|
encoder: !ref <Encoder> |
|
masknet: !ref <MaskNet> |
|
decoder: !ref <Decoder> |
|
whisper: !ref <whisper> |
|
|
|
modules: |
|
encoder: *id004 |
|
masknet: *id005 |
|
decoder: *id006 |
|
whisper: *id003 |
|
|