fix reduction conformer_ctc3/train.py (#908)

This commit is contained in:
Zengwei Yao 2023-02-14 20:45:38 +08:00 committed by GitHub
parent c5e687ddf5
commit 4e832fa6b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -382,7 +382,7 @@ def get_params() -> AttributeDict:
"num_encoder_layers": 12,
# parameters for loss
"beam_size": 10,
"reduction": "sum",
"reduction": "none",
"use_double_scores": True,
# parameters for Noam
"model_warm_step": 3000, # arg given to model, not for lrate