Skip to content

Commit

Permalink
[paraformer] make length_normalized_loss false
Browse files Browse the repository at this point in the history
  • Loading branch information
Mddct committed Jan 8, 2024
1 parent 14352a4 commit fb17604
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ def convert_to_wenet_yaml(configs, wenet_yaml_path: str,
configs['max_epoch'] = 100
configs['log_interval'] = 100

configs['model_conf']['length_normalized_loss'] = False

with open(wenet_yaml_path, '+w') as f:
f.write(yaml.dump(configs))
f.flush()
Expand Down

0 comments on commit fb17604

Please sign in to comment.