Titouan
commited on
Commit
·
da3c41d
1
Parent(s):
e8b63e8
hparams
Browse files- hyperparams.yaml +5 -7
hyperparams.yaml
CHANGED
@@ -73,12 +73,6 @@ seq_lin: !new:speechbrain.nnet.linear.Linear
|
|
73 |
input_size: !ref <d_model>
|
74 |
n_neurons: !ref <output_neurons>
|
75 |
|
76 |
-
asr_encoder: !new:torch.nn.ModuleList
|
77 |
-
- [!ref <CNN>, !ref <Transformer>]
|
78 |
-
|
79 |
-
asr_model: !new:torch.nn.ModuleList
|
80 |
-
- [!ref <CNN>, !ref <Transformer>, !ref <seq_lin>, !ref <ctc_lin>]
|
81 |
-
|
82 |
beam_searcher: !new:speechbrain.decoders.S2STransformerBeamSearch
|
83 |
modules: [!ref <Transformer>, !ref <seq_lin>, !ref <ctc_lin>]
|
84 |
bos_index: !ref <bos_index>
|
@@ -124,8 +118,12 @@ lm_model: !new:speechbrain.lobes.models.transformer.TransformerLM.TransformerLM
|
|
124 |
|
125 |
tokenizer: !new:sentencepiece.SentencePieceProcessor
|
126 |
|
|
|
|
|
|
|
|
|
127 |
asr_model: !new:torch.nn.ModuleList
|
128 |
-
|
129 |
|
130 |
modules:
|
131 |
compute_features: !ref <compute_features>
|
|
|
73 |
input_size: !ref <d_model>
|
74 |
n_neurons: !ref <output_neurons>
|
75 |
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
beam_searcher: !new:speechbrain.decoders.S2STransformerBeamSearch
|
77 |
modules: [!ref <Transformer>, !ref <seq_lin>, !ref <ctc_lin>]
|
78 |
bos_index: !ref <bos_index>
|
|
|
118 |
|
119 |
tokenizer: !new:sentencepiece.SentencePieceProcessor
|
120 |
|
121 |
+
# Models
|
122 |
+
asr_encoder: !new:torch.nn.ModuleList
|
123 |
+
- [!ref <CNN>, !ref <Transformer>]
|
124 |
+
|
125 |
asr_model: !new:torch.nn.ModuleList
|
126 |
+
- [!ref <CNN>, !ref <Transformer>, !ref <seq_lin>, !ref <ctc_lin>]
|
127 |
|
128 |
modules:
|
129 |
compute_features: !ref <compute_features>
|