Adel-Moumen commited on
Commit
7d76fff
·
verified ·
1 Parent(s): 195f06e

Update hyperparams.yaml

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +0 -16
hyperparams.yaml CHANGED
@@ -18,14 +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
@@ -46,26 +38,18 @@ whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
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
 
22
  # Decoding parameters
23
  min_decode_ratio: 0.0
 
38
  encoder_only: False
39
 
40
 
 
41
  decoder: !new:speechbrain.decoders.seq2seq.S2SWhisperGreedySearcher
42
  model: !ref <whisper>
 
 
43
  min_decode_ratio: !ref <min_decode_ratio>
44
  max_decode_ratio: !ref <max_decode_ratio>
45
 
46
  # test_beam_searcher: !new:speechbrain.decoders.seq2seq.S2SWhisperBeamSearcher
47
  # module: [!ref <whisper>]
 
 
48
  # min_decode_ratio: !ref <min_decode_ratio>
49
  # max_decode_ratio: !ref <max_decode_ratio>
50
  # beam_size: !ref <test_beam_size>
51
 
52
 
 
 
 
53
  modules:
54
  whisper: !ref <whisper>
55
  decoder: !ref <decoder>