Porjaz commited on
Commit
e2e430e
1 Parent(s): 2260f5b

Update hyperparams.yalm

Browse files
Files changed (1) hide show
  1. hyperparams.yalm +4 -4
hyperparams.yalm CHANGED
@@ -52,7 +52,7 @@ encoder_dims: 768
52
  n_classes: 5
53
 
54
  # Wav2vec2 encoder
55
- wav2vec2: !new:speechbrain.lobes.models.huggingface_wav2vec.HuggingFaceWav2Vec2
56
  source: !ref <wav2vec2_hub>
57
  output_norm: True
58
  freeze: !ref <freeze_wav2vec2>
@@ -65,7 +65,7 @@ avg_pool: !new:speechbrain.nnet.pooling.StatisticsPooling
65
  return_std: False
66
 
67
 
68
- label_lin: !new:speechbrain.nnet.linear.Linear
69
  input_size: !ref <encoder_dims>
70
  n_neurons: !ref <n_classes>
71
  bias: False
@@ -121,8 +121,8 @@ lr_annealing_wav2vec2: !new:speechbrain.nnet.schedulers.NewBobScheduler
121
  checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer
122
  checkpoints_dir: !ref <save_folder>
123
  recoverables:
124
- model: !ref <model>
125
- wav2vec2: !ref <wav2vec2>
126
  lr_annealing_output: !ref <lr_annealing>
127
  lr_annealing_wav2vec2: !ref <lr_annealing_wav2vec2>
128
  counter: !ref <epoch_counter>
 
52
  n_classes: 5
53
 
54
  # Wav2vec2 encoder
55
+ embedding_model: !new:speechbrain.lobes.models.huggingface_wav2vec.HuggingFaceWav2Vec2
56
  source: !ref <wav2vec2_hub>
57
  output_norm: True
58
  freeze: !ref <freeze_wav2vec2>
 
65
  return_std: False
66
 
67
 
68
+ classifier: !new:speechbrain.nnet.linear.Linear
69
  input_size: !ref <encoder_dims>
70
  n_neurons: !ref <n_classes>
71
  bias: False
 
121
  checkpointer: !new:speechbrain.utils.checkpoints.Checkpointer
122
  checkpoints_dir: !ref <save_folder>
123
  recoverables:
124
+ model: !ref <classifier>
125
+ wav2vec2: !ref <embedding_model>
126
  lr_annealing_output: !ref <lr_annealing>
127
  lr_annealing_wav2vec2: !ref <lr_annealing_wav2vec2>
128
  counter: !ref <epoch_counter>