Adel-Moumen commited on
Commit
dd7b809
·
verified ·
1 Parent(s): 89baf96

Update hyperparams.yaml

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +0 -21
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: persian
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
@@ -37,7 +27,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 +34,17 @@ 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>
 
12
  # the same normalization done in the paper. Refer to Appendix C for further information.
13
  normalized_transcripts: True
14
 
 
15
  language: persian
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
 
27
  freeze_encoder: True
28
 
29
 
 
30
  whisper: !new:speechbrain.lobes.models.huggingface_transformers.whisper.Whisper
31
  source: !ref <whisper_hub>
32
  freeze: !ref <freeze_whisper>
 
34
  save_path: whisper_checkpoints
35
  encoder_only: False
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
  modules:
49
  whisper: !ref <whisper>
50
  decoder: !ref <decoder>