Porjaz commited on
Commit
2b61326
·
verified ·
1 Parent(s): 1f6b0bb

Update hyperparams.yaml

Browse files
Files changed (1) hide show
  1. hyperparams.yaml +8 -10
hyperparams.yaml CHANGED
@@ -4,11 +4,11 @@ HPARAMS_NEEDED: ["wav2vec_output_dim", "emb_size", "dec_neurons", "dec_layers",
4
  MODULES_NEEDED: ["encoder_w2v2", "embedding", "ctc_lin", "seq_lin"]
5
 
6
  # Pretrain folder (HuggingFace)
7
- output_folder: !ref output_folder_seq2seq_cv_podcast_arhiv_augmentation_128_emb_5000_vocab
8
  pretrained_path: Porjaz/wav2vec2-aed-macedonian-asr
9
  wav2vec2_hub: facebook/wav2vec2-large-xlsr-53
10
- save_folder: !ref <output_folder>/save
11
- wav2vec2_folder: !ref <save_folder>/wav2vec2_checkpoint
12
 
13
  ####################### Training Parameters ####################################
14
 
@@ -25,22 +25,20 @@ bos_index: 0
25
  eos_index: 0
26
  unk_index: 0
27
 
 
28
  # Decoding parameters
29
  min_decode_ratio: 0.0
30
  max_decode_ratio: 1.0
31
  valid_beam_size: 10
32
- test_beam_size: 10
33
  using_eos_threshold: True
34
  eos_threshold: 1.5
35
  using_max_attn_shift: True
36
- max_attn_shift: 300
 
37
  temperature: 1.0
38
- ctc_window_size: 200
39
- temperature_lm: 1.25
40
  # Scoring parameters
41
- ctc_weight_decode: 0.0
42
  coverage_penalty: 1.5
43
- lm_weight: 0.0
44
 
45
 
46
  # Wav2vec2 encoder
@@ -109,7 +107,7 @@ test_search: !new:speechbrain.decoders.S2SRNNBeamSearcher
109
  using_max_attn_shift: !ref <using_max_attn_shift>
110
  max_attn_shift: !ref <max_attn_shift>
111
  temperature: !ref <temperature>
112
- #scorer: !ref <scorer>
113
 
114
 
115
  ############################## Logging and Pretrainer ##########################
 
4
  MODULES_NEEDED: ["encoder_w2v2", "embedding", "ctc_lin", "seq_lin"]
5
 
6
  # Pretrain folder (HuggingFace)
7
+ # output_folder: !ref output_folder_seq2seq_cv_podcast_arhiv_augmentation_128_emb_5000_vocab
8
  pretrained_path: Porjaz/wav2vec2-aed-macedonian-asr
9
  wav2vec2_hub: facebook/wav2vec2-large-xlsr-53
10
+ # save_folder: !ref <output_folder>/save
11
+ # wav2vec2_folder: !ref <save_folder>/wav2vec2_checkpoint
12
 
13
  ####################### Training Parameters ####################################
14
 
 
25
  eos_index: 0
26
  unk_index: 0
27
 
28
+ # Decoding parameters
29
  # Decoding parameters
30
  min_decode_ratio: 0.0
31
  max_decode_ratio: 1.0
32
  valid_beam_size: 10
33
+ test_beam_size: 20
34
  using_eos_threshold: True
35
  eos_threshold: 1.5
36
  using_max_attn_shift: True
37
+ max_attn_shift: 700
38
+ length_normalization: True
39
  temperature: 1.0
 
 
40
  # Scoring parameters
 
41
  coverage_penalty: 1.5
 
42
 
43
 
44
  # Wav2vec2 encoder
 
107
  using_max_attn_shift: !ref <using_max_attn_shift>
108
  max_attn_shift: !ref <max_attn_shift>
109
  temperature: !ref <temperature>
110
+ scorer: !ref <scorer>
111
 
112
 
113
  ############################## Logging and Pretrainer ##########################