Adel-Moumen commited on
Commit
b3c38b8
·
verified ·
1 Parent(s): e5977e7

Update hyperparams.yaml

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +0 -20
hyperparams.yaml CHANGED
@@ -12,21 +12,11 @@ whisper_hub: openai/whisper-medium
12
  # the same normalization done in the paper. Refer to Appendix C for further information.
13
  normalized_transcripts: True
14
 
15
-
16
  language: hindi
17
 
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: 0.1
@@ -36,8 +26,6 @@ test_beam_size: 8
36
  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>
@@ -46,26 +34,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>
 
12
  # the same normalization done in the paper. Refer to Appendix C for further information.
13
  normalized_transcripts: True
14
 
 
15
  language: hindi
16
 
17
  auto_mix_prec: False
18
  sample_rate: 16000
19
 
 
 
 
 
 
 
 
 
 
20
  # Decoding parameters
21
  min_decode_ratio: 0.0
22
  max_decode_ratio: 0.1
 
26
  freeze_whisper: True
27
  freeze_encoder: True
28
 
 
 
29
  whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
30
  source: !ref <whisper_hub>
31
  freeze: !ref <freeze_whisper>
 
34
  encoder_only: False
35
 
36
 
 
37
  decoder: !new:speechbrain.decoders.seq2seq.S2SWhisperGreedySearcher
38
  model: !ref <whisper>
 
 
39
  min_decode_ratio: !ref <min_decode_ratio>
40
  max_decode_ratio: !ref <max_decode_ratio>
41
 
42
  # test_beam_searcher: !new:speechbrain.decoders.seq2seq.S2SWhisperBeamSearcher
43
  # module: [!ref <whisper>]
 
 
44
  # min_decode_ratio: !ref <min_decode_ratio>
45
  # max_decode_ratio: !ref <max_decode_ratio>
46
  # beam_size: !ref <test_beam_size>
47
 
48
 
 
 
 
49
  modules:
50
  whisper: !ref <whisper>
51
  decoder: !ref <decoder>