Adel-Moumen commited on
Commit
765523d
1 Parent(s): 313461b

Update hyperparams.yaml

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +0 -19
hyperparams.yaml CHANGED
@@ -18,15 +18,6 @@ language: arabic
18
  auto_mix_prec: False
19
  sample_rate: 16000
20
 
21
- # These values are only used for the searchers.
22
- # They needs to be hardcoded and should not be changed with Whisper.
23
- # They are used as part of the searching process.
24
- # The bos token of the searcher will be timestamp_index
25
- # and will be concatenated with the bos, language and task tokens.
26
- timestamp_index: 50363
27
- eos_index: 50257
28
- bos_index: 50258
29
-
30
  # Decoding parameters
31
  min_decode_ratio: 0.0
32
  max_decode_ratio: 1.0
@@ -37,7 +28,6 @@ freeze_whisper: True
37
  freeze_encoder: True
38
 
39
 
40
-
41
  whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
42
  source: !ref <whisper_hub>
43
  freeze: !ref <freeze_whisper>
@@ -45,27 +35,18 @@ whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
45
  save_path: whisper_checkpoints
46
  encoder_only: False
47
 
48
-
49
-
50
  decoder: !new:speechbrain.decoders.seq2seq.S2SWhisperGreedySearcher
51
  model: !ref <whisper>
52
- bos_index: !ref <timestamp_index>
53
- eos_index: !ref <eos_index>
54
  min_decode_ratio: !ref <min_decode_ratio>
55
  max_decode_ratio: !ref <max_decode_ratio>
56
 
57
  # test_beam_searcher: !new:speechbrain.decoders.seq2seq.S2SWhisperBeamSearcher
58
  # module: [!ref <whisper>]
59
- # bos_index: !ref <timestamp_index>
60
- # eos_index: !ref <eos_index>
61
  # min_decode_ratio: !ref <min_decode_ratio>
62
  # max_decode_ratio: !ref <max_decode_ratio>
63
  # beam_size: !ref <test_beam_size>
64
 
65
 
66
-
67
-
68
-
69
  modules:
70
  whisper: !ref <whisper>
71
  decoder: !ref <decoder>
 
18
  auto_mix_prec: False
19
  sample_rate: 16000
20
 
 
 
 
 
 
 
 
 
 
21
  # Decoding parameters
22
  min_decode_ratio: 0.0
23
  max_decode_ratio: 1.0
 
28
  freeze_encoder: True
29
 
30
 
 
31
  whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
32
  source: !ref <whisper_hub>
33
  freeze: !ref <freeze_whisper>
 
35
  save_path: whisper_checkpoints
36
  encoder_only: False
37
 
 
 
38
  decoder: !new:speechbrain.decoders.seq2seq.S2SWhisperGreedySearcher
39
  model: !ref <whisper>
 
 
40
  min_decode_ratio: !ref <min_decode_ratio>
41
  max_decode_ratio: !ref <max_decode_ratio>
42
 
43
  # test_beam_searcher: !new:speechbrain.decoders.seq2seq.S2SWhisperBeamSearcher
44
  # module: [!ref <whisper>]
 
 
45
  # min_decode_ratio: !ref <min_decode_ratio>
46
  # max_decode_ratio: !ref <max_decode_ratio>
47
  # beam_size: !ref <test_beam_size>
48
 
49
 
 
 
 
50
  modules:
51
  whisper: !ref <whisper>
52
  decoder: !ref <decoder>